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.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.001891/0.001891, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001999/0.001999, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3141/0.3141, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.575e-05/3.802e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.01177/0.01181, allocations: 5.315 MB / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005995/0.01781, allocations: 2.233 MB / 376.4 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.01853, allocations: 39.75 kB / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.01989, allocations: 282.1 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.02129, allocations: 353.7 kB / 377.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.02311, allocations: 0.5184 MB / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.02499, allocations: 1.022 MB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.02628, allocations: 0.5486 MB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.02751, allocations: 0.5649 MB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.02824, allocations: 322.9 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.02843, allocations: 80 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009582/0.02939, allocations: 315.2 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.02974, allocations: 227.2 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.0302, allocations: 247.3 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.03225, allocations: 1.11 MB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.03226, allocations: 3.984 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03226, allocations: 0 / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.03227, allocations: 0 / 382 MB, free: 14.11 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.002954/0.03522, allocations: 1.196 MB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.03527, allocations: 11.98 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.03691, allocations: 244.1 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.03847, allocations: 0.5495 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/0.03856, allocations: 41.69 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.03874, allocations: 72.36 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.04059, allocations: 0.7511 MB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.04062, allocations: 4.141 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.04074, allocations: 32.36 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/0.04081, allocations: 37.17 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.04255, allocations: 468.9 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007279/0.04983, allocations: 3.183 MB / 388.6 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.05157, allocations: 0.5205 MB / 389.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.05221, allocations: 180.9 kB / 389.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.05229, allocations: 12.5 kB / 389.3 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/0.05235, allocations: 42.06 kB / 389.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.757e-06/0.05236, allocations: 0 / 389.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002094/0.05445, allocations: 0.5942 MB / 389.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.05457, allocations: 137 kB / 390.1 MB, free: 5.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.05602, allocations: 0.6354 MB / 390.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.05612, allocations: 37.7 kB / 390.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.05661, allocations: 439.5 kB / 391.2 MB, free: 4.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.05685, allocations: 206.4 kB / 391.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.05708, allocations: 124 kB / 391.5 MB, free: 4.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004112/0.0575, allocations: 0.5939 MB / 392.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.05796, allocations: 182.2 kB / 392.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/0.05863, allocations: 425.4 kB / 392.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.05982, allocations: 0.528 MB / 393.2 MB, free: 2.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.05982, allocations: 4 kB / 393.2 MB, free: 2.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001791/0.06162, allocations: 0.6918 MB / 393.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.06164, allocations: 11.94 kB / 393.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.06165, allocations: 4 kB / 393.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.06227, allocations: 147.2 kB / 394.1 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.06288, allocations: 123.9 kB / 394.2 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.06698, allocations: 2.884 MB / 397.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.0674, allocations: 63.61 kB / 397.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.06748, allocations: 24 kB / 397.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006797/0.06816, allocations: 344.2 kB / 397.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006518/0.06881, allocations: 416.6 kB / 397.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009578/0.06977, allocations: 0.5046 MB / 398.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/0.06978, allocations: 4.109 kB / 398.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001416/0.07119, allocations: 0.6412 MB / 399 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.07121, allocations: 12.09 kB / 399.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.07121, allocations: 4 kB / 399.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.07156, allocations: 107.1 kB / 399.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.07212, allocations: 127.8 kB / 399.3 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.07524, allocations: 2.728 MB / 402 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.07567, allocations: 63.66 kB / 402.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.07571, allocations: 20 kB / 402.1 MB, free: 9.062 MB / 378.7 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.0002915/0.07601, allocations: 307.9 kB / 402.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.07615, allocations: 75.61 kB / 402.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.07736, allocations: 487.8 kB / 403 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.07737, allocations: 4 kB / 403 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.07737, allocations: 4 kB / 403 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.07738, allocations: 0 / 403 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.07982, allocations: 1.21 MB / 404.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.07983, allocations: 0 / 404.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.08041, allocations: 103.9 kB / 404.3 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.08042, allocations: 4 kB / 404.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.08047, allocations: 12 kB / 404.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.08047, allocations: 0 / 404.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.08048, allocations: 15.88 kB / 404.3 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.0821, allocations: 0.8296 MB / 405.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.08238, allocations: 107.5 kB / 405.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.08246, allocations: 15.98 kB / 405.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.08277, allocations: 23.98 kB / 405.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.08289, allocations: 40.38 kB / 405.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.08293, allocations: 15.98 kB / 405.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000595/0.08352, allocations: 402.8 kB / 405.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08352, allocations: 0 / 405.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009729/0.0845, allocations: 291.1 kB / 406 MB, free: 5.082 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 (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.0001654/0.08466, allocations: 111.2 kB / 406.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.08691, allocations: 1.152 MB / 407.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.08692, allocations: 0 / 407.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.08744, allocations: 235.5 kB / 407.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.08827, allocations: 157.4 kB / 407.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.09103, allocations: 1.362 MB / 409 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.09147, allocations: 346.8 kB / 409.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.09188, allocations: 104.3 kB / 409.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.09204, allocations: 40.48 kB / 409.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.09204, allocations: 0 / 409.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of Templates: time 0.01701/0.109, allocations: 7.764 MB / 417.3 MB, free: 9.809 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.352889669011347]