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.001979/0.001979, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001622/0.001622, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1863/0.1863, allocations: 38.54 MB / 353.2 MB, free: 12.63 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.002163/0.002163, allocations: 67.89 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3927, allocations: 62.47 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007967/0.4007, allocations: 5.617 MB / 0.5487 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.4053, allocations: 2.309 MB / 0.551 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.4059, allocations: 37.5 kB / 0.551 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.407, allocations: 281.2 kB / 0.5513 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.4081, allocations: 344.9 kB / 0.5516 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.4094, allocations: 0.5227 MB / 0.5521 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.4108, allocations: 1.075 MB / 0.5532 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008488/0.4116, allocations: 0.5562 MB / 0.5537 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.4124, allocations: 424.8 kB / 0.5541 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.413, allocations: 419.6 kB / 0.5545 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.4131, allocations: 86.5 kB / 0.5546 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.4138, allocations: 365.7 kB / 0.5549 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.4141, allocations: 221.7 kB / 0.5551 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.4145, allocations: 396.6 kB / 0.5555 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.416, allocations: 1.093 MB / 0.5566 GB, free: 6.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.416, allocations: 0 / 0.5566 GB, free: 6.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.416, allocations: 0 / 0.5566 GB, free: 6.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.416, allocations: 1.094 kB / 0.5566 GB, free: 6.301 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.002291/0.4183, allocations: 1.097 MB / 0.5577 GB, free: 5.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4183, allocations: 13.42 kB / 0.5577 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008787/0.4192, allocations: 163.1 kB / 0.5578 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.4203, allocations: 0.5398 MB / 0.5584 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.4204, allocations: 53.67 kB / 0.5584 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4205, allocations: 68.31 kB / 0.5585 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.4219, allocations: 0.7768 MB / 0.5592 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4219, allocations: 0 / 0.5592 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.422, allocations: 27.92 kB / 0.5593 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.422, allocations: 37.25 kB / 0.5593 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.4234, allocations: 0.6608 MB / 0.5599 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004421/0.4278, allocations: 2.832 MB / 0.5627 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.4294, allocations: 0.6318 MB / 0.5633 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.4299, allocations: 239 kB / 0.5636 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.43, allocations: 8.375 kB / 0.5636 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.43, allocations: 39 kB / 0.5636 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 1.964e-06/0.43, allocations: 0 / 0.5636 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.001804/0.4318, allocations: 0.7565 MB / 0.5643 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.4319, allocations: 137 kB / 0.5645 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.4328, allocations: 0.579 MB / 0.565 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.4328, allocations: 33.7 kB / 0.5651 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.4331, allocations: 357 kB / 0.5654 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4333, allocations: 194.3 kB / 0.5656 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4335, allocations: 102.4 kB / 0.5657 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.4337, allocations: 378.8 kB / 0.5661 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.4342, allocations: 231.3 kB / 0.5663 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.4349, allocations: 366.4 kB / 0.5666 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4361, allocations: 0.585 MB / 0.5672 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4361, allocations: 0 / 0.5672 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001906/0.438, allocations: 0.8137 MB / 0.568 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.438, allocations: 8.406 kB / 0.568 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.438, allocations: 12 kB / 0.568 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/0.4385, allocations: 108.8 kB / 0.5681 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.4391, allocations: 147.7 kB / 0.5683 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.4423, allocations: 2.309 MB / 0.5705 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.4428, allocations: 95.52 kB / 0.5706 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.4429, allocations: 20 kB / 0.5706 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007705/0.4436, allocations: 385.3 kB / 0.571 GB, free: 7.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006021/0.4442, allocations: 354.3 kB / 0.5713 GB, free: 7.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001086/0.4453, allocations: 0.5617 MB / 0.5719 GB, free: 6.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.761e-06/0.4453, allocations: 3.984 kB / 0.5719 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001553/0.4469, allocations: 0.7358 MB / 0.5726 GB, free: 5.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4469, allocations: 8 kB / 0.5726 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4469, allocations: 8.031 kB / 0.5726 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.4472, allocations: 104.8 kB / 0.5727 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.4478, allocations: 144.1 kB / 0.5728 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.4503, allocations: 2.118 MB / 0.5749 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.4509, allocations: 71.69 kB / 0.575 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.4509, allocations: 23.98 kB / 0.575 GB, free: 3.109 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.0002794/0.4512, allocations: 216.1 kB / 0.5752 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.4513, allocations: 71.53 kB / 0.5753 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.4528, allocations: 0.6005 MB / 0.5759 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4528, allocations: 4 kB / 0.5759 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4528, allocations: 7.938 kB / 0.5759 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.4528, allocations: 112 / 0.5759 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4551, allocations: 1.329 MB / 0.5772 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4551, allocations: 0 / 0.5772 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.4558, allocations: 119.8 kB / 0.5773 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4558, allocations: 4 kB / 0.5773 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.4558, allocations: 12 kB / 0.5773 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4558, allocations: 4 kB / 0.5773 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4558, allocations: 0 / 0.5773 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.4576, allocations: 0.965 MB / 0.5783 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.4579, allocations: 123.3 kB / 0.5784 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.458, allocations: 12 kB / 0.5784 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.4584, allocations: 39.95 kB / 0.5784 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4585, allocations: 48.39 kB / 0.5785 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.4585, allocations: 12 kB / 0.5785 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006836/0.4592, allocations: 419 kB / 0.5789 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4592, allocations: 0 / 0.5789 GB, free: 15.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001011/0.4602, allocations: 263.5 kB / 0.5791 GB, free: 14.8 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.0001668/0.4604, allocations: 111.2 kB / 0.5792 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.4628, allocations: 1.108 MB / 0.5803 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.4628, allocations: 288 / 0.5803 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.4635, allocations: 266.3 kB / 0.5806 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.4644, allocations: 152.8 kB / 0.5807 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.4678, allocations: 1.548 MB / 0.5822 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.469, allocations: 0.9457 MB / 0.5832 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.4692, allocations: 51.38 kB / 0.5832 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4692, allocations: 0 / 0.5832 GB, free: 10.54 MB / 430.1 MB Notification: Performance of Templates: time 0.01783/0.487, allocations: 10.01 MB / 0.593 GB, free: 0.5391 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: 8.777600353118032] Failed to read output from testmodel.py, exit status != 0: 0.4973260050173849 0.5125092339999999 0.093091987 Calling exit ...