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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009009/0.0009011, allocations: 91.5 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 182.2 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1722/0.1722, allocations: 38.05 MB / 310.1 MB, free: 5.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005517, allocations: 12 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2667, allocations: 56.34 MB / 433.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.004878/0.2716, allocations: 5.426 MB / 438.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.2749, allocations: 2.398 MB / 441.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.2755, allocations: 31.81 kB / 441.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.276, allocations: 99.14 kB / 441.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.2767, allocations: 310.5 kB / 441.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.2777, allocations: 462.4 kB / 442.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008226/0.2785, allocations: 1.143 MB / 443.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008689/0.2794, allocations: 0.716 MB / 444.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.2797, allocations: 298.4 kB / 444.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.28, allocations: 338.2 kB / 444.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.2801, allocations: 24 kB / 444.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.2806, allocations: 379.1 kB / 445.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2807, allocations: 151.3 kB / 445.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.2809, allocations: 347.5 kB / 445.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.2816, allocations: 1.02 MB / 446.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2816, allocations: 0 / 446.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2816, allocations: 0 / 446.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.2816, allocations: 0 / 446.6 MB, free: 5.484 MB / 318.1 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.001682/0.2833, allocations: 1.013 MB / 447.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2834, allocations: 8.031 kB / 447.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.2841, allocations: 167.7 kB / 447.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.2849, allocations: 0.5774 MB / 448.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.285, allocations: 57.66 kB / 448.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.2851, allocations: 64.28 kB / 448.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.2863, allocations: 0.7838 MB / 449.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.2863, allocations: 4 kB / 449.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.2864, allocations: 24 kB / 449.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.2864, allocations: 29.25 kB / 449.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2876, allocations: 0.6882 MB / 450 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.2911, allocations: 2.953 MB / 452.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.2927, allocations: 0.7733 MB / 453.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.2932, allocations: 263 kB / 454 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.2933, allocations: 12.38 kB / 454 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2933, allocations: 38.98 kB / 454 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.284e-06/0.2933, allocations: 4 kB / 454 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001741/0.2951, allocations: 0.795 MB / 454.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.2951, allocations: 115.2 kB / 454.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.2959, allocations: 0.5823 MB / 455.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.2959, allocations: 37.7 kB / 455.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.2962, allocations: 353.1 kB / 455.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2963, allocations: 177.4 kB / 456.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.2964, allocations: 57.69 kB / 456.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2966, allocations: 378.8 kB / 456.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.2971, allocations: 241.1 kB / 456.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.2977, allocations: 381.5 kB / 457.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2989, allocations: 0.6134 MB / 457.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2989, allocations: 3.938 kB / 457.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001885/0.3008, allocations: 0.8695 MB / 458.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.3009, allocations: 200.6 kB / 458.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3009, allocations: 4 kB / 458.8 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.3013, allocations: 120.7 kB / 458.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.3019, allocations: 139.9 kB / 459 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.3047, allocations: 2.264 MB / 461.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.3052, allocations: 99.39 kB / 461.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.3053, allocations: 24 kB / 461.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.3053, allocations: 4 kB / 461.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001378/0.3067, allocations: 0.6695 MB / 462.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3067, allocations: 7.984 kB / 462.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.307, allocations: 96.8 kB / 462.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.3075, allocations: 144.2 kB / 462.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.3095, allocations: 2.022 MB / 464.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.31, allocations: 91.48 kB / 464.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.31, allocations: 20 kB / 464.5 MB, free: 2.773 MB / 334.1 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.0003661/0.3104, allocations: 308.9 kB / 464.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3105, allocations: 71.14 kB / 464.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3119, allocations: 0.624 MB / 465.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3119, allocations: 4 kB / 465.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3119, allocations: 4 kB / 465.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3119, allocations: 3.984 kB / 465.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3141, allocations: 1.388 MB / 466.9 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3141, allocations: 0 / 466.9 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.3147, allocations: 123.9 kB / 467 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3147, allocations: 4 kB / 467 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.3148, allocations: 12 kB / 467 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3148, allocations: 4 kB / 467 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3148, allocations: 0 / 467 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.3167, allocations: 1.014 MB / 468 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.3169, allocations: 196.1 kB / 468.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.317, allocations: 12 kB / 468.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.3174, allocations: 47.95 kB / 468.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3175, allocations: 44.42 kB / 468.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.3176, allocations: 16.31 kB / 468.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000588/0.3181, allocations: 427 kB / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3182, allocations: 4 kB / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000957/0.3191, allocations: 271.2 kB / 469 MB, free: 14.11 MB / 350.1 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.0001605/0.3193, allocations: 107.2 kB / 469.1 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.3215, allocations: 1.179 MB / 470.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3215, allocations: 0 / 470.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.3221, allocations: 294.4 kB / 470.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008976/0.323, allocations: 146.9 kB / 470.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.326, allocations: 1.893 MB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3265, allocations: 0.9499 MB / 473.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004721/0.327, allocations: 124.6 kB / 473.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.3271, allocations: 43.42 kB / 473.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3271, allocations: 0 / 473.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Templates: time 0.01441/0.3415, allocations: 7.78 MB / 481.5 MB, free: 1.539 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) Environment - environmentSimulation: