Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00266/0.002671, allocations: 114.1 kB / 17.29 MB, free: 6.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002882/0.002882, allocations: 197.3 kB / 18.21 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.867/2.867, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3693/0.3693, allocations: 38.02 MB / 330.1 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 54.09 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2337, allocations: 58.07 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.01618/0.25, allocations: 5.835 MB / 462.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007906/0.258, allocations: 2.335 MB / 465.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.2599, allocations: 31.81 kB / 465.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.2622, allocations: 222.9 kB / 465.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.2645, allocations: 310.5 kB / 465.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.267, allocations: 465.5 kB / 466.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.27, allocations: 1.042 MB / 467.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.2724, allocations: 0.6348 MB / 467.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.2739, allocations: 398.3 kB / 468.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.2751, allocations: 402.1 kB / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003629/0.2755, allocations: 84 kB / 468.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.2769, allocations: 355.3 kB / 469.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005245/0.2774, allocations: 223.2 kB / 469.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.2784, allocations: 389.9 kB / 469.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.2803, allocations: 0.8303 MB / 470.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.2803, allocations: 0 / 470.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2804, allocations: 0 / 470.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.255e-05/0.2804, allocations: 0 / 470.5 MB, free: 10.83 MB / 350.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.004631/0.2851, allocations: 1.122 MB / 471.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.75e-05/0.2852, allocations: 11.89 kB / 471.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.2867, allocations: 167.7 kB / 471.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.2885, allocations: 0.5735 MB / 472.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.2886, allocations: 45.69 kB / 472.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.2889, allocations: 68.36 kB / 472.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.2915, allocations: 0.7642 MB / 473.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.2916, allocations: 0 / 473.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.2917, allocations: 28 kB / 473.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-05/0.2918, allocations: 29.25 kB / 473.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.2941, allocations: 0.6335 MB / 473.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009164/0.3033, allocations: 2.899 MB / 476.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.3061, allocations: 0.7071 MB / 477.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008758/0.307, allocations: 231 kB / 477.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.3071, allocations: 16.38 kB / 477.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.299e-05/0.3072, allocations: 43.03 kB / 477.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 6.593e-06/0.3072, allocations: 0 / 477.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.002934/0.3102, allocations: 0.6902 MB / 478.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.3103, allocations: 115.2 kB / 478.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.3118, allocations: 0.5862 MB / 479.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/0.3119, allocations: 33.7 kB / 479.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.3124, allocations: 356.4 kB / 479.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.3127, allocations: 173.5 kB / 479.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.3131, allocations: 106.2 kB / 479.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003308/0.3134, allocations: 378.8 kB / 480.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.3142, allocations: 211 kB / 480.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.3151, allocations: 340.5 kB / 480.8 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3167, allocations: 0.5568 MB / 481.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.3167, allocations: 11.94 kB / 481.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002896/0.3196, allocations: 0.7729 MB / 482.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.3197, allocations: 8.391 kB / 482.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.3197, allocations: 11.98 kB / 482.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000653/0.3204, allocations: 116.7 kB / 482.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.3212, allocations: 127.9 kB / 482.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005548/0.3268, allocations: 2.424 MB / 484.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3279, allocations: 79.25 kB / 484.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.328, allocations: 24 kB / 484.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001268/0.3293, allocations: 369.2 kB / 485.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009892/0.3303, allocations: 324.5 kB / 485.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001809/0.3321, allocations: 0.5294 MB / 486.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.3322, allocations: 0 / 486.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002873/0.3351, allocations: 0.7028 MB / 486.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.3351, allocations: 8 kB / 486.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3351, allocations: 4 kB / 486.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.3358, allocations: 101 kB / 486.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.3368, allocations: 136 kB / 487 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/0.3412, allocations: 2.221 MB / 489.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3423, allocations: 63.66 kB / 489.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.3425, allocations: 23.98 kB / 489.4 MB, free: 7.082 MB / 366.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 (60): * Single equations (assignments): 59 * 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.0005188/0.343, allocations: 225.9 kB / 489.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.3434, allocations: 71.09 kB / 489.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.3457, allocations: 0.5693 MB / 490.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3457, allocations: 4 kB / 490.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3457, allocations: 4 kB / 490.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3457, allocations: 3.984 kB / 490.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.3501, allocations: 1.314 MB / 491.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.3502, allocations: 112 / 491.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.3513, allocations: 111.8 kB / 491.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.3514, allocations: 7.984 kB / 491.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/0.3515, allocations: 12 kB / 491.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.3515, allocations: 4 kB / 491.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.3515, allocations: 0 / 491.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.3547, allocations: 0.9052 MB / 492.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/0.3554, allocations: 192.1 kB / 492.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.3557, allocations: 15.98 kB / 492.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009143/0.3566, allocations: 35.97 kB / 492.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.3568, allocations: 36.39 kB / 492.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.3569, allocations: 11.98 kB / 492.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.3584, allocations: 419 kB / 493.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3585, allocations: 0 / 493.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00228/0.3608, allocations: 271.2 kB / 493.5 MB, free: 2.797 MB / 366.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 (50): * Single equations (assignments): 49 * 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.0002945/0.3611, allocations: 111.3 kB / 493.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.3655, allocations: 1.142 MB / 494.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.3656, allocations: 0 / 494.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3667, allocations: 254.7 kB / 495 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.3685, allocations: 146.4 kB / 495.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/0.3753, allocations: 1.835 MB / 497 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.3766, allocations: 0.9496 MB / 498 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/0.3771, allocations: 43.44 kB / 498 MB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.444e-06/0.3771, allocations: 0 / 498 MB, free: 14.24 MB / 382.1 MB Notification: Performance of Templates: time 0.03055/0.4077, allocations: 9.767 MB / 0.4959 GB, free: 4.488 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)