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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2436/0.2436, allocations: 29.41 MB / 291.2 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.894e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.005722/0.005751, allocations: 5.217 MB / 375.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.008672, allocations: 1.862 MB / 377.2 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.009125, allocations: 35.75 kB / 377.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.009879, allocations: 218.3 kB / 377.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.01049, allocations: 317.9 kB / 377.7 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.01132, allocations: 0.5261 MB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.01225, allocations: 1.026 MB / 379.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006353/0.01289, allocations: 0.5526 MB / 379.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.01347, allocations: 0.565 MB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.01385, allocations: 326.9 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.01395, allocations: 84.05 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.01429, allocations: 259.4 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.01445, allocations: 231.2 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.01464, allocations: 251.3 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.01539, allocations: 0.6849 MB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.0154, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0154, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.01541, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 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.001188/0.0166, allocations: 1.145 MB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.01664, allocations: 11.98 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.01719, allocations: 228.2 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.01803, allocations: 0.554 MB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.01807, allocations: 49.67 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.01814, allocations: 56.38 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.01872, allocations: 0.5908 MB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01874, allocations: 4.141 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.01877, allocations: 20.38 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.01881, allocations: 37.25 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.0191, allocations: 226.1 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.02128, allocations: 2.647 MB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.02173, allocations: 316.2 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.02184, allocations: 88.97 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.02188, allocations: 20.44 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.02191, allocations: 37.89 kB / 388.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.206e-06/0.02192, allocations: 0 / 388.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006071/0.02252, allocations: 360.8 kB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.0226, allocations: 141 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.02296, allocations: 491 kB / 389.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.02299, allocations: 37.7 kB / 389.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.02322, allocations: 411.4 kB / 389.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.02333, allocations: 182.4 kB / 389.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.02346, allocations: 120 kB / 389.9 MB, free: 6.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.02361, allocations: 0.5468 MB / 390.5 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.02372, allocations: 70.25 kB / 390.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.02419, allocations: 296.9 kB / 390.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.02447, allocations: 309.1 kB / 391.1 MB, free: 5.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.02448, allocations: 4 kB / 391.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006262/0.0251, allocations: 472.3 kB / 391.6 MB, free: 4.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.02512, allocations: 10.34 kB / 391.6 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.02513, allocations: 4 kB / 391.6 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.02541, allocations: 99.97 kB / 391.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.0257, allocations: 127.8 kB / 391.8 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.02722, allocations: 2.4 MB / 394.2 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.02744, allocations: 63.61 kB / 394.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.02747, allocations: 16 kB / 394.3 MB, free: 1.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000226/0.0277, allocations: 196.2 kB / 394.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002013/0.0279, allocations: 293 kB / 394.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000285/0.02818, allocations: 317 kB / 395.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.02818, allocations: 0 / 395.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0005031/0.02869, allocations: 448.3 kB / 395.5 MB, free: 432 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.0287, allocations: 8 kB / 395.5 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.0287, allocations: 4 kB / 395.5 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.02891, allocations: 76.05 kB / 395.6 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.02928, allocations: 127.8 kB / 395.7 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.0311, allocations: 2.346 MB / 398.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.03136, allocations: 55.72 kB / 398.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.03139, allocations: 16 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.hotwellLevel.local_reset,powerPlant.throttleCosts.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.0001638/0.03156, allocations: 303.9 kB / 398.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.03166, allocations: 83.52 kB / 398.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.03216, allocations: 320 kB / 398.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.03216, allocations: 4.031 kB / 398.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.03217, allocations: 8 kB / 398.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.03218, allocations: 7.969 kB / 398.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.03327, allocations: 0.8 MB / 399.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.03327, allocations: 0 / 399.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.03365, allocations: 111.9 kB / 399.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.03365, allocations: 7.938 kB / 399.8 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.03369, allocations: 12 kB / 399.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.03369, allocations: 0 / 399.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03369, allocations: 4 kB / 399.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.03431, allocations: 0.5482 MB / 400.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.03447, allocations: 115.3 kB / 400.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.03452, allocations: 12 kB / 400.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.03472, allocations: 23.98 kB / 400.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.0348, allocations: 36.42 kB / 400.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.03482, allocations: 15.98 kB / 400.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.03505, allocations: 306.7 kB / 400.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03505, allocations: 0 / 400.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008122/0.03586, allocations: 287.2 kB / 401.1 MB, free: 10.64 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 () * 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 (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.0001423/0.036, allocations: 111 kB / 401.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009875/0.03699, allocations: 0.8192 MB / 402.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.03699, allocations: 0 / 402.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.03719, allocations: 139.4 kB / 402.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.03778, allocations: 152.5 kB / 402.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.03995, allocations: 1.296 MB / 403.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.0401, allocations: 170.8 kB / 403.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.04037, allocations: 76.38 kB / 403.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.04067, allocations: 178.1 kB / 404.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04067, allocations: 0 / 404.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of Templates: time 0.01444/0.0551, allocations: 8.706 MB / 412.8 MB, free: 15.02 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1324415621347725]