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.002237/0.002237, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.002425/0.002425, allocations: 197.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.803/2.803, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4364/0.4364, allocations: 38.02 MB / 330 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002986, allocations: 63.94 kB / 398.9 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.235, allocations: 58.06 MB / 457 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.02038/0.2554, allocations: 7.684 MB / 464.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.2672, allocations: 2.325 MB / 467 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.2694, allocations: 47.69 kB / 467 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.2733, allocations: 0.6657 MB / 467.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.2764, allocations: 0.5291 MB / 468.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.2781, allocations: 219.7 kB / 468.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00296/0.2811, allocations: 1.145 MB / 469.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.2833, allocations: 0.6499 MB / 470.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.2851, allocations: 0.5174 MB / 470.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.2871, allocations: 0.6659 MB / 471.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.2873, allocations: 68 kB / 471.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.2884, allocations: 271.7 kB / 471.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008457/0.2893, allocations: 482.9 kB / 472.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009521/0.2903, allocations: 0.4936 MB / 472.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.292, allocations: 0.8966 MB / 473.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2921, allocations: 0 / 473.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2921, allocations: 0 / 473.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.2921, allocations: 0 / 473.6 MB, free: 7.684 MB / 350.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.02095/0.3131, allocations: 1.223 MB / 474.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.3132, allocations: 11.89 kB / 474.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.3154, allocations: 163.6 kB / 475 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.3177, allocations: 0.5889 MB / 475.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.3179, allocations: 70.34 kB / 475.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000568/0.3185, allocations: 96.09 kB / 475.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.3222, allocations: 1.153 MB / 476.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.949e-05/0.3223, allocations: 11.84 kB / 476.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.3225, allocations: 39.98 kB / 477 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.3228, allocations: 81.95 kB / 477.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.3256, allocations: 0.999 MB / 478.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.3554, allocations: 4.366 MB / 482.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/0.3739, allocations: 0.6217 MB / 483 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.3755, allocations: 309.6 kB / 483.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.3756, allocations: 24.42 kB / 483.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.647e-05/0.3757, allocations: 39.11 kB / 483.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 6.713e-06/0.3758, allocations: 0 / 483.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.006921/0.3827, allocations: 1.73 MB / 485.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3829, allocations: 89.73 kB / 485.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.3842, allocations: 0.5493 MB / 485.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3844, allocations: 37.7 kB / 485.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/0.3849, allocations: 438.7 kB / 486.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.3853, allocations: 224.8 kB / 486.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000507/0.3858, allocations: 190.4 kB / 486.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003055/0.3862, allocations: 374.8 kB / 487 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.3872, allocations: 289.8 kB / 487.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.3886, allocations: 0.6192 MB / 487.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01887/0.4075, allocations: 0.9691 MB / 488.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-05/0.4076, allocations: 3.984 kB / 488.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004955/0.4126, allocations: 1.164 MB / 490 MB, free: 6.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.4127, allocations: 16.22 kB / 490.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002519/0.4152, allocations: 0.7144 MB / 490.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.4165, allocations: 214.4 kB / 491 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4179, allocations: 223.6 kB / 491.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/0.443, allocations: 5.377 MB / 496.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4442, allocations: 31.91 kB / 496.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4444, allocations: 47.98 kB / 496.7 MB, free: 15.36 MB / 382.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.0008459/0.4453, allocations: 345.6 kB / 497 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.4454, allocations: 63.25 kB / 497.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.4473, allocations: 0.6615 MB / 497.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4473, allocations: 8 kB / 497.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4474, allocations: 0 / 497.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4474, allocations: 3.984 kB / 497.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.4513, allocations: 1.539 MB / 499.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4513, allocations: 0 / 499.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.4526, allocations: 172 kB / 499.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.4527, allocations: 4 kB / 499.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.4528, allocations: 19.98 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/0.4528, allocations: 7.938 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4528, allocations: 0 / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.4555, allocations: 1.026 MB / 0.4888 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/0.4562, allocations: 180.3 kB / 0.4889 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4564, allocations: 16 kB / 0.489 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.457, allocations: 23.92 kB / 0.489 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.4572, allocations: 48.44 kB / 0.489 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.4573, allocations: 24 kB / 0.489 GB, free: 11.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.4593, allocations: 358.8 kB / 0.4894 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4593, allocations: 3.938 kB / 0.4894 GB, free: 10.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001942/0.4612, allocations: 220 kB / 0.4896 GB, free: 10.52 MB / 382.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.0003049/0.4616, allocations: 127.9 kB / 0.4897 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.4657, allocations: 1.288 MB / 0.491 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.4657, allocations: 0 / 0.491 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.467, allocations: 311 kB / 0.4913 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.4687, allocations: 160.8 kB / 0.4914 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007816/0.4766, allocations: 2.375 MB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.4784, allocations: 1.075 MB / 0.4948 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.479, allocations: 59.42 kB / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.468e-06/0.479, allocations: 0 / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of Templates: time 0.03747/0.5165, allocations: 13.99 MB / 0.5085 GB, free: 7.023 MB / 398.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)