Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001141/0.001141, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.628/1.628, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1942/0.1942, allocations: 38.04 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.91 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4176, allocations: 58.07 MB / 0.5041 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007824/0.4255, allocations: 6.087 MB / 0.51 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004535/0.4301, allocations: 1.945 MB / 0.5119 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.4306, allocations: 26.78 kB / 0.512 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.4328, allocations: 0.6901 MB / 0.5126 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009925/0.4338, allocations: 376.4 kB / 0.513 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.435, allocations: 396.7 kB / 0.5134 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.4364, allocations: 0.9458 MB / 0.5143 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009628/0.4374, allocations: 0.502 MB / 0.5148 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.4382, allocations: 426.1 kB / 0.5152 GB, free: 500 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.4391, allocations: 0.5282 MB / 0.5157 GB, free: 300 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.4392, allocations: 57.78 kB / 0.5158 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.4398, allocations: 233.8 kB / 0.516 GB, free: 240 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005705/0.4404, allocations: 420.6 kB / 0.5164 GB, free: 104 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.4409, allocations: 424.8 kB / 0.5168 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.4427, allocations: 1.02 MB / 0.5178 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4427, allocations: 0 / 0.5178 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4427, allocations: 0.8438 kB / 0.5178 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.4427, allocations: 4 kB / 0.5178 GB, free: 15.47 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002219/0.4449, allocations: 1.082 MB / 0.5188 GB, free: 14.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.445, allocations: 12.23 kB / 0.5189 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/0.4458, allocations: 153.3 kB / 0.519 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4469, allocations: 0.5452 MB / 0.5195 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.4469, allocations: 57.58 kB / 0.5196 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.447, allocations: 85.78 kB / 0.5197 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.4488, allocations: 1.131 MB / 0.5208 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.4489, allocations: 10.84 kB / 0.5208 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.449, allocations: 34.14 kB / 0.5208 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.4491, allocations: 50.83 kB / 0.5209 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.4505, allocations: 0.8634 MB / 0.5217 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006018/0.4565, allocations: 5.053 MB / 0.5266 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.4574, allocations: 421.5 kB / 0.527 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.4577, allocations: 206.3 kB / 0.5272 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.4578, allocations: 23.39 kB / 0.5273 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4578, allocations: 37.83 kB / 0.5273 GB, free: 9.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 3.116e-06/0.4578, allocations: 0 / 0.5273 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002293/0.4601, allocations: 1.078 MB / 0.5284 GB, free: 8.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.4602, allocations: 87.27 kB / 0.5284 GB, free: 8.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.461, allocations: 0.4916 MB / 0.5289 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.4611, allocations: 38.98 kB / 0.529 GB, free: 8.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.4615, allocations: 465.5 kB / 0.5294 GB, free: 7.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.4617, allocations: 162.9 kB / 0.5296 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.462, allocations: 155.1 kB / 0.5297 GB, free: 7.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4622, allocations: 363 kB / 0.53 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.4626, allocations: 241.8 kB / 0.5303 GB, free: 7.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.4633, allocations: 0.6168 MB / 0.5309 GB, free: 6.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.4645, allocations: 0.9479 MB / 0.5318 GB, free: 5.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.4645, allocations: 3.594 kB / 0.5318 GB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001444/0.4659, allocations: 0.8947 MB / 0.5327 GB, free: 5.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.466, allocations: 11.22 kB / 0.5327 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.466, allocations: 22.28 kB / 0.5327 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/0.466, allocations: 19.25 kB / 0.5327 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.4668, allocations: 219.8 kB / 0.5329 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.921e-05/0.4669, allocations: 25.95 kB / 0.533 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.4674, allocations: 53.17 kB / 0.533 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.4675, allocations: 44.5 kB / 0.5331 GB, free: 5.516 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.000512/0.468, allocations: 311.3 kB / 0.5334 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4681, allocations: 56.44 kB / 0.5334 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.4692, allocations: 0.562 MB / 0.534 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.4692, allocations: 5.281 kB / 0.534 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4692, allocations: 0 / 0.534 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4692, allocations: 5.078 kB / 0.534 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.4715, allocations: 1.333 MB / 0.5353 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4715, allocations: 2.969 kB / 0.5353 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.4719, allocations: 112.3 kB / 0.5354 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.4719, allocations: 7.75 kB / 0.5354 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.472, allocations: 13.95 kB / 0.5354 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.472, allocations: 8.078 kB / 0.5354 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.472, allocations: 7.25 kB / 0.5354 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.4728, allocations: 0.6468 MB / 0.536 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.473, allocations: 133.1 kB / 0.5362 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.4731, allocations: 21.95 kB / 0.5362 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.4733, allocations: 16.08 kB / 0.5362 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.4734, allocations: 44.39 kB / 0.5363 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.4734, allocations: 16.44 kB / 0.5363 GB, free: 3.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003906/0.4738, allocations: 332 kB / 0.5366 GB, free: 3.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4738, allocations: 0 / 0.5366 GB, free: 3.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008365/0.4747, allocations: 157.8 kB / 0.5367 GB, free: 3.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 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.000146/0.4748, allocations: 114.8 kB / 0.5368 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4759, allocations: 0.6051 MB / 0.5374 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4759, allocations: 1.844 kB / 0.5374 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.4763, allocations: 249.4 kB / 0.5377 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.477, allocations: 111.2 kB / 0.5378 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4794, allocations: 1.368 MB / 0.5391 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.4801, allocations: 1.008 MB / 0.5401 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005175/0.4806, allocations: 226 kB / 0.5403 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.4808, allocations: 50.5 kB / 0.5404 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4808, allocations: 0 / 0.5404 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Templates: time 0.01226/0.4931, allocations: 5.717 MB / 0.5459 GB, free: 12.62 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)