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.0009463/0.0009463, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009207/0.0009207, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9167/0.9167, allocations: 177.1 MB / 205 MB, free: 5.293 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.2331/0.2331, allocations: 29.42 MB / 290.9 MB, free: 2.445 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.395e-06/2.395e-06, allocations: 3.938 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.733e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007717/0.007745, allocations: 5.295 MB / 374.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.01137, allocations: 1.881 MB / 376.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005601/0.01193, allocations: 35.75 kB / 376.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.01287, allocations: 230.3 kB / 377.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.01371, allocations: 313.8 kB / 377.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.01487, allocations: 0.5184 MB / 377.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.01609, allocations: 1.034 MB / 378.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009308/0.01702, allocations: 0.5448 MB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009004/0.01792, allocations: 0.565 MB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/0.0185, allocations: 326.9 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.01864, allocations: 84 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.01908, allocations: 255.5 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.01928, allocations: 227.2 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.01957, allocations: 255.3 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.02061, allocations: 0.6887 MB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.02061, allocations: 4 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.02061, allocations: 4 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.02063, allocations: 0 / 381.9 MB, free: 14.71 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.001751/0.02238, allocations: 1.134 MB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.02242, allocations: 11.98 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.02333, allocations: 244.2 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.02427, allocations: 0.554 MB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.02432, allocations: 53.69 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.02444, allocations: 60.38 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.0255, allocations: 0.6221 MB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.02552, allocations: 4.141 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.02558, allocations: 24.38 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.02563, allocations: 29.25 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.02636, allocations: 295.5 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.02997, allocations: 2.74 MB / 387.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/0.03083, allocations: 352.8 kB / 388 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.03104, allocations: 108.9 kB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.03108, allocations: 8.5 kB / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.03112, allocations: 49.91 kB / 388.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.585e-06/0.03112, allocations: 0 / 388.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.000844/0.03197, allocations: 396.7 kB / 388.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.03204, allocations: 137 kB / 388.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.03252, allocations: 499.4 kB / 389.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.03256, allocations: 37.7 kB / 389.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.03283, allocations: 407.5 kB / 389.6 MB, free: 6.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.03296, allocations: 190.4 kB / 389.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.03313, allocations: 104 kB / 389.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.03332, allocations: 0.543 MB / 390.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.03356, allocations: 86.25 kB / 390.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.0339, allocations: 312.9 kB / 390.8 MB, free: 5.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.03454, allocations: 345.1 kB / 391.1 MB, free: 4.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.03455, allocations: 8 kB / 391.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008188/0.03537, allocations: 0.4968 MB / 391.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.03538, allocations: 8 kB / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.03539, allocations: 4 kB / 391.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.03572, allocations: 107 kB / 391.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.03604, allocations: 131.9 kB / 391.9 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.03758, allocations: 2.431 MB / 394.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.0378, allocations: 79.52 kB / 394.4 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.03783, allocations: 23.98 kB / 394.4 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002426/0.03807, allocations: 208.1 kB / 394.6 MB, free: 1.301 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002263/0.0383, allocations: 309.1 kB / 394.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003455/0.03865, allocations: 341.1 kB / 395.2 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.03865, allocations: 0 / 395.2 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0005701/0.03922, allocations: 484.3 kB / 395.7 MB, free: 36 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.03923, allocations: 8 kB / 395.7 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.03923, allocations: 4 kB / 395.7 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.03941, allocations: 83.61 kB / 395.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.03969, allocations: 131.8 kB / 395.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.04096, allocations: 2.392 MB / 398.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.04119, allocations: 55.7 kB / 398.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.04122, allocations: 20 kB / 398.4 MB, free: 13.23 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.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.0001493/0.04137, allocations: 303.9 kB / 398.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.04145, allocations: 99.53 kB / 398.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.04193, allocations: 344.1 kB / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.04193, allocations: 4 kB / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.04193, allocations: 0 / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.04194, allocations: 11.92 kB / 399.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.04298, allocations: 0.9167 MB / 400.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.04298, allocations: 0 / 400.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.04329, allocations: 115.8 kB / 400.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0433, allocations: 0 / 400.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.04332, allocations: 8 kB / 400.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.04333, allocations: 4 kB / 400.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.04333, allocations: 0 / 400.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.04397, allocations: 0.5834 MB / 400.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.0441, allocations: 111.4 kB / 400.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.04415, allocations: 15.98 kB / 400.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.04431, allocations: 27.98 kB / 400.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.04438, allocations: 44.3 kB / 401 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.0444, allocations: 16 kB / 401 MB, free: 10.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.04462, allocations: 322.8 kB / 401.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04462, allocations: 0 / 401.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.04517, allocations: 283.2 kB / 401.6 MB, free: 9.973 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.0001055/0.04527, allocations: 107.2 kB / 401.7 MB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008939/0.04617, allocations: 0.8592 MB / 402.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.04617, allocations: 0 / 402.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.04635, allocations: 147.5 kB / 402.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.04678, allocations: 164.1 kB / 402.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.04861, allocations: 1.312 MB / 404.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.04871, allocations: 170.8 kB / 404.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.04895, allocations: 108.3 kB / 404.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.04906, allocations: 40.48 kB / 404.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04906, allocations: 0 / 404.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01016/0.05922, allocations: 8.404 MB / 412.9 MB, free: 14.68 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: 2.9102750988677144]