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.00101/0.00101, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.486/1.486, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001637/0.001637, allocations: 112.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1785/0.1785, allocations: 37.92 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.682e-05, allocations: 4 kB / 390.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3053, allocations: 53.21 MB / 443.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4303, allocations: 96.78 MB / 0.5277 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4306, allocations: 91.92 kB / 0.5278 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2601/0.6907, allocations: 21.55 MB / 0.5488 GB, free: 80.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6907, allocations: 4 kB / 0.5488 GB, free: 80.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.52e-05/0.6908, allocations: 16 kB / 0.5489 GB, free: 80.63 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.001517/0.6923, allocations: 0.921 MB / 0.5497 GB, free: 79.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6924, allocations: 8.031 kB / 0.5498 GB, free: 79.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.6933, allocations: 178.8 kB / 0.5499 GB, free: 79.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.6941, allocations: 0.55 MB / 0.5505 GB, free: 78.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.6941, allocations: 16 kB / 0.5505 GB, free: 78.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.6942, allocations: 47.89 kB / 0.5505 GB, free: 78.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007014/0.6949, allocations: 450.5 kB / 0.551 GB, free: 78.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.6958, allocations: 0.5824 MB / 0.5515 GB, free: 77.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.6958, allocations: 4 kB / 0.5515 GB, free: 77.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.6959, allocations: 0 / 0.5515 GB, free: 77.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.6959, allocations: 25.31 kB / 0.5516 GB, free: 77.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.6991, allocations: 2.477 MB / 0.554 GB, free: 75.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.7, allocations: 0.6086 MB / 0.5546 GB, free: 74.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.7002, allocations: 187 kB / 0.5547 GB, free: 74.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.7003, allocations: 8.438 kB / 0.5548 GB, free: 74.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.7003, allocations: 42.98 kB / 0.5548 GB, free: 74.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.7003, allocations: 0 / 0.5548 GB, free: 74.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006408/0.701, allocations: 427.5 kB / 0.5552 GB, free: 73.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.701, allocations: 107.2 kB / 0.5553 GB, free: 73.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.7014, allocations: 369.4 kB / 0.5557 GB, free: 73.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.7014, allocations: 33.67 kB / 0.5557 GB, free: 73.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.7016, allocations: 328.4 kB / 0.556 GB, free: 73.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.7017, allocations: 169.4 kB / 0.5562 GB, free: 72.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.7017, allocations: 0 / 0.5562 GB, free: 72.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.7018, allocations: 370.8 kB / 0.5565 GB, free: 72.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.702, allocations: 157.1 kB / 0.5567 GB, free: 72.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.7022, allocations: 264.2 kB / 0.5569 GB, free: 72.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.7025, allocations: 194.1 kB / 0.5571 GB, free: 71.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7025, allocations: 0 / 0.5571 GB, free: 71.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009637/0.7035, allocations: 0.6044 MB / 0.5577 GB, free: 71.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.7037, allocations: 1.059 MB / 0.5587 GB, free: 70.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7037, allocations: 0 / 0.5587 GB, free: 70.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.704, allocations: 104.7 kB / 0.5588 GB, free: 69.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.7046, allocations: 147.8 kB / 0.559 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004075/0.705, allocations: 0.6889 MB / 0.5596 GB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.7054, allocations: 67.7 kB / 0.5597 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.7054, allocations: 16 kB / 0.5597 GB, free: 69.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.7055, allocations: 4 kB / 0.5597 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007043/0.7062, allocations: 481.9 kB / 0.5602 GB, free: 68.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7062, allocations: 8.344 kB / 0.5602 GB, free: 68.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.7064, allocations: 88.75 kB / 0.5603 GB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.7069, allocations: 135.8 kB / 0.5604 GB, free: 68.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.7084, allocations: 1.893 MB / 0.5623 GB, free: 66.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.7088, allocations: 59.64 kB / 0.5623 GB, free: 66.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.7088, allocations: 24.19 kB / 0.5623 GB, free: 66.25 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerPlant.primaryControl.gainPID.y:VARIABLE() "Output signal connector" type: Real 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 (58): * Single equations (assignments): 57 * 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.0001582/0.709, allocations: 120.4 kB / 0.5624 GB, free: 66.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.7091, allocations: 67.25 kB / 0.5625 GB, free: 66.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.7098, allocations: 457.9 kB / 0.5629 GB, free: 65.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7098, allocations: 8 kB / 0.563 GB, free: 65.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.7098, allocations: 0 / 0.563 GB, free: 65.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.7098, allocations: 3.984 kB / 0.563 GB, free: 65.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.7111, allocations: 1.088 MB / 0.564 GB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7111, allocations: 0 / 0.564 GB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.7116, allocations: 131.8 kB / 0.5641 GB, free: 64.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7117, allocations: 0 / 0.5641 GB, free: 64.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.7117, allocations: 4 kB / 0.5642 GB, free: 64.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7117, allocations: 11.98 kB / 0.5642 GB, free: 64.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.7117, allocations: 0 / 0.5642 GB, free: 64.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.7126, allocations: 0.7743 MB / 0.5649 GB, free: 63.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.7127, allocations: 176.3 kB / 0.5651 GB, free: 63.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.7128, allocations: 11.98 kB / 0.5651 GB, free: 63.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.7132, allocations: 43.95 kB / 0.5651 GB, free: 63.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.7133, allocations: 36.38 kB / 0.5652 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.7133, allocations: 16 kB / 0.5652 GB, free: 63.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.7135, allocations: 283 kB / 0.5655 GB, free: 62.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7135, allocations: 0 / 0.5655 GB, free: 62.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000737/0.7143, allocations: 255.5 kB / 0.5657 GB, free: 62.71 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 (51): * Single equations (assignments): 50 * 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.0001586/0.7145, allocations: 107.3 kB / 0.5658 GB, free: 62.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.7157, allocations: 0.8264 MB / 0.5666 GB, free: 61.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7157, allocations: 1.375 kB / 0.5666 GB, free: 61.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.716, allocations: 209.6 kB / 0.5668 GB, free: 61.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.7165, allocations: 106.4 kB / 0.5669 GB, free: 61.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.7184, allocations: 1.115 MB / 0.568 GB, free: 60.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.7188, allocations: 0.9502 MB / 0.5689 GB, free: 59.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006078/0.7194, allocations: 142.3 kB / 0.5691 GB, free: 59.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.7195, allocations: 39.42 kB / 0.5691 GB, free: 59.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7195, allocations: 0 / 0.5691 GB, free: 59.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01117/0.7307, allocations: 7.036 MB / 0.576 GB, free: 52.11 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)