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.001134/0.001139, allocations: 113.5 kB / 17.7 MB, free: 5.309 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.001092/0.001092, allocations: 191 kB / 18.63 MB, free: 4.375 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.557/1.557, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1754/0.1754, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001612/0.001612, allocations: 67.89 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3211, allocations: 55.24 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007405/0.3286, allocations: 6.649 MB / 438.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.3321, allocations: 2.069 MB / 440.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.3325, allocations: 23.88 kB / 440.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.3344, allocations: 0.7102 MB / 441.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.3362, allocations: 0.5755 MB / 442.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.337, allocations: 251.5 kB / 442.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.3383, allocations: 1.141 MB / 443.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.3392, allocations: 0.5914 MB / 444 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.3398, allocations: 0.5175 MB / 444.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.3406, allocations: 0.6035 MB / 445.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.245e-05/0.3407, allocations: 71.94 kB / 445.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.3412, allocations: 271.7 kB / 445.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.3416, allocations: 474.9 kB / 445.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.342, allocations: 0.4936 MB / 446.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.3429, allocations: 1.18 MB / 447.6 MB, free: 4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.343, allocations: 3.938 kB / 447.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.343, allocations: 0 / 447.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.343, allocations: 0 / 447.6 MB, free: 3.996 MB / 318.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.001864/0.3449, allocations: 1.2 MB / 448.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3449, allocations: 15.83 kB / 448.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/0.3458, allocations: 163.6 kB / 449 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3469, allocations: 0.624 MB / 449.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.347, allocations: 70.34 kB / 449.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.3472, allocations: 103.9 kB / 449.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3486, allocations: 1.149 MB / 450.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.3486, allocations: 11.94 kB / 451 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.3487, allocations: 31.98 kB / 451 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.3488, allocations: 85.95 kB / 451.1 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3503, allocations: 1.007 MB / 452.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/0.3559, allocations: 4.331 MB / 456.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.3571, allocations: 0.618 MB / 457 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/0.3576, allocations: 311.3 kB / 457.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.3577, allocations: 8.562 kB / 457.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.3577, allocations: 39.12 kB / 457.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 4.639e-06/0.3577, allocations: 0 / 457.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.003197/0.3609, allocations: 1.742 MB / 459.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.361, allocations: 89.73 kB / 459.2 MB, free: 7.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.3616, allocations: 0.5455 MB / 459.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3617, allocations: 37.7 kB / 459.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.362, allocations: 446.6 kB / 460.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.3622, allocations: 216.9 kB / 460.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.3624, allocations: 186.5 kB / 460.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3626, allocations: 378.8 kB / 461 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.3631, allocations: 281.8 kB / 461.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/0.3638, allocations: 0.6231 MB / 461.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.3651, allocations: 0.9653 MB / 462.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3651, allocations: 0 / 462.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002146/0.3673, allocations: 1.176 MB / 464 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3673, allocations: 16 kB / 464 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001339/0.3687, allocations: 0.7083 MB / 464.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/0.3695, allocations: 222.3 kB / 465 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.3702, allocations: 219.7 kB / 465.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.3753, allocations: 5.377 MB / 470.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.3761, allocations: 36.12 kB / 470.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.3762, allocations: 36 kB / 470.6 MB, free: 11.71 MB / 350.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.0006343/0.3768, allocations: 357.3 kB / 471 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.377, allocations: 75.16 kB / 471.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3781, allocations: 0.6538 MB / 471.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3782, allocations: 8 kB / 471.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3782, allocations: 0 / 471.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3782, allocations: 3.984 kB / 471.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.3809, allocations: 1.539 MB / 473.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.3809, allocations: 0 / 473.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/0.3817, allocations: 175.8 kB / 473.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.3817, allocations: 4 kB / 473.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.3818, allocations: 24.16 kB / 473.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3818, allocations: 7.984 kB / 473.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3818, allocations: 0 / 473.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.3833, allocations: 1.022 MB / 474.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.3837, allocations: 184.3 kB / 474.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.3838, allocations: 12 kB / 474.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.3841, allocations: 19.98 kB / 474.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3842, allocations: 52.38 kB / 474.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.3843, allocations: 20 kB / 474.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004629/0.3848, allocations: 366.8 kB / 475.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3848, allocations: 0 / 475.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009546/0.3857, allocations: 216 kB / 475.3 MB, free: 6.859 MB / 350.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.0001759/0.3859, allocations: 119.1 kB / 475.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3878, allocations: 1.105 MB / 476.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3878, allocations: 4.062 kB / 476.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.3883, allocations: 315 kB / 476.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.3892, allocations: 154.4 kB / 477 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.3922, allocations: 1.926 MB / 478.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.393, allocations: 1.071 MB / 480 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005907/0.3936, allocations: 225.6 kB / 480.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3938, allocations: 55.42 kB / 480.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3938, allocations: 3.938 kB / 480.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Templates: time 0.01679/0.4106, allocations: 8.372 MB / 488.7 MB, free: 9.438 MB / 366.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)