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.001341/0.001341, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009649/0.0009649, allocations: 166.7 kB / 24.99 MB, free: 8.793 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 0.9733/0.9733, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2403/0.2403, allocations: 29.41 MB / 291.2 MB, free: 2.488 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 1.242e-06/1.242e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.816e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.012/0.01202, allocations: 5.404 MB / 375 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.01832, allocations: 2.249 MB / 377.3 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/0.01877, allocations: 35.75 kB / 377.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.02202, allocations: 278.1 kB / 377.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007585/0.02278, allocations: 361.6 kB / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.02377, allocations: 0.53 MB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.02477, allocations: 1.038 MB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.02537, allocations: 0.5487 MB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.02592, allocations: 0.5688 MB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.02624, allocations: 323 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.02632, allocations: 80 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.02665, allocations: 319.2 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.0268, allocations: 231.2 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.02697, allocations: 247.3 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.02763, allocations: 0.72 MB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.02763, allocations: 3.938 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02763, allocations: 0 / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.02764, allocations: 0 / 382.5 MB, free: 14.37 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.001153/0.02879, allocations: 1.138 MB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.02883, allocations: 19.97 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.02946, allocations: 244.2 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.0302, allocations: 0.5579 MB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.03023, allocations: 45.69 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.03031, allocations: 60.38 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.03101, allocations: 0.626 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.03103, allocations: 8.141 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.03106, allocations: 20.38 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.0311, allocations: 37.25 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.03157, allocations: 279.5 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.03393, allocations: 2.744 MB / 388.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.0346, allocations: 356.7 kB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.03476, allocations: 104.9 kB / 388.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.0348, allocations: 12.5 kB / 388.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.03482, allocations: 45.92 kB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 1.823e-06/0.03483, allocations: 4 kB / 388.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006153/0.03544, allocations: 388.8 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.0355, allocations: 141 kB / 389.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.03586, allocations: 495.4 kB / 389.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.03589, allocations: 37.7 kB / 389.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.03609, allocations: 411.5 kB / 390.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.03619, allocations: 190.3 kB / 390.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.03631, allocations: 112.1 kB / 390.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.03646, allocations: 0.5469 MB / 391.1 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.03677, allocations: 86.25 kB / 391.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.03701, allocations: 316.7 kB / 391.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.03743, allocations: 356.7 kB / 391.8 MB, free: 4.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.03743, allocations: 0 / 391.8 MB, free: 4.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007606/0.03819, allocations: 0.512 MB / 392.3 MB, free: 4.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.03821, allocations: 7.984 kB / 392.3 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.03822, allocations: 4.469 kB / 392.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.03853, allocations: 103.5 kB / 392.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.03885, allocations: 131.8 kB / 392.6 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.04049, allocations: 2.442 MB / 395 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.04068, allocations: 71.58 kB / 395.1 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.04071, allocations: 24.03 kB / 395.1 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002326/0.04094, allocations: 208.1 kB / 395.3 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003489/0.04129, allocations: 320.7 kB / 395.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003605/0.04165, allocations: 348.8 kB / 396 MB, free: 96 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.04165, allocations: 4 kB / 396 MB, free: 92 kB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0006253/0.04228, allocations: 488.4 kB / 396.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.04229, allocations: 4 kB / 396.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.04229, allocations: 4 kB / 396.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.04248, allocations: 88.14 kB / 396.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.04277, allocations: 131.8 kB / 396.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.04413, allocations: 2.392 MB / 399.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.04432, allocations: 59.66 kB / 399.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.04434, allocations: 23.98 kB / 399.1 MB, free: 12.79 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 (61): * Single equations (assignments): 60 * 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.0003557/0.0447, allocations: 303.9 kB / 399.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.04478, allocations: 79.61 kB / 399.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.04529, allocations: 359.9 kB / 399.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.0453, allocations: 4 kB / 399.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.0453, allocations: 0 / 399.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.0453, allocations: 4 kB / 399.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/0.04629, allocations: 0.9166 MB / 400.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.04629, allocations: 3.938 kB / 400.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.0466, allocations: 107.9 kB / 400.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.0466, allocations: 112 / 400.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.04663, allocations: 23.92 kB / 400.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.04664, allocations: 4 kB / 400.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.04664, allocations: 3.984 kB / 400.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.04728, allocations: 0.5833 MB / 401.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.04741, allocations: 111.5 kB / 401.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.04745, allocations: 12 kB / 401.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.04761, allocations: 23.98 kB / 401.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.04768, allocations: 44.36 kB / 401.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.0477, allocations: 16 kB / 401.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.04794, allocations: 322.8 kB / 402 MB, free: 9.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.04794, allocations: 0 / 402 MB, free: 9.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.04851, allocations: 287.2 kB / 402.3 MB, free: 9.531 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.0001104/0.04862, allocations: 111.2 kB / 402.4 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009691/0.04959, allocations: 0.862 MB / 403.3 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.04959, allocations: 1.312 kB / 403.3 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.04978, allocations: 151.4 kB / 403.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.05023, allocations: 149.3 kB / 403.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.05201, allocations: 1.315 MB / 404.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.05212, allocations: 166.9 kB / 405 MB, free: 6.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.05236, allocations: 108.3 kB / 405.2 MB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.05246, allocations: 44.5 kB / 405.2 MB, free: 6.539 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.05246, allocations: 0 / 405.2 MB, free: 6.539 MB / 378.7 MB Notification: Performance of Templates: time 0.01087/0.06333, allocations: 8.065 MB / 413.3 MB, free: 14.57 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.091955636162311]