Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.0009849/0.0009849, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001001/0.001001, allocations: 167.8 kB / 24.82 MB, free: 8.906 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2301/0.2301, allocations: 29.41 MB / 291.2 MB, free: 2.469 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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.682e-05, allocations: 6.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005151/0.005168, allocations: 5.574 MB / 375.7 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.007919, allocations: 2.216 MB / 377.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.008258, allocations: 39.69 kB / 377.9 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.008919, allocations: 282.2 kB / 378.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.009493, allocations: 445.3 kB / 378.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.01021, allocations: 0.5845 MB / 379.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01129, allocations: 1.17 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005826/0.01188, allocations: 0.6074 MB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.01242, allocations: 0.6274 MB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.01277, allocations: 398.8 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.232e-05/0.01286, allocations: 88 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.01324, allocations: 411 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.01342, allocations: 287.1 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.01359, allocations: 271.3 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.01428, allocations: 0.8368 MB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01429, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01429, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01429, allocations: 0 / 383.9 MB, free: 12.88 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001126/0.01542, allocations: 1.216 MB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.01545, allocations: 15.97 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.01615, allocations: 272.1 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.01668, allocations: 0.5735 MB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.01672, allocations: 53.67 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.01679, allocations: 68.33 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.01739, allocations: 0.6306 MB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.01741, allocations: 12.17 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.01745, allocations: 24.38 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.01748, allocations: 41.25 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.01781, allocations: 266 kB / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.02034, allocations: 2.86 MB / 389.9 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.02085, allocations: 394.1 kB / 390.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.02098, allocations: 124.8 kB / 390.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.02102, allocations: 12.5 kB / 390.4 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.02104, allocations: 45.83 kB / 390.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 1.774e-06/0.02104, allocations: 4 kB / 390.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.00153/0.02257, allocations: 1.118 MB / 391.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.02263, allocations: 137 kB / 391.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.02295, allocations: 0.4905 MB / 392.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.02299, allocations: 37.7 kB / 392.3 MB, free: 4.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.02319, allocations: 423.3 kB / 392.7 MB, free: 3.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.02331, allocations: 241.9 kB / 392.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.02344, allocations: 124.1 kB / 393 MB, free: 3.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.0236, allocations: 0.5585 MB / 393.6 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.02372, allocations: 78.25 kB / 393.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.02393, allocations: 324.8 kB / 394 MB, free: 2.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.02456, allocations: 371.2 kB / 394.3 MB, free: 1.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02457, allocations: 4 kB / 394.3 MB, free: 1.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000529/0.0251, allocations: 492.1 kB / 394.8 MB, free: 1.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.02511, allocations: 7.984 kB / 394.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02512, allocations: 4 kB / 394.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.02529, allocations: 60.11 kB / 394.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.02564, allocations: 163.7 kB / 395.1 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009928/0.02664, allocations: 2.052 MB / 397.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.02683, allocations: 27.98 kB / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.02686, allocations: 24 kB / 397.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001959/0.02705, allocations: 208.1 kB / 397.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002076/0.02726, allocations: 328.7 kB / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003178/0.02758, allocations: 371.2 kB / 398 MB, free: 13.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.02758, allocations: 0 / 398 MB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0005226/0.0281, allocations: 488.2 kB / 398.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.02811, allocations: 8 kB / 398.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02812, allocations: 4 kB / 398.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.02825, allocations: 55.62 kB / 398.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.02859, allocations: 168 kB / 398.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/0.02951, allocations: 2.059 MB / 400.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.0297, allocations: 28.02 kB / 400.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.02972, allocations: 24 kB / 400.9 MB, free: 10.92 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.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 (79): * Single equations (assignments): 78 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.02986, allocations: 307 kB / 401.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.02994, allocations: 91.52 kB / 401.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.03069, allocations: 431.5 kB / 401.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.0307, allocations: 12 kB / 401.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.0307, allocations: 0 / 401.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.03071, allocations: 3.984 kB / 401.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.03227, allocations: 1.383 MB / 403.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.03227, allocations: 4 kB / 403.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.03254, allocations: 123.8 kB / 403.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.03265, allocations: 60.06 kB / 403.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.03268, allocations: 24 kB / 403.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008047/0.03349, allocations: 2.036 MB / 405.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.03349, allocations: 11.94 kB / 405.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.03423, allocations: 0.8896 MB / 406.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.03436, allocations: 119.5 kB / 406.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.0344, allocations: 27.98 kB / 406.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.0346, allocations: 27.98 kB / 406.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.03468, allocations: 75.59 kB / 406.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.03471, allocations: 20 kB / 406.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.03487, allocations: 306.7 kB / 406.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03487, allocations: 4 kB / 406.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005805/0.03545, allocations: 244 kB / 407 MB, free: 4.352 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.03558, allocations: 135.1 kB / 407.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007746/0.03635, allocations: 0.8725 MB / 408 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.03635, allocations: 0 / 408 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.03687, allocations: 367.4 kB / 408.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.03738, allocations: 168.5 kB / 408.5 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.03925, allocations: 1.584 MB / 410.1 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.03938, allocations: 192.1 kB / 410.3 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.03963, allocations: 80.69 kB / 410.4 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.03989, allocations: 194.1 kB / 410.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03989, allocations: 0 / 410.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of Templates: time 0.01113/0.05102, allocations: 8.893 MB / 419.5 MB, free: 7.773 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.139230134896934]