Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 112.7 kB / 17.75 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.001127/0.001127, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1786/0.1786, allocations: 38.02 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2831, allocations: 58.06 MB / 0.5047 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005353/0.2885, allocations: 5.441 MB / 0.5101 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.29, allocations: 1.104 MB / 0.5111 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.2902, allocations: 23.19 kB / 0.5112 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.2905, allocations: 82.56 kB / 0.5112 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.2911, allocations: 299.7 kB / 0.5115 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2914, allocations: 140.6 kB / 0.5117 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.292, allocations: 0.704 MB / 0.5123 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.2923, allocations: 174.4 kB / 0.5125 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.2927, allocations: 318.6 kB / 0.5128 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.2932, allocations: 330.3 kB / 0.5131 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.2933, allocations: 32.62 kB / 0.5132 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.2934, allocations: 33.69 kB / 0.5132 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.2936, allocations: 157.7 kB / 0.5133 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.2938, allocations: 241.7 kB / 0.5136 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.2943, allocations: 494.5 kB / 0.514 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2943, allocations: 1.156 kB / 0.514 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2943, allocations: 4 kB / 0.514 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.2943, allocations: 0 / 0.514 GB, free: 1.914 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001191/0.2955, allocations: 0.7878 MB / 0.5148 GB, free: 1.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2956, allocations: 16.86 kB / 0.5148 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.544e-05/0.2957, allocations: 53.31 kB / 0.5149 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.2963, allocations: 464.9 kB / 0.5153 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2963, allocations: 30.03 kB / 0.5154 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.2964, allocations: 36.36 kB / 0.5154 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.2971, allocations: 455.1 kB / 0.5158 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2971, allocations: 4.797 kB / 0.5158 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.2971, allocations: 16.22 kB / 0.5158 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2971, allocations: 9.406 kB / 0.5158 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.2977, allocations: 313 kB / 0.5161 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2997, allocations: 1.758 MB / 0.5179 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2999, allocations: 145.1 kB / 0.518 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.3, allocations: 58.36 kB / 0.5181 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3, allocations: 5.438 kB / 0.5181 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3001, allocations: 38.16 kB / 0.5181 GB, free: 15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.3001, allocations: 0 / 0.5181 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001042/0.3011, allocations: 0.6066 MB / 0.5187 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.3012, allocations: 110 kB / 0.5188 GB, free: 14.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.3017, allocations: 373.8 kB / 0.5192 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3017, allocations: 26.86 kB / 0.5192 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3019, allocations: 279.5 kB / 0.5194 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.3019, allocations: 57.2 kB / 0.5195 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.302, allocations: 60.23 kB / 0.5196 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3022, allocations: 347.8 kB / 0.5199 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.3023, allocations: 52.16 kB / 0.5199 GB, free: 13.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3025, allocations: 201.2 kB / 0.5201 GB, free: 13.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.3028, allocations: 267.5 kB / 0.5204 GB, free: 13.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3028, allocations: 1.125 kB / 0.5204 GB, free: 13.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004407/0.3032, allocations: 293.2 kB / 0.5207 GB, free: 12.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3033, allocations: 11.66 kB / 0.5207 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3033, allocations: 6.031 kB / 0.5207 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3033, allocations: 10.56 kB / 0.5207 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.3036, allocations: 69.84 kB / 0.5208 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.3036, allocations: 7.562 kB / 0.5208 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3038, allocations: 22.81 kB / 0.5208 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3038, allocations: 13.03 kB / 0.5208 GB, free: 12.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * 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 initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.304, allocations: 183.2 kB / 0.521 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.3041, allocations: 37.16 kB / 0.521 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.3044, allocations: 169.6 kB / 0.5212 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3044, allocations: 1.453 kB / 0.5212 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3044, allocations: 1.938 kB / 0.5212 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.3045, allocations: 111.1 kB / 0.5213 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.3046, allocations: 7.094 kB / 0.5213 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3048, allocations: 9.094 kB / 0.5213 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3048, allocations: 10.11 kB / 0.5213 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004615/0.3053, allocations: 403 kB / 0.5217 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004467/0.3057, allocations: 0.5332 MB / 0.5222 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.232e-05/0.3058, allocations: 49.05 kB / 0.5223 GB, free: 11.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.3061, allocations: 259.6 kB / 0.5225 GB, free: 11.56 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3061, allocations: 0 / 0.5225 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006654/0.3068, allocations: 197.5 kB / 0.5227 GB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.001755/0.3085, allocations: 1.356 MB / 0.524 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Templates: time 0.007829/0.3164, allocations: 3.503 MB / 0.5274 GB, free: 10.16 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)