Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001435/0.001435, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.48/1.48, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001668/0.001668, allocations: 211 kB / 306.7 MB, free: 4.285 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.04218/0.04218, allocations: 8.917 MB / 371.7 MB, free: 3.418 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_VCurve1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1",fmuType="cs",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.002481/0.002481, allocations: 87.89 kB / 496.5 MB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2635, allocations: 55.56 MB / 0.5391 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.01988/0.2834, allocations: 25.58 MB / 0.5641 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2974, allocations: 8.061 MB / 0.5719 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004715/0.3021, allocations: 201.3 kB / 0.5721 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01818/0.3203, allocations: 7.733 MB / 0.5797 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3317, allocations: 3.095 MB / 0.5827 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006969/0.3386, allocations: 2.055 MB / 0.5847 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.3523, allocations: 9.315 MB / 0.5938 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02273/0.375, allocations: 12.82 MB / 0.6063 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009661/0.3847, allocations: 4.839 MB / 0.6111 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01122/0.3959, allocations: 5.357 MB / 0.6163 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005753/0.4016, allocations: 1.355 MB / 0.6176 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006903/0.4085, allocations: 1.73 MB / 0.6193 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004402/0.4129, allocations: 2.681 MB / 0.6219 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008988/0.4219, allocations: 5.093 MB / 0.6269 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02406/0.446, allocations: 18.22 MB / 0.6447 GB, free: 1.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.446, allocations: 0 / 0.6447 GB, free: 1.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.446, allocations: 0 / 0.6447 GB, free: 1.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004223/0.4464, allocations: 0 / 0.6447 GB, free: 1.641 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03186/0.4783, allocations: 10.97 MB / 0.6554 GB, free: 6.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4783, allocations: 8.031 kB / 0.6554 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000276/0.4786, allocations: 244 kB / 0.6556 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003598/0.4822, allocations: 1.268 MB / 0.6569 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03311/0.5153, allocations: 5.668 MB / 0.6624 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.5284, allocations: 5.838 MB / 0.6681 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006093/0.529, allocations: 0.5781 MB / 0.6687 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/0.5317, allocations: 0.7733 MB / 0.6694 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03063/0.5623, allocations: 12.81 MB / 0.682 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002662/0.5625, allocations: 15.84 kB / 0.682 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/0.5643, allocations: 328 kB / 0.6823 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005608/0.5649, allocations: 0.4929 MB / 0.6828 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4549/1.02, allocations: 12.31 MB / 0.6948 GB, free: 106.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06233/1.082, allocations: 45.21 MB / 0.7389 GB, free: 78.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/1.102, allocations: 24.83 MB / 0.7632 GB, free: 55.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004775/1.107, allocations: 2.742 MB / 0.7659 GB, free: 53.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/1.107, allocations: 349 kB / 0.7662 GB, free: 53.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003444/1.111, allocations: 2.608 MB / 0.7687 GB, free: 51.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=399): time 5.53e-06/1.111, allocations: 3.906 kB / 0.7687 GB, free: 51.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=482): time 0.05693/1.168, allocations: 29.29 MB / 0.7973 GB, free: 28.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02434/1.192, allocations: 18.93 MB / 0.8158 GB, free: 9.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.197, allocations: 3.53 MB / 0.8193 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007027/1.197, allocations: 105.7 kB / 0.8194 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.199, allocations: 3.495 MB / 0.8228 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.2, allocations: 1.71 MB / 0.8245 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.202, allocations: 1.209 MB / 0.8256 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.202, allocations: 309.1 kB / 0.8259 GB, free: 15.16 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005605/1.208, allocations: 2.999 MB / 0.8289 GB, free: 12.15 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007777/1.216, allocations: 5.009 MB / 0.8338 GB, free: 6.262 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/1.23, allocations: 8.517 MB / 0.8421 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.771e-05/1.23, allocations: 16 kB / 0.8421 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.02155/1.251, allocations: 10.12 MB / 0.852 GB, free: 2.582 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/1.251, allocations: 57.7 kB / 0.852 GB, free: 2.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.252, allocations: 60 kB / 0.8521 GB, free: 2.461 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/1.257, allocations: 2.015 MB / 0.8541 GB, free: 456 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005236/1.263, allocations: 1.33 MB / 0.8553 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02965/1.292, allocations: 18.4 MB / 0.8733 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/1.297, allocations: 391.8 kB / 0.8737 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009735/1.298, allocations: 295.9 kB / 0.874 GB, free: 11.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 690 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(10,48,53.0%), (10,48,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00563/1.304, allocations: 2.988 MB / 0.8769 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.305, allocations: 441.2 kB / 0.8773 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.321, allocations: 8.165 MB / 0.8853 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-05/1.321, allocations: 52 kB / 0.8853 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.321, allocations: 15.98 kB / 0.8854 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.671e-05/1.322, allocations: 23.91 kB / 0.8854 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04343/1.365, allocations: 22.59 MB / 0.9074 GB, free: 9.309 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.365, allocations: 4.031 kB / 0.9074 GB, free: 9.305 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.368, allocations: 0.7333 MB / 0.9082 GB, free: 8.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005798/1.374, allocations: 1.931 MB / 0.91 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006044/1.375, allocations: 104 kB / 0.9101 GB, free: 6.527 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2593/1.634, allocations: 17.06 MB / 0.9268 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03329/1.667, allocations: 17.22 MB / 0.9436 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/1.689, allocations: 11.33 MB / 0.9547 GB, free: 171 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.692, allocations: 1.048 MB / 0.9557 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007867/1.693, allocations: 88.61 kB / 0.9558 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.695, allocations: 222 kB / 0.956 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/1.696, allocations: 349.4 kB / 0.9563 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/1.697, allocations: 134.3 kB / 0.9565 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003894/1.7, allocations: 2.369 MB / 0.9588 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.7, allocations: 1.469 kB / 0.9588 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006641/1.707, allocations: 1.704 MB / 0.9604 GB, free: 169.3 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 ($STATESET1.x,smee.rotorCage.port_p.reference.gamma,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,40,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01794/1.725, allocations: 12.06 MB / 0.9722 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.738, allocations: 7.923 MB / 0.98 GB, free: 160.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.738, allocations: 5.688 kB / 0.98 GB, free: 160.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006726/1.744, allocations: 4.07 MB / 0.9839 GB, free: 156.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/1.748, allocations: 0.8427 MB / 0.9848 GB, free: 155.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07311/1.821, allocations: 54.64 MB / 1.038 GB, free: 100.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/1.826, allocations: 5.209 MB / 1.043 GB, free: 95.31 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003945/1.83, allocations: 1.636 MB / 1.045 GB, free: 93.67 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003619/1.833, allocations: 2.901 MB / 1.048 GB, free: 90.77 MB / 0.5763 GB Notification: Performance of SimCode: time 1.323e-06/1.833, allocations: 0 / 1.048 GB, free: 90.77 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/2.231, allocations: 135 MB / 1.18 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.07/26.3, allocations: 4.812 kB / 1.18 GB, free: 168.5 MB / 0.5763 GB " [Timeout remaining time 633] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1_fmu --startTime=0 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.32783827901585] Failed to read output from testmodel.py, exit status != 0: 26.52234047296224 26.531658266 26.083121985 Calling exit ...