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.001407/0.001407, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001522/0.001522, allocations: 191 kB / 18.63 MB, free: 4.367 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.415/1.415, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2245/0.2245, allocations: 37.99 MB / 309.8 MB, free: 5.973 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.001531/0.001531, allocations: 67.89 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1955, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005537/0.201, allocations: 5.45 MB / 437.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.2042, allocations: 2.296 MB / 439.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000659/0.2049, allocations: 27.88 kB / 439.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008215/0.2057, allocations: 278.2 kB / 440.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007182/0.2065, allocations: 350 kB / 440.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.2073, allocations: 0.4912 MB / 440.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006584/0.208, allocations: 1.046 MB / 441.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.2086, allocations: 0.6191 MB / 442.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.2089, allocations: 398.4 kB / 443 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.2092, allocations: 398.1 kB / 443.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.2093, allocations: 80 kB / 443.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.2097, allocations: 359.2 kB / 443.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2098, allocations: 215.3 kB / 444 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.2101, allocations: 397.8 kB / 444.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.2108, allocations: 1.078 MB / 445.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2108, allocations: 0 / 445.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2108, allocations: 0 / 445.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2108, allocations: 0 / 445.4 MB, free: 6.016 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.001523/0.2123, allocations: 1.135 MB / 446.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.2124, allocations: 15.89 kB / 446.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.2131, allocations: 155.8 kB / 446.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.2139, allocations: 0.6124 MB / 447.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.214, allocations: 45.69 kB / 447.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.2141, allocations: 68.36 kB / 447.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009915/0.2151, allocations: 0.7564 MB / 448.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2151, allocations: 4 kB / 448.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.2151, allocations: 20 kB / 448.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.2152, allocations: 29.31 kB / 448.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.2161, allocations: 0.6335 MB / 448.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.2193, allocations: 2.891 MB / 451.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2206, allocations: 0.7033 MB / 452.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.2211, allocations: 235 kB / 452.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.2211, allocations: 12.42 kB / 452.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2212, allocations: 43 kB / 452.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.2212, allocations: 0 / 452.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001425/0.2226, allocations: 0.7019 MB / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.2227, allocations: 107.2 kB / 453.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.2234, allocations: 0.5939 MB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2235, allocations: 29.7 kB / 454.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.2237, allocations: 352.4 kB / 454.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.2238, allocations: 177.5 kB / 454.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.224, allocations: 106.2 kB / 454.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2242, allocations: 374.8 kB / 455.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.2246, allocations: 207 kB / 455.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.2251, allocations: 352.5 kB / 455.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.2261, allocations: 0.549 MB / 456.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2261, allocations: 3.938 kB / 456.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001622/0.2277, allocations: 0.7923 MB / 457.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2277, allocations: 8 kB / 457.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2277, allocations: 4 kB / 457.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.2281, allocations: 113.2 kB / 457.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.2287, allocations: 131.8 kB / 457.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.2317, allocations: 2.427 MB / 459.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.2321, allocations: 87.33 kB / 459.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.2322, allocations: 24.06 kB / 459.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006046/0.2328, allocations: 369.1 kB / 460.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/0.2333, allocations: 320.5 kB / 460.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008375/0.2341, allocations: 0.5333 MB / 461.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2341, allocations: 0 / 461.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001282/0.2354, allocations: 0.7066 MB / 461.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2355, allocations: 4 kB / 461.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2355, allocations: 7.984 kB / 461.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.2357, allocations: 100.7 kB / 461.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.2363, allocations: 132.2 kB / 462 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.2384, allocations: 2.225 MB / 464.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.2389, allocations: 63.56 kB / 464.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.2389, allocations: 20 kB / 464.3 MB, free: 2.238 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 (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.0001995/0.2391, allocations: 212.2 kB / 464.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2392, allocations: 79.03 kB / 464.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.2404, allocations: 0.5539 MB / 465.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.2404, allocations: 15.98 kB / 465.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2404, allocations: 4 kB / 465.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2404, allocations: 0 / 465.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.2424, allocations: 1.31 MB / 466.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2424, allocations: 4 kB / 466.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.243, allocations: 107.8 kB / 466.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.243, allocations: 4 kB / 466.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.2431, allocations: 15.98 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2431, allocations: 0 / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2431, allocations: 0 / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.2446, allocations: 0.9139 MB / 467.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.2448, allocations: 196.1 kB / 467.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.2449, allocations: 12 kB / 467.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.2452, allocations: 31.95 kB / 467.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.2453, allocations: 36.39 kB / 467.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.2454, allocations: 12 kB / 467.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005636/0.246, allocations: 427 kB / 468.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.246, allocations: 0 / 468.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008461/0.2468, allocations: 267.2 kB / 468.5 MB, free: 13.95 MB / 350.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.0001379/0.247, allocations: 119.2 kB / 468.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.2488, allocations: 1.092 MB / 469.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2488, allocations: 0 / 469.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.2493, allocations: 258.3 kB / 470 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.25, allocations: 146.8 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2525, allocations: 1.511 MB / 471.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.253, allocations: 0.9457 MB / 472.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003627/0.2534, allocations: 124.6 kB / 472.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2535, allocations: 43.42 kB / 472.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2535, allocations: 0 / 472.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of Templates: time 0.01442/0.268, allocations: 8.233 MB / 481 MB, free: 1.434 MB / 350.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)