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.001249/0.001249, allocations: 107.3 kB / 17.06 MB, free: 6.016 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.001498/0.001498, allocations: 192 kB / 18 MB, free: 5.102 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.545/1.545, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2557/0.2557, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4339, allocations: 58.05 MB / 0.5041 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006479/0.4404, allocations: 5.432 MB / 0.5094 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.4424, allocations: 1.107 MB / 0.5105 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.4426, allocations: 22.66 kB / 0.5105 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.4429, allocations: 82.06 kB / 0.5106 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.4438, allocations: 294.5 kB / 0.5108 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.4442, allocations: 139.2 kB / 0.511 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008292/0.445, allocations: 0.7001 MB / 0.5117 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.4454, allocations: 185 kB / 0.5118 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.4458, allocations: 309.2 kB / 0.5121 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.4463, allocations: 320.1 kB / 0.5124 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.4464, allocations: 33.84 kB / 0.5125 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.4465, allocations: 33.5 kB / 0.5125 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.4467, allocations: 160.8 kB / 0.5127 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.447, allocations: 246.7 kB / 0.5129 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.4476, allocations: 494.3 kB / 0.5134 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4476, allocations: 0.7969 kB / 0.5134 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4476, allocations: 0 / 0.5134 GB, free: 1.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4477, allocations: 1.125 kB / 0.5134 GB, free: 1.824 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.001369/0.449, allocations: 0.8128 MB / 0.5142 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4491, allocations: 15.14 kB / 0.5142 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.4492, allocations: 52.92 kB / 0.5142 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.4499, allocations: 465.7 kB / 0.5147 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.45, allocations: 31.53 kB / 0.5147 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.4501, allocations: 36.31 kB / 0.5147 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.4509, allocations: 455.8 kB / 0.5152 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4509, allocations: 9.344 kB / 0.5152 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.451, allocations: 15.06 kB / 0.5152 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.451, allocations: 9.25 kB / 0.5152 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.4516, allocations: 305.8 kB / 0.5155 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.454, allocations: 1.77 MB / 0.5172 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4544, allocations: 140.6 kB / 0.5174 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4545, allocations: 57.72 kB / 0.5174 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.4545, allocations: 7.047 kB / 0.5174 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4545, allocations: 36.17 kB / 0.5175 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4546, allocations: 1.094 kB / 0.5175 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001287/0.4558, allocations: 0.6203 MB / 0.5181 GB, free: 14.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.4559, allocations: 104.9 kB / 0.5182 GB, free: 14.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.4566, allocations: 374.5 kB / 0.5185 GB, free: 14.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.4566, allocations: 34.89 kB / 0.5185 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.4568, allocations: 291.7 kB / 0.5188 GB, free: 13.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.4569, allocations: 64.36 kB / 0.5189 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.457, allocations: 60.27 kB / 0.5189 GB, free: 13.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4572, allocations: 348 kB / 0.5193 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.4573, allocations: 49.48 kB / 0.5193 GB, free: 13.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.4575, allocations: 190 kB / 0.5195 GB, free: 13.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.4579, allocations: 271.1 kB / 0.5198 GB, free: 12.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4579, allocations: 1.219 kB / 0.5198 GB, free: 12.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004624/0.4584, allocations: 293.5 kB / 0.52 GB, free: 12.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4584, allocations: 12.03 kB / 0.5201 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4584, allocations: 5.156 kB / 0.5201 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.4584, allocations: 6.938 kB / 0.5201 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4587, allocations: 73.33 kB / 0.5201 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.4587, allocations: 8.141 kB / 0.5201 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.4589, allocations: 10.12 kB / 0.5202 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.4589, allocations: 18.94 kB / 0.5202 GB, free: 12.72 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.0001944/0.4591, allocations: 185.9 kB / 0.5204 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.4592, allocations: 45.19 kB / 0.5204 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.4596, allocations: 170.5 kB / 0.5206 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4596, allocations: 2.281 kB / 0.5206 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4596, allocations: 1.125 kB / 0.5206 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4596, allocations: 2 kB / 0.5206 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.4603, allocations: 0.5257 MB / 0.5211 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4604, allocations: 5.5 kB / 0.5211 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.4605, allocations: 40.45 kB / 0.5211 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4606, allocations: 1.312 kB / 0.5211 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4606, allocations: 3.688 kB / 0.5211 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4606, allocations: 1.562 kB / 0.5211 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4606, allocations: 6 kB / 0.5211 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.461, allocations: 405.6 kB / 0.5215 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.4611, allocations: 116.2 kB / 0.5216 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.4612, allocations: 3.062 kB / 0.5216 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4613, allocations: 9.156 kB / 0.5216 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.4614, allocations: 10.81 kB / 0.5216 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4614, allocations: 12.92 kB / 0.5217 GB, free: 11.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4616, allocations: 251.2 kB / 0.5219 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4616, allocations: 0 / 0.5219 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.4621, allocations: 78.31 kB / 0.522 GB, free: 11.44 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001071/0.4622, allocations: 101.8 kB / 0.5221 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.4625, allocations: 151.8 kB / 0.5222 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4625, allocations: 1.156 kB / 0.5222 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.4626, allocations: 63.62 kB / 0.5223 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.4633, allocations: 90.66 kB / 0.5224 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4648, allocations: 0.8734 MB / 0.5232 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.4652, allocations: 0.8422 MB / 0.524 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.4654, allocations: 47.94 kB / 0.5241 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.4655, allocations: 34.28 kB / 0.5241 GB, free: 9.945 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4655, allocations: 0 / 0.5241 GB, free: 9.945 MB / 398.1 MB Notification: Performance of Templates: time 0.008197/0.4737, allocations: 3.284 MB / 0.5273 GB, free: 9.676 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)