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.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 111.7 kB / 17.68 MB, free: 5.332 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.002292/0.002292, allocations: 192 kB / 18.62 MB, free: 4.41 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.522/1.522, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1777/0.1777, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.001433/0.001433, allocations: 75.7 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.265, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006606/0.2717, allocations: 5.438 MB / 437.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.2756, allocations: 2.296 MB / 439.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.2764, allocations: 27.81 kB / 439.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2774, allocations: 266.2 kB / 440 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.2783, allocations: 354 kB / 440.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009943/0.2793, allocations: 0.5075 MB / 440.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009477/0.2802, allocations: 1.054 MB / 441.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007019/0.2809, allocations: 0.6075 MB / 442.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.2813, allocations: 398.4 kB / 442.9 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.2817, allocations: 398.1 kB / 443.3 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.031e-05/0.2818, allocations: 80 kB / 443.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.2823, allocations: 351.3 kB / 443.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.2824, allocations: 223.3 kB / 444 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.2827, allocations: 389.9 kB / 444.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008738/0.2836, allocations: 1.086 MB / 445.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2836, allocations: 0 / 445.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2836, allocations: 0 / 445.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.2836, allocations: 3.938 kB / 445.4 MB, free: 6.016 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.001849/0.2855, allocations: 1.125 MB / 446.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2855, allocations: 11.89 kB / 446.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.2863, allocations: 163.8 kB / 446.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.2872, allocations: 0.6124 MB / 447.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.2872, allocations: 49.69 kB / 447.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.2873, allocations: 60.38 kB / 447.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.2884, allocations: 0.7642 MB / 448.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2884, allocations: 3.938 kB / 448.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.2885, allocations: 27.98 kB / 448.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.2885, allocations: 33.3 kB / 448.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.2895, allocations: 0.6297 MB / 448.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.2929, allocations: 2.895 MB / 451.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2943, allocations: 0.6996 MB / 452.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.2947, allocations: 230.9 kB / 452.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.2948, allocations: 8.438 kB / 452.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.2948, allocations: 39 kB / 452.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/0.2949, allocations: 0 / 452.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001595/0.2965, allocations: 0.7018 MB / 453.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.2965, allocations: 111.3 kB / 453.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.2974, allocations: 0.594 MB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.2974, allocations: 37.7 kB / 454.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.2977, allocations: 352.4 kB / 454.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2979, allocations: 177.4 kB / 454.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.298, allocations: 102.2 kB / 454.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2982, allocations: 374.8 kB / 455.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.2987, allocations: 215 kB / 455.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.2992, allocations: 344.5 kB / 455.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.3002, allocations: 0.549 MB / 456.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3002, allocations: 7.938 kB / 456.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001675/0.3019, allocations: 0.7768 MB / 457.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3019, allocations: 8 kB / 457.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3019, allocations: 4.406 kB / 457.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/0.3024, allocations: 112.8 kB / 457.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.3029, allocations: 135.7 kB / 457.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.3059, allocations: 2.42 MB / 459.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.3064, allocations: 91.39 kB / 459.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.3065, allocations: 20 kB / 459.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006511/0.3072, allocations: 373.1 kB / 460.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004627/0.3076, allocations: 324.5 kB / 460.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008796/0.3085, allocations: 0.5334 MB / 461.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.3085, allocations: 0 / 461.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001327/0.3099, allocations: 0.7026 MB / 461.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3099, allocations: 11.98 kB / 461.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3099, allocations: 8 kB / 461.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.3102, allocations: 104.8 kB / 461.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.3107, allocations: 131.8 kB / 462 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.3129, allocations: 2.217 MB / 464.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.3134, allocations: 67.62 kB / 464.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.3134, allocations: 24 kB / 464.3 MB, free: 2.234 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 (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.0002121/0.3137, allocations: 212.1 kB / 464.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3138, allocations: 75.08 kB / 464.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.315, allocations: 0.5617 MB / 465.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.315, allocations: 4 kB / 465.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.315, allocations: 0 / 465.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.315, allocations: 112 / 465.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.3171, allocations: 1.322 MB / 466.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3171, allocations: 0 / 466.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.3176, allocations: 103.8 kB / 466.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3176, allocations: 4 kB / 466.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.3177, allocations: 19.92 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3177, allocations: 4 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3177, allocations: 4 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.3192, allocations: 0.9061 MB / 467.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.3195, allocations: 192.1 kB / 467.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.3196, allocations: 12 kB / 467.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.32, allocations: 35.95 kB / 467.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3201, allocations: 36.39 kB / 467.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.3201, allocations: 16.09 kB / 467.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005861/0.3207, allocations: 431 kB / 468.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3207, allocations: 0 / 468.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009657/0.3217, allocations: 267.2 kB / 468.5 MB, free: 13.95 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 (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.000149/0.3219, allocations: 111.2 kB / 468.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.3239, allocations: 1.091 MB / 469.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3239, allocations: 0 / 469.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.3244, allocations: 263.2 kB / 470 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.3251, allocations: 143.4 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3278, allocations: 1.511 MB / 471.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.3284, allocations: 0.9418 MB / 472.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.3288, allocations: 132.5 kB / 472.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.329, allocations: 47.42 kB / 472.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.329, allocations: 0 / 472.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01545/0.3444, allocations: 8.23 MB / 481 MB, free: 1.426 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (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=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)