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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001518/0.001518, allocations: 94.05 kB / 16.3 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.001955/0.001955, allocations: 183.8 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 223.4 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3536/0.3536, allocations: 38.04 MB / 309.7 MB, free: 8.855 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005491, allocations: 16 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1474, allocations: 56.33 MB / 432.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007606/0.155, allocations: 6.537 MB / 439.3 MB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.1594, allocations: 2.277 MB / 441.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.16, allocations: 39.75 kB / 441.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.1604, allocations: 135.1 kB / 441.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1619, allocations: 466.6 kB / 442.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.1628, allocations: 267.4 kB / 442.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000699/0.1635, allocations: 0.5574 MB / 443.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.1649, allocations: 0.9006 MB / 444 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.1655, allocations: 374.6 kB / 444.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.1661, allocations: 402.7 kB / 444.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.1662, allocations: 32 kB / 444.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1667, allocations: 223.7 kB / 445 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.1671, allocations: 411 kB / 445.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1673, allocations: 193.2 kB / 445.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008057/0.1681, allocations: 0.8806 MB / 446.4 MB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1681, allocations: 0 / 446.4 MB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1681, allocations: 0 / 446.4 MB, free: 9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1681, allocations: 0 / 446.4 MB, free: 9 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001783/0.1699, allocations: 1.055 MB / 447.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.17, allocations: 8.031 kB / 447.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/0.1709, allocations: 170.7 kB / 447.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.172, allocations: 0.5762 MB / 448.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.172, allocations: 65.98 kB / 448.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.1723, allocations: 103.8 kB / 448.4 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1738, allocations: 1.141 MB / 449.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.1739, allocations: 0 / 449.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.174, allocations: 39.92 kB / 449.6 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.1741, allocations: 93.89 kB / 449.7 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.1757, allocations: 0.9874 MB / 450.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005235/0.181, allocations: 4.374 MB / 455.1 MB, free: 20 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2585/0.4395, allocations: 0.6204 MB / 455.7 MB, free: 51.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.4396, allocations: 12.19 kB / 455.7 MB, free: 51.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4396, allocations: 39.25 kB / 455.7 MB, free: 51.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.085e-06/0.4397, allocations: 0 / 455.7 MB, free: 51.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.002769/0.4424, allocations: 1.723 MB / 457.4 MB, free: 50.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.4425, allocations: 95.97 kB / 457.5 MB, free: 50.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.443, allocations: 0.5419 MB / 458.1 MB, free: 50.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.443, allocations: 39.17 kB / 458.1 MB, free: 50.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.4432, allocations: 438.6 kB / 458.5 MB, free: 50.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4434, allocations: 221 kB / 458.8 MB, free: 50.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.4434, allocations: 22.39 kB / 458.8 MB, free: 50.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.4435, allocations: 381.1 kB / 459.2 MB, free: 50 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.4439, allocations: 278.8 kB / 459.4 MB, free: 50 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.4445, allocations: 0.6081 MB / 460 MB, free: 49.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.445, allocations: 392.1 kB / 460.4 MB, free: 49.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.445, allocations: 2.875 kB / 460.4 MB, free: 49.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00184/0.4468, allocations: 1.169 MB / 461.6 MB, free: 49.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4469, allocations: 9.719 kB / 461.6 MB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001089/0.4479, allocations: 0.7079 MB / 462.3 MB, free: 49.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006807/0.4486, allocations: 214.1 kB / 462.5 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.4494, allocations: 226.7 kB / 462.7 MB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.4533, allocations: 4.987 MB / 467.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.4539, allocations: 37.56 kB / 467.8 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.454, allocations: 44.78 kB / 467.8 MB, free: 45.39 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_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],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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004899/0.4545, allocations: 355.5 kB / 468.2 MB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.4546, allocations: 67.62 kB / 468.2 MB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009187/0.4555, allocations: 0.6466 MB / 468.9 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.4555, allocations: 6.656 kB / 468.9 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.4555, allocations: 0 / 468.9 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4555, allocations: 3.609 kB / 468.9 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.4576, allocations: 1.54 MB / 470.4 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4576, allocations: 0 / 470.4 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.4583, allocations: 176.2 kB / 470.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4583, allocations: 3.75 kB / 470.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.4584, allocations: 15.78 kB / 470.6 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4584, allocations: 7.031 kB / 470.6 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4584, allocations: 3.156 kB / 470.6 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.4596, allocations: 1.089 MB / 471.7 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.4599, allocations: 182.7 kB / 471.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.4599, allocations: 22.64 kB / 471.9 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.4602, allocations: 17.69 kB / 471.9 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4603, allocations: 44.94 kB / 472 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.4604, allocations: 20.19 kB / 472 MB, free: 43.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.4607, allocations: 355.1 kB / 472.3 MB, free: 43.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4607, allocations: 0 / 472.3 MB, free: 43.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.4615, allocations: 218.9 kB / 472.6 MB, free: 43.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.4616, allocations: 129.9 kB / 472.7 MB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.4631, allocations: 1.099 MB / 473.8 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4631, allocations: 1 kB / 473.8 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.4636, allocations: 313.3 kB / 474.1 MB, free: 42.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.4642, allocations: 134.1 kB / 474.2 MB, free: 42.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.4672, allocations: 2.357 MB / 476.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.4677, allocations: 1.084 MB / 477.7 MB, free: 40.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005799/0.4683, allocations: 226.5 kB / 477.9 MB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4684, allocations: 62.95 kB / 477.9 MB, free: 40.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.4684, allocations: 0 / 477.9 MB, free: 40.16 MB / 382.1 MB Notification: Performance of Templates: time 0.01291/0.4814, allocations: 7.592 MB / 485.5 MB, free: 39.66 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: