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.0009616/0.0009617, allocations: 178.3 kB / 16.38 MB, free: 5.766 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.194/1.194, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001569/0.001569, allocations: 110.4 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1566/0.1566, allocations: 37.99 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07763/0.07797, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.357, allocations: 97.54 MB / 0.5415 GB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.3572, allocations: 90.58 kB / 0.5416 GB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05433/0.4115, allocations: 21.75 MB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4116, allocations: 3.938 kB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.84e-05/0.4116, allocations: 16 kB / 0.5629 GB, free: 11.91 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.002071/0.4137, allocations: 1.033 MB / 0.5639 GB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4138, allocations: 19.89 kB / 0.5639 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.4148, allocations: 174.8 kB / 0.5641 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.416, allocations: 0.5717 MB / 0.5646 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.416, allocations: 46.11 kB / 0.5647 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4162, allocations: 63.09 kB / 0.5648 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4175, allocations: 0.7215 MB / 0.5655 GB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4175, allocations: 4 kB / 0.5655 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.4176, allocations: 24.11 kB / 0.5655 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.4177, allocations: 36.55 kB / 0.5655 GB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.419, allocations: 0.6456 MB / 0.5661 GB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.4228, allocations: 2.551 MB / 0.5686 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4243, allocations: 0.7588 MB / 0.5694 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.4244, allocations: 12.48 kB / 0.5694 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4244, allocations: 34.31 kB / 0.5694 GB, free: 6.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.314e-06/0.4244, allocations: 4 kB / 0.5694 GB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001598/0.426, allocations: 0.7646 MB / 0.5702 GB, free: 5.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.4261, allocations: 107.2 kB / 0.5703 GB, free: 5.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.4268, allocations: 482.1 kB / 0.5707 GB, free: 5.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.4268, allocations: 37.02 kB / 0.5708 GB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.427, allocations: 326.5 kB / 0.5711 GB, free: 5.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.4272, allocations: 177 kB / 0.5713 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.4272, allocations: 13.62 kB / 0.5713 GB, free: 4.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4274, allocations: 369.5 kB / 0.5716 GB, free: 4.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.4279, allocations: 229.3 kB / 0.5718 GB, free: 4.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.4284, allocations: 330.8 kB / 0.5722 GB, free: 4.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.429, allocations: 260.2 kB / 0.5724 GB, free: 3.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.429, allocations: 4 kB / 0.5724 GB, free: 3.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001576/0.4305, allocations: 0.7819 MB / 0.5732 GB, free: 3.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004108/0.431, allocations: 1.062 MB / 0.5742 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.431, allocations: 3.938 kB / 0.5742 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.4314, allocations: 131.3 kB / 0.5743 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.432, allocations: 139.6 kB / 0.5745 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006803/0.4327, allocations: 0.7207 MB / 0.5752 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.4332, allocations: 91.2 kB / 0.5753 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.4332, allocations: 15.88 kB / 0.5753 GB, free: 1.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.4332, allocations: 4 kB / 0.5753 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.4345, allocations: 0.6216 MB / 0.5759 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4345, allocations: 4 kB / 0.5759 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.4347, allocations: 87.92 kB / 0.576 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.4353, allocations: 148 kB / 0.5761 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.4369, allocations: 1.951 MB / 0.578 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.4374, allocations: 80.59 kB / 0.5781 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.4374, allocations: 23.66 kB / 0.5781 GB, free: 14.64 MB / 394.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 () * Number of clocked 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.0003454/0.4378, allocations: 300 kB / 0.5784 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.4379, allocations: 63.25 kB / 0.5785 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.4391, allocations: 0.6094 MB / 0.5791 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4391, allocations: 4 kB / 0.5791 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4391, allocations: 0 / 0.5791 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.4392, allocations: 7.922 kB / 0.5791 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.4411, allocations: 1.311 MB / 0.5804 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4411, allocations: 0 / 0.5804 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.4417, allocations: 131.5 kB / 0.5805 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4417, allocations: 0 / 0.5805 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.4418, allocations: 11.56 kB / 0.5805 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.4418, allocations: 4 kB / 0.5805 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4418, allocations: 0 / 0.5805 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4434, allocations: 0.9821 MB / 0.5815 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.4436, allocations: 189.9 kB / 0.5816 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.4437, allocations: 10.81 kB / 0.5816 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.4441, allocations: 51.08 kB / 0.5817 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.4442, allocations: 41 kB / 0.5817 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.4443, allocations: 15.06 kB / 0.5817 GB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005594/0.4449, allocations: 382.6 kB / 0.5821 GB, free: 11.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4449, allocations: 8 kB / 0.5821 GB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000786/0.4457, allocations: 260.4 kB / 0.5824 GB, free: 11.16 MB / 394.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 () * Number of clocked 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.0001602/0.4458, allocations: 123.3 kB / 0.5825 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.4478, allocations: 0.9798 MB / 0.5834 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4478, allocations: 0 / 0.5834 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.4483, allocations: 278.4 kB / 0.5837 GB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.4489, allocations: 119.6 kB / 0.5838 GB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.4517, allocations: 1.749 MB / 0.5855 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.4522, allocations: 0.9418 MB / 0.5864 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.4527, allocations: 116.5 kB / 0.5866 GB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4528, allocations: 39.44 kB / 0.5866 GB, free: 6.746 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4528, allocations: 4 kB / 0.5866 GB, free: 6.742 MB / 394.7 MB Notification: Performance of Templates: time 0.01209/0.4649, allocations: 6.749 MB / 0.5932 GB, free: 15.99 MB / 410.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)