Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.001501/0.001501, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] 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.00169/0.00169, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.688/1.688, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1903/0.1903, allocations: 38.55 MB / 352.5 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") [Timeout 660] "Notification: PowerSystems 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.002429/0.002429, allocations: 67.89 kB / 493 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3957, allocations: 62.46 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.008163/0.4039, allocations: 5.159 MB / 0.5475 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004632/0.4085, allocations: 2.176 MB / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.4092, allocations: 36.94 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.4103, allocations: 270.4 kB / 0.5499 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.4113, allocations: 348.1 kB / 0.5502 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.4127, allocations: 0.5117 MB / 0.5507 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.4141, allocations: 1.079 MB / 0.5518 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009314/0.415, allocations: 0.5385 MB / 0.5523 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.4158, allocations: 442.3 kB / 0.5527 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.4163, allocations: 367.8 kB / 0.5531 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.4165, allocations: 85.19 kB / 0.5531 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006729/0.4171, allocations: 314.5 kB / 0.5534 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4174, allocations: 229.7 kB / 0.5537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.4178, allocations: 304.3 kB / 0.554 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.4194, allocations: 1.102 MB / 0.555 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4194, allocations: 0 / 0.555 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4194, allocations: 0 / 0.555 GB, free: 6.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4194, allocations: 5.156 kB / 0.555 GB, free: 6.922 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002512/0.422, allocations: 1.084 MB / 0.5561 GB, free: 6.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.422, allocations: 12.77 kB / 0.5561 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.423, allocations: 172.1 kB / 0.5563 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.4242, allocations: 0.5435 MB / 0.5568 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.4243, allocations: 45.69 kB / 0.5568 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4244, allocations: 64.33 kB / 0.5569 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.4259, allocations: 0.8309 MB / 0.5577 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.426, allocations: 7.938 kB / 0.5577 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.426, allocations: 20 kB / 0.5577 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.4261, allocations: 37.3 kB / 0.5578 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.4274, allocations: 0.6452 MB / 0.5584 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.4319, allocations: 2.556 MB / 0.5609 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.4334, allocations: 0.6263 MB / 0.5615 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.434, allocations: 239 kB / 0.5617 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.434, allocations: 8.438 kB / 0.5618 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.4341, allocations: 46.94 kB / 0.5618 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.4341, allocations: 0 / 0.5618 GB, free: 128 kB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.001889/0.4359, allocations: 0.7409 MB / 0.5625 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.4361, allocations: 137 kB / 0.5627 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.4369, allocations: 0.5036 MB / 0.5631 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.4369, allocations: 41.7 kB / 0.5632 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.4372, allocations: 364.7 kB / 0.5635 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.4375, allocations: 190.4 kB / 0.5637 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.4377, allocations: 110.2 kB / 0.5638 GB, free: 13.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.4379, allocations: 370.8 kB / 0.5642 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.4385, allocations: 227.4 kB / 0.5644 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.4392, allocations: 417.8 kB / 0.5648 GB, free: 12.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.4404, allocations: 0.5851 MB / 0.5654 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4404, allocations: 4 kB / 0.5654 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001946/0.4423, allocations: 0.8098 MB / 0.5662 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4423, allocations: 8 kB / 0.5662 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.4423, allocations: 4 kB / 0.5662 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.4428, allocations: 108.8 kB / 0.5663 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.4434, allocations: 144.2 kB / 0.5664 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.4466, allocations: 2.278 MB / 0.5686 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.4471, allocations: 79.69 kB / 0.5687 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.4472, allocations: 24 kB / 0.5687 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007697/0.4479, allocations: 381.3 kB / 0.5691 GB, free: 8.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000686/0.4486, allocations: 405.7 kB / 0.5695 GB, free: 7.871 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001103/0.4497, allocations: 0.5578 MB / 0.57 GB, free: 7.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.4497, allocations: 0 / 0.57 GB, free: 7.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001564/0.4513, allocations: 0.7396 MB / 0.5707 GB, free: 6.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4513, allocations: 4 kB / 0.5707 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4513, allocations: 4 kB / 0.5708 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.4516, allocations: 96.8 kB / 0.5708 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.4522, allocations: 140.2 kB / 0.571 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.4546, allocations: 2.08 MB / 0.573 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.4551, allocations: 75.69 kB / 0.5731 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.4552, allocations: 31.94 kB / 0.5731 GB, free: 3.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.4554, allocations: 216 kB / 0.5733 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.4555, allocations: 59.62 kB / 0.5734 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.457, allocations: 0.5959 MB / 0.574 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.457, allocations: 4 kB / 0.574 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.457, allocations: 0 / 0.574 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.457, allocations: 11.92 kB / 0.574 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.4593, allocations: 1.154 MB / 0.5751 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4593, allocations: 0 / 0.5751 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.4599, allocations: 119.8 kB / 0.5752 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4599, allocations: 0 / 0.5752 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.4599, allocations: 16 kB / 0.5752 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.4599, allocations: 7.938 kB / 0.5752 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4599, allocations: 0 / 0.5752 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.4618, allocations: 0.9534 MB / 0.5762 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.4621, allocations: 111.5 kB / 0.5763 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.4622, allocations: 12 kB / 0.5763 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.4626, allocations: 47.98 kB / 0.5763 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4627, allocations: 44.3 kB / 0.5764 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.4627, allocations: 15.98 kB / 0.5764 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006127/0.4633, allocations: 354.8 kB / 0.5767 GB, free: 220 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4633, allocations: 0 / 0.5767 GB, free: 220 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4645, allocations: 287.3 kB / 0.577 GB, free: 15.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.4646, allocations: 115.1 kB / 0.5771 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.4669, allocations: 1.107 MB / 0.5782 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4669, allocations: 1.062 kB / 0.5782 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.4676, allocations: 266.3 kB / 0.5784 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.4683, allocations: 141.3 kB / 0.5786 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.4712, allocations: 1.506 MB / 0.5801 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.4717, allocations: 354.7 kB / 0.5804 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000461/0.4721, allocations: 116.4 kB / 0.5805 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4723, allocations: 43.42 kB / 0.5805 GB, free: 12.23 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4723, allocations: 0 / 0.5805 GB, free: 12.23 MB / 430.1 MB Notification: Performance of Templates: time 0.01774/0.49, allocations: 8.644 MB / 0.589 GB, free: 3.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.851116564124823] Failed to read output from testmodel.py, exit status != 0: 0.4997549820691347 0.515794727 0.092817803 Calling exit ...