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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001145/0.001145, allocations: 181.1 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3095/0.3095, allocations: 38.05 MB / 309.7 MB, free: 8.855 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 16 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 56.35 MB / 432.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.006079/0.1331, allocations: 5.03 MB / 437.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.1371, allocations: 2.27 MB / 440.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.1379, allocations: 31.81 kB / 440.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.1386, allocations: 95.17 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1396, allocations: 318.9 kB / 440.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1408, allocations: 387.3 kB / 440.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009297/0.1417, allocations: 0.5902 MB / 441.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.1428, allocations: 0.6159 MB / 442.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.1432, allocations: 302.6 kB / 442.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.1436, allocations: 278.5 kB / 442.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.1436, allocations: 28 kB / 442.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.144, allocations: 151.8 kB / 442.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1442, allocations: 139.4 kB / 443 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1443, allocations: 153.3 kB / 443.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007879/0.1451, allocations: 0.7948 MB / 444 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1451, allocations: 0 / 444 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1451, allocations: 7.938 kB / 444 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1451, allocations: 0 / 444 MB, free: 11.48 MB / 382.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.001917/0.1471, allocations: 1.02 MB / 445 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1471, allocations: 8.031 kB / 445 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.148, allocations: 170.8 kB / 445.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/0.1489, allocations: 0.5687 MB / 445.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.149, allocations: 49.25 kB / 445.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1491, allocations: 64 kB / 445.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1505, allocations: 0.7756 MB / 446.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.1505, allocations: 3.953 kB / 446.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.1506, allocations: 28 kB / 446.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.1507, allocations: 29.3 kB / 446.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.152, allocations: 0.6804 MB / 447.4 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.156, allocations: 2.953 MB / 450.3 MB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.1577, allocations: 0.7969 MB / 451.1 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.1578, allocations: 8.594 kB / 451.1 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1578, allocations: 42.92 kB / 451.2 MB, free: 4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.1578, allocations: 0 / 451.2 MB, free: 4 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001685/0.1595, allocations: 0.795 MB / 452 MB, free: 3.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1596, allocations: 107.2 kB / 452.1 MB, free: 3.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.1604, allocations: 0.5828 MB / 452.6 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.1604, allocations: 37.7 kB / 452.7 MB, free: 2.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.1607, allocations: 356.4 kB / 453 MB, free: 2.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1608, allocations: 181.5 kB / 453.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1609, allocations: 12 kB / 453.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1611, allocations: 382.9 kB / 453.6 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.1616, allocations: 237.2 kB / 453.8 MB, free: 1.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.1622, allocations: 373.5 kB / 454.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.1628, allocations: 270.1 kB / 454.5 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.1628, allocations: 4 kB / 454.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.2251/0.3879, allocations: 0.8606 MB / 455.3 MB, free: 50.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000335/0.3882, allocations: 1.4 MB / 456.7 MB, free: 49.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3882, allocations: 3.031 kB / 456.7 MB, free: 49.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.3887, allocations: 143.7 kB / 456.9 MB, free: 49.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.3894, allocations: 139.2 kB / 457 MB, free: 49.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.3918, allocations: 2.3 MB / 459.3 MB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/0.3924, allocations: 105.2 kB / 459.4 MB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.3925, allocations: 22.83 kB / 459.4 MB, free: 47.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.3925, allocations: 3.188 kB / 459.4 MB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/0.3938, allocations: 0.6703 MB / 460.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3938, allocations: 3.188 kB / 460.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.394, allocations: 103.3 kB / 460.2 MB, free: 47.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.3946, allocations: 145.8 kB / 460.3 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.3962, allocations: 2.04 MB / 462.4 MB, free: 46.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.3967, allocations: 86.39 kB / 462.5 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3968, allocations: 28.36 kB / 462.5 MB, free: 46.39 MB / 382.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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003813/0.3972, allocations: 293.5 kB / 462.8 MB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.3973, allocations: 77.97 kB / 462.9 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3985, allocations: 0.6264 MB / 463.5 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3985, allocations: 5.969 kB / 463.5 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3985, allocations: 0 / 463.5 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3986, allocations: 3.562 kB / 463.5 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4005, allocations: 1.384 MB / 464.9 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4005, allocations: 3.062 kB / 464.9 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.4011, allocations: 128.8 kB / 465 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4011, allocations: 4.141 kB / 465 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.4011, allocations: 13.78 kB / 465 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4011, allocations: 2.906 kB / 465 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4011, allocations: 0 / 465 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4027, allocations: 1.005 MB / 466 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.403, allocations: 199.3 kB / 466.2 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.403, allocations: 11.06 kB / 466.2 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.4034, allocations: 51.67 kB / 466.3 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.4035, allocations: 45.39 kB / 466.3 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.4035, allocations: 10.19 kB / 466.3 MB, free: 45.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.404, allocations: 424.4 kB / 466.8 MB, free: 45.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.404, allocations: 3.609 kB / 466.8 MB, free: 45.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008373/0.4049, allocations: 275 kB / 467 MB, free: 45.27 MB / 382.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 (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.0001182/0.405, allocations: 112.2 kB / 467.1 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4069, allocations: 1.16 MB / 468.3 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4069, allocations: 3.25 kB / 468.3 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.4074, allocations: 290.8 kB / 468.6 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.408, allocations: 128.3 kB / 468.7 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.4105, allocations: 1.817 MB / 470.5 MB, free: 43.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4109, allocations: 0.9588 MB / 471.5 MB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.4113, allocations: 125.6 kB / 471.6 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4114, allocations: 44.31 kB / 471.7 MB, free: 42.72 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4114, allocations: 0 / 471.7 MB, free: 42.72 MB / 382.1 MB Notification: Performance of Templates: time 0.01164/0.4231, allocations: 7.54 MB / 479.2 MB, free: 42.13 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: