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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.568/1.568, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 118.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2044/0.2044, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.328e-05/5.33e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3509, allocations: 53.21 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.784, allocations: 97.45 MB / 0.5354 GB, free: 88.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/0.7845, allocations: 85.64 kB / 0.5354 GB, free: 88.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05247/0.837, allocations: 21.7 MB / 0.5566 GB, free: 72.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.837, allocations: 0 / 0.5566 GB, free: 72.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.778e-05/0.8371, allocations: 12 kB / 0.5566 GB, free: 72.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001547/0.8386, allocations: 0.925 MB / 0.5575 GB, free: 71.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8387, allocations: 8.031 kB / 0.5575 GB, free: 71.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.8396, allocations: 174.8 kB / 0.5577 GB, free: 71.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.8405, allocations: 0.5467 MB / 0.5582 GB, free: 70.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.8405, allocations: 45.3 kB / 0.5583 GB, free: 70.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.8406, allocations: 67.91 kB / 0.5584 GB, free: 70.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009189/0.8415, allocations: 0.6591 MB / 0.559 GB, free: 69.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.8416, allocations: 3.938 kB / 0.559 GB, free: 69.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.8416, allocations: 24 kB / 0.559 GB, free: 69.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.8417, allocations: 29.25 kB / 0.5591 GB, free: 69.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.8424, allocations: 0.5479 MB / 0.5596 GB, free: 69.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.8457, allocations: 2.554 MB / 0.5621 GB, free: 66.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.8467, allocations: 0.6326 MB / 0.5627 GB, free: 65.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.8469, allocations: 199.1 kB / 0.5629 GB, free: 65.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.847, allocations: 4.438 kB / 0.5629 GB, free: 65.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.847, allocations: 47 kB / 0.5629 GB, free: 65.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.096e-06/0.847, allocations: 0 / 0.5629 GB, free: 65.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006941/0.8477, allocations: 447.4 kB / 0.5634 GB, free: 65.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.8478, allocations: 111.2 kB / 0.5635 GB, free: 64.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.8482, allocations: 445 kB / 0.5639 GB, free: 64.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.8482, allocations: 37.7 kB / 0.5639 GB, free: 64.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.8484, allocations: 328.6 kB / 0.5642 GB, free: 64.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.8485, allocations: 177.4 kB / 0.5644 GB, free: 63.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.8486, allocations: 12 kB / 0.5644 GB, free: 63.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.8487, allocations: 374.8 kB / 0.5648 GB, free: 63.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.8489, allocations: 165.1 kB / 0.5649 GB, free: 63.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.8492, allocations: 281.8 kB / 0.5652 GB, free: 63.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.8495, allocations: 197.6 kB / 0.5654 GB, free: 62.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8495, allocations: 0 / 0.5654 GB, free: 62.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.8505, allocations: 0.6559 MB / 0.566 GB, free: 62.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.8508, allocations: 1.053 MB / 0.5671 GB, free: 61.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8508, allocations: 4 kB / 0.5671 GB, free: 61.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.8511, allocations: 96.81 kB / 0.5672 GB, free: 60.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.8517, allocations: 143.8 kB / 0.5673 GB, free: 60.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/0.8521, allocations: 0.6812 MB / 0.568 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.8526, allocations: 91.45 kB / 0.5681 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.8527, allocations: 16.19 kB / 0.5681 GB, free: 60 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.8527, allocations: 4 kB / 0.5681 GB, free: 60 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008119/0.8535, allocations: 0.5303 MB / 0.5686 GB, free: 59.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8535, allocations: 4.031 kB / 0.5686 GB, free: 59.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.8537, allocations: 96.69 kB / 0.5687 GB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.8542, allocations: 135.8 kB / 0.5688 GB, free: 59.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.8557, allocations: 1.917 MB / 0.5707 GB, free: 57.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.8561, allocations: 87.48 kB / 0.5708 GB, free: 57.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.8562, allocations: 19.94 kB / 0.5708 GB, free: 57.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.8564, allocations: 136.6 kB / 0.5709 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.8565, allocations: 71.31 kB / 0.571 GB, free: 56.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.8573, allocations: 494.5 kB / 0.5715 GB, free: 56.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8573, allocations: 4 kB / 0.5715 GB, free: 56.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.8573, allocations: 0 / 0.5715 GB, free: 56.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.8573, allocations: 15.97 kB / 0.5715 GB, free: 56.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.8587, allocations: 1.197 MB / 0.5726 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.8587, allocations: 4 kB / 0.5727 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.8593, allocations: 123.8 kB / 0.5728 GB, free: 54.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8593, allocations: 0 / 0.5728 GB, free: 54.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.8593, allocations: 11.98 kB / 0.5728 GB, free: 54.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8593, allocations: 4 kB / 0.5728 GB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8593, allocations: 0 / 0.5728 GB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000871/0.8602, allocations: 0.8134 MB / 0.5736 GB, free: 54.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.8604, allocations: 184.2 kB / 0.5738 GB, free: 53.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.8605, allocations: 15.98 kB / 0.5738 GB, free: 53.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.8609, allocations: 47.95 kB / 0.5738 GB, free: 53.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.861, allocations: 40.39 kB / 0.5739 GB, free: 53.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.8611, allocations: 11.98 kB / 0.5739 GB, free: 53.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003384/0.8614, allocations: 357.6 kB / 0.5742 GB, free: 53.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8614, allocations: 0 / 0.5742 GB, free: 53.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007942/0.8622, allocations: 259.2 kB / 0.5745 GB, free: 53.2 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001628/0.8624, allocations: 131.2 kB / 0.5746 GB, free: 53.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.8635, allocations: 0.8266 MB / 0.5754 GB, free: 52.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.8636, allocations: 3.938 kB / 0.5754 GB, free: 52.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.8639, allocations: 222.4 kB / 0.5756 GB, free: 52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.8645, allocations: 106.2 kB / 0.5757 GB, free: 51.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.8665, allocations: 1.145 MB / 0.5768 GB, free: 50.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.8669, allocations: 0.943 MB / 0.5777 GB, free: 49.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.8675, allocations: 166.6 kB / 0.5779 GB, free: 49.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.8676, allocations: 39.36 kB / 0.5779 GB, free: 49.55 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.8676, allocations: 0 / 0.5779 GB, free: 49.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01235/0.88, allocations: 7.897 MB / 0.5857 GB, free: 41.67 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (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)