Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 230.6 MB / 252.7 MB, free: 8.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 211.9 kB / 309.2 MB, free: 2.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04067/0.04067, allocations: 8.926 MB / 374.6 MB, free: 1.742 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 83.88 kB / 0.4892 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2594, allocations: 55.59 MB / 0.5435 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01759/0.277, allocations: 21.99 MB / 0.5649 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.2902, allocations: 7.771 MB / 0.5725 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003929/0.2941, allocations: 204.5 kB / 0.5727 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01227/0.3064, allocations: 5.719 MB / 0.5783 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.3139, allocations: 2.77 MB / 0.581 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.3179, allocations: 1.607 MB / 0.5826 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009868/0.3277, allocations: 7.381 MB / 0.5898 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01559/0.3433, allocations: 8.992 MB / 0.5986 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006111/0.3494, allocations: 3.849 MB / 0.6023 GB, free: 456 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006801/0.3562, allocations: 4.033 MB / 0.6063 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.3586, allocations: 1.074 MB / 0.6073 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.3627, allocations: 1.445 MB / 0.6087 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.3657, allocations: 2.147 MB / 0.6108 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005702/0.3714, allocations: 3.21 MB / 0.614 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.389, allocations: 14.56 MB / 0.6282 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.389, allocations: 0 / 0.6282 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.389, allocations: 0 / 0.6282 GB, free: 5.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.3893, allocations: 4 kB / 0.6282 GB, free: 5.895 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02457/0.4139, allocations: 8.881 MB / 0.6369 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4139, allocations: 8.031 kB / 0.6369 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00267/0.4166, allocations: 1.044 MB / 0.6379 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02527/0.4419, allocations: 4.428 MB / 0.6422 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.4531, allocations: 4.621 MB / 0.6467 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/0.4536, allocations: 497.1 kB / 0.6472 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.4559, allocations: 0.621 MB / 0.6478 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.4797, allocations: 10.49 MB / 0.658 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.4799, allocations: 7.953 kB / 0.6581 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009035/0.4808, allocations: 271.9 kB / 0.6583 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004823/0.4813, allocations: 421.7 kB / 0.6587 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.5006, allocations: 9.86 MB / 0.6683 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2833/0.7839, allocations: 30.77 MB / 0.6984 GB, free: 101.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.797, allocations: 6.691 MB / 0.7049 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.7997, allocations: 2.108 MB / 0.707 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.8, allocations: 84.42 kB / 0.7071 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.8, allocations: 61.55 kB / 0.7071 GB, free: 101.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.65e-06/0.8, allocations: 0 / 0.7071 GB, free: 101.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.01932/0.8193, allocations: 10.82 MB / 0.7177 GB, free: 98.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.8194, allocations: 83.25 kB / 0.7178 GB, free: 98.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/0.8238, allocations: 3.132 MB / 0.7208 GB, free: 97.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.8241, allocations: 76.42 kB / 0.7209 GB, free: 97.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.8255, allocations: 2.968 MB / 0.7238 GB, free: 95.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/0.8262, allocations: 1.084 MB / 0.7249 GB, free: 94.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.8274, allocations: 0.9235 MB / 0.7258 GB, free: 93.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.8275, allocations: 302.5 kB / 0.7261 GB, free: 93.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/0.8301, allocations: 2.034 MB / 0.728 GB, free: 92.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/0.8333, allocations: 3.752 MB / 0.7317 GB, free: 89.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.8393, allocations: 6.06 MB / 0.7376 GB, free: 85.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/0.8394, allocations: 20.5 kB / 0.7376 GB, free: 85.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.008905/0.8483, allocations: 6.649 MB / 0.7441 GB, free: 82.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.8483, allocations: 26.44 kB / 0.7442 GB, free: 82.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-05/0.8484, allocations: 62.75 kB / 0.7442 GB, free: 82.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.8499, allocations: 0.6663 MB / 0.7449 GB, free: 82.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.8529, allocations: 1.073 MB / 0.7459 GB, free: 82.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/0.8597, allocations: 6.04 MB / 0.7518 GB, free: 79.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.8626, allocations: 272.2 kB / 0.7521 GB, free: 79.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/0.8629, allocations: 237.8 kB / 0.7523 GB, free: 79 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002852/0.8658, allocations: 2.316 MB / 0.7546 GB, free: 77.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005472/0.8663, allocations: 335.5 kB / 0.7549 GB, free: 77.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00612/0.8724, allocations: 4.606 MB / 0.7594 GB, free: 75.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.8724, allocations: 32 kB / 0.7594 GB, free: 75.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8724, allocations: 8 kB / 0.7594 GB, free: 75.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.8725, allocations: 11.95 kB / 0.7594 GB, free: 75.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.8867, allocations: 10.57 MB / 0.7698 GB, free: 64.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.8867, allocations: 4 kB / 0.7698 GB, free: 64.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.8885, allocations: 0.539 MB / 0.7703 GB, free: 64.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.8898, allocations: 0.5653 MB / 0.7708 GB, free: 63.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.89, allocations: 75.91 kB / 0.7709 GB, free: 63.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/0.8957, allocations: 5.262 MB / 0.776 GB, free: 58.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8957, allocations: 8.312 kB / 0.7761 GB, free: 58.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007923/0.9036, allocations: 6.601 MB / 0.7825 GB, free: 51.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/0.9055, allocations: 0.6694 MB / 0.7832 GB, free: 50.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/0.9061, allocations: 56 kB / 0.7832 GB, free: 50.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.9077, allocations: 143.8 kB / 0.7833 GB, free: 50.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/0.9081, allocations: 233.8 kB / 0.7836 GB, free: 50.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.9082, allocations: 87.98 kB / 0.7837 GB, free: 50.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002531/0.9108, allocations: 2.013 MB / 0.7856 GB, free: 48.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.9108, allocations: 0 / 0.7856 GB, free: 48.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004043/0.9148, allocations: 1.176 MB / 0.7868 GB, free: 47.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008104/0.9229, allocations: 7.28 MB / 0.7939 GB, free: 39.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006646/0.9296, allocations: 4.827 MB / 0.7986 GB, free: 34.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.9296, allocations: 0 / 0.7986 GB, free: 34.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.9325, allocations: 2.119 MB / 0.8007 GB, free: 32.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.9356, allocations: 0.6462 MB / 0.8013 GB, free: 32.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05129/0.9869, allocations: 39.05 MB / 0.8394 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004774/0.9917, allocations: 3.656 MB / 0.843 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003696/0.9954, allocations: 1.33 MB / 0.8443 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003865/0.9992, allocations: 2.271 MB / 0.8465 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.9992, allocations: 0 / 0.8465 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3787/1.378, allocations: 91.57 MB / 0.9359 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.34, allocations: 7.344 kB / 0.9359 GB, free: 176.4 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.877696976065636] Failed to read output from testmodel.py, exit status != 0: 16.49869173904881 16.510346377 16.118833858 Calling exit ...