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 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.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.0007652/0.0007651, allocations: 87.86 kB / 16.31 MB, free: 6.188 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.0008437/0.0008438, allocations: 172.3 kB / 17.2 MB, free: 6.02 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.295/1.295, allocations: 205.4 MB / 223.4 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1631/0.1631, allocations: 38.05 MB / 309.7 MB, free: 6.039 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.0005013/0.0005014, allocations: 19.12 kB / 376.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.221, allocations: 56.34 MB / 432.8 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.004217/0.2253, allocations: 5.106 MB / 438 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.228, allocations: 2.29 MB / 440.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.2284, allocations: 31.81 kB / 440.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.2289, allocations: 111.1 kB / 440.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.2294, allocations: 282.4 kB / 440.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.2301, allocations: 367.3 kB / 441 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.2308, allocations: 0.9911 MB / 442 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.2315, allocations: 0.6198 MB / 442.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.2318, allocations: 302.5 kB / 442.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.2321, allocations: 314.4 kB / 443.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.2322, allocations: 24 kB / 443.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.2324, allocations: 167.5 kB / 443.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2326, allocations: 147.4 kB / 443.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.2327, allocations: 157.3 kB / 443.7 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.2332, allocations: 0.7793 MB / 444.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2332, allocations: 0 / 444.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2332, allocations: 0 / 444.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2332, allocations: 0 / 444.5 MB, free: 7.094 MB / 318.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.001513/0.2347, allocations: 1.005 MB / 445.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.2348, allocations: 12.03 kB / 445.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.2355, allocations: 166.8 kB / 445.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.2362, allocations: 0.5609 MB / 446.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.2362, allocations: 45.31 kB / 446.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.2363, allocations: 63.91 kB / 446.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.2373, allocations: 0.76 MB / 447.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2374, allocations: 4 kB / 447.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.2374, allocations: 24 kB / 447.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.2375, allocations: 29.27 kB / 447.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.2385, allocations: 0.653 MB / 447.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.2415, allocations: 2.918 MB / 450.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2426, allocations: 0.7312 MB / 451.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.243, allocations: 243 kB / 451.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.2431, allocations: 4.438 kB / 451.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2431, allocations: 39 kB / 451.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.573e-06/0.2431, allocations: 0 / 451.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001393/0.2445, allocations: 0.7332 MB / 452.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.2446, allocations: 107.2 kB / 452.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.2453, allocations: 0.59 MB / 453.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.2453, allocations: 33.7 kB / 453.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2456, allocations: 356.3 kB / 453.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2457, allocations: 173.5 kB / 453.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.2457, allocations: 12 kB / 453.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2459, allocations: 382.8 kB / 454.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.2463, allocations: 213 kB / 454.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.2468, allocations: 348.5 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.2473, allocations: 260.7 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2473, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001552/0.2489, allocations: 0.8159 MB / 455.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.249, allocations: 204 kB / 455.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.249, allocations: 0 / 455.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004467/0.2495, allocations: 148.8 kB / 456.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.25, allocations: 139.8 kB / 456.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.2525, allocations: 2.256 MB / 458.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.2529, allocations: 87.38 kB / 458.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.253, allocations: 23.98 kB / 458.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.253, allocations: 4 kB / 458.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.2541, allocations: 0.6241 MB / 459.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2541, allocations: 4 kB / 459.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.2544, allocations: 96.73 kB / 459.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.2549, allocations: 131.9 kB / 459.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.2566, allocations: 2.023 MB / 461.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.257, allocations: 79.36 kB / 461.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2571, allocations: 23.98 kB / 461.5 MB, free: 5.285 MB / 334.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 (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.0003566/0.2575, allocations: 304.9 kB / 461.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2576, allocations: 67.22 kB / 461.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.2587, allocations: 0.5812 MB / 462.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2587, allocations: 4 kB / 462.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2587, allocations: 7.984 kB / 462.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2587, allocations: 3.953 kB / 462.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.2606, allocations: 1.337 MB / 463.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2606, allocations: 0 / 463.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.2611, allocations: 111.9 kB / 464 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2612, allocations: 7.984 kB / 464 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.2612, allocations: 8 kB / 464 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.2612, allocations: 11.94 kB / 464 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2612, allocations: 7.984 kB / 464 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.2626, allocations: 0.9286 MB / 464.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.2628, allocations: 196.1 kB / 465.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.2629, allocations: 8 kB / 465.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.2632, allocations: 47.95 kB / 465.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.2633, allocations: 36.34 kB / 465.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.2634, allocations: 19.98 kB / 465.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005103/0.2639, allocations: 419 kB / 465.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.2639, allocations: 112 / 465.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007781/0.2647, allocations: 267.2 kB / 465.9 MB, free: 0.832 MB / 334.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 (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.0001244/0.2648, allocations: 107.3 kB / 466 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.2665, allocations: 1.107 MB / 467.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2665, allocations: 0 / 467.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.267, allocations: 266.5 kB / 467.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.2677, allocations: 127 kB / 467.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2701, allocations: 1.811 MB / 469.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.2706, allocations: 0.9457 MB / 470.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.271, allocations: 124.5 kB / 470.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2711, allocations: 47.42 kB / 470.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2711, allocations: 288 / 470.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Templates: time 0.01181/0.2829, allocations: 7.395 MB / 477.8 MB, free: 4.844 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: