Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 110.5 kB / 17.06 MB, free: 6.117 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.001478/0.001478, allocations: 198.9 kB / 18 MB, free: 5.195 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.436/1.436, 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.1718/0.1718, allocations: 38.04 MB / 329.9 MB, free: 8.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 458.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3158, allocations: 58.06 MB / 0.5041 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006025/0.3219, allocations: 6.638 MB / 0.5106 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.3246, allocations: 2.016 MB / 0.5125 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.3249, allocations: 22.56 kB / 0.5126 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3265, allocations: 0.7194 MB / 0.5133 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3276, allocations: 0.5838 MB / 0.5138 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.3282, allocations: 247.7 kB / 0.5141 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.3295, allocations: 1.139 MB / 0.5152 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008045/0.3303, allocations: 0.5927 MB / 0.5158 GB, free: 44 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009174/0.3312, allocations: 0.5235 MB / 0.5163 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008758/0.3321, allocations: 0.6063 MB / 0.5169 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3323, allocations: 73.44 kB / 0.5169 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.3328, allocations: 273.2 kB / 0.5172 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.3334, allocations: 479.4 kB / 0.5176 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.334, allocations: 494.5 kB / 0.5181 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3353, allocations: 1.183 MB / 0.5193 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3353, allocations: 1.469 kB / 0.5193 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3353, allocations: 0 / 0.5193 GB, free: 14.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3353, allocations: 0 / 0.5193 GB, free: 14.63 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002063/0.3374, allocations: 1.205 MB / 0.5205 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3375, allocations: 13.33 kB / 0.5205 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/0.3384, allocations: 164.4 kB / 0.5206 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3395, allocations: 0.6231 MB / 0.5212 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.3396, allocations: 68.34 kB / 0.5213 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.3398, allocations: 100.2 kB / 0.5214 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.3416, allocations: 1.154 MB / 0.5225 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.3417, allocations: 7.484 kB / 0.5225 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/0.3418, allocations: 40.22 kB / 0.5226 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.3419, allocations: 82.88 kB / 0.5226 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3436, allocations: 1.001 MB / 0.5236 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005407/0.349, allocations: 4.341 MB / 0.5279 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3502, allocations: 0.6294 MB / 0.5285 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.3507, allocations: 307.3 kB / 0.5288 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3507, allocations: 7.281 kB / 0.5288 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3508, allocations: 42.5 kB / 0.5288 GB, free: 9.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.355e-06/0.3508, allocations: 4 kB / 0.5288 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.00293/0.3537, allocations: 1.748 MB / 0.5305 GB, free: 8.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3538, allocations: 88.08 kB / 0.5306 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.3544, allocations: 0.5491 MB / 0.5311 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.3544, allocations: 40.3 kB / 0.5312 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3547, allocations: 435.5 kB / 0.5316 GB, free: 7.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.3549, allocations: 223.3 kB / 0.5318 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.3551, allocations: 182.8 kB / 0.532 GB, free: 6.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3553, allocations: 382 kB / 0.5323 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.3558, allocations: 284.7 kB / 0.5326 GB, free: 6.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.3565, allocations: 0.606 MB / 0.5332 GB, free: 5.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3576, allocations: 0.9714 MB / 0.5342 GB, free: 5.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3577, allocations: 3.906 kB / 0.5342 GB, free: 5.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002133/0.3598, allocations: 1.179 MB / 0.5353 GB, free: 4.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3598, allocations: 13.19 kB / 0.5353 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001333/0.3612, allocations: 0.7156 MB / 0.536 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/0.3619, allocations: 212.5 kB / 0.5362 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.3627, allocations: 222.1 kB / 0.5364 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/0.3674, allocations: 5.366 MB / 0.5417 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.368, allocations: 38.67 kB / 0.5417 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.3681, allocations: 43.84 kB / 0.5418 GB, free: 14.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005735/0.3687, allocations: 351.1 kB / 0.5421 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3688, allocations: 62.5 kB / 0.5422 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.3699, allocations: 0.6616 MB / 0.5428 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3699, allocations: 7.062 kB / 0.5428 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3699, allocations: 0 / 0.5428 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.3699, allocations: 9.328 kB / 0.5428 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.3723, allocations: 1.531 MB / 0.5443 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.3724, allocations: 9.688 kB / 0.5443 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/0.3731, allocations: 171.7 kB / 0.5445 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.3731, allocations: 3.844 kB / 0.5445 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.3732, allocations: 18.81 kB / 0.5445 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3732, allocations: 4.344 kB / 0.5445 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3732, allocations: 5.656 kB / 0.5445 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3746, allocations: 1.023 MB / 0.5455 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.3748, allocations: 179.4 kB / 0.5457 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.3749, allocations: 22.89 kB / 0.5457 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.3752, allocations: 18.03 kB / 0.5457 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3753, allocations: 53.52 kB / 0.5458 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.3753, allocations: 18.19 kB / 0.5458 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003725/0.3757, allocations: 357.8 kB / 0.5461 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3757, allocations: 1.281 kB / 0.5461 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008536/0.3766, allocations: 219.9 kB / 0.5463 GB, free: 11.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.0001358/0.3767, allocations: 127.1 kB / 0.5465 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3783, allocations: 1.103 MB / 0.5475 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3783, allocations: 0 / 0.5475 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.3787, allocations: 311.9 kB / 0.5478 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/0.3795, allocations: 161.5 kB / 0.548 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.3823, allocations: 1.92 MB / 0.5499 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.3829, allocations: 1.075 MB / 0.5509 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005012/0.3834, allocations: 221.6 kB / 0.5511 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3836, allocations: 63.42 kB / 0.5512 GB, free: 6.836 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3836, allocations: 0 / 0.5512 GB, free: 6.836 MB / 414.1 MB Notification: Performance of Templates: time 0.0144/0.398, allocations: 8.532 MB / 0.5595 GB, free: 14.34 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)