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.001253/0.001253, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001049/0.001049, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.475/1.475, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1784/0.1784, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001462/0.001462, allocations: 71.91 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005694/0.276, allocations: 6.653 MB / 438.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.2785, allocations: 2.057 MB / 440.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.2789, allocations: 23.88 kB / 440.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.2803, allocations: 0.7119 MB / 441.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000942/0.2812, allocations: 0.5755 MB / 442 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.2817, allocations: 247.5 kB / 442.3 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008125/0.2825, allocations: 1.141 MB / 443.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.2831, allocations: 0.5953 MB / 444 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.2836, allocations: 0.5135 MB / 444.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.2843, allocations: 0.6152 MB / 445.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.2843, allocations: 68 kB / 445.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2847, allocations: 263.7 kB / 445.5 MB, free: 6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.285, allocations: 482.8 kB / 445.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.2854, allocations: 497.5 kB / 446.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.2861, allocations: 1.18 MB / 447.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2861, allocations: 4 kB / 447.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2861, allocations: 0 / 447.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2861, allocations: 4 kB / 447.6 MB, free: 3.848 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.001579/0.2877, allocations: 1.2 MB / 448.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2878, allocations: 19.83 kB / 448.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.2886, allocations: 167.6 kB / 449 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.2896, allocations: 0.6162 MB / 449.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.2896, allocations: 74.34 kB / 449.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.2898, allocations: 104 kB / 449.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.2911, allocations: 1.149 MB / 450.9 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.2912, allocations: 4 kB / 450.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.2912, allocations: 35.98 kB / 451 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.2914, allocations: 85.94 kB / 451.1 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.2929, allocations: 1.007 MB / 452.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.298, allocations: 4.335 MB / 456.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2992, allocations: 0.6219 MB / 457 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.2997, allocations: 307.3 kB / 457.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.2998, allocations: 16.48 kB / 457.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2998, allocations: 39.12 kB / 457.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.415e-06/0.2998, allocations: 0 / 457.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002787/0.3026, allocations: 1.734 MB / 459.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3027, allocations: 93.55 kB / 459.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.3032, allocations: 0.5495 MB / 459.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.3033, allocations: 33.7 kB / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.3036, allocations: 438.8 kB / 460.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3037, allocations: 220.8 kB / 460.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.304, allocations: 190.4 kB / 460.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3041, allocations: 378.8 kB / 461 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.3046, allocations: 281.8 kB / 461.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.3052, allocations: 0.6153 MB / 461.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.3064, allocations: 0.973 MB / 462.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3064, allocations: 4 kB / 462.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002105/0.3085, allocations: 1.172 MB / 464 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3086, allocations: 8 kB / 464 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001281/0.3099, allocations: 0.7201 MB / 464.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.3106, allocations: 210.4 kB / 465 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.3114, allocations: 223.6 kB / 465.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.3165, allocations: 5.373 MB / 470.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.3171, allocations: 35.94 kB / 470.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.3171, allocations: 52.05 kB / 470.6 MB, free: 11.54 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.0004589/0.3176, allocations: 345.3 kB / 471 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3177, allocations: 67.16 kB / 471 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.3188, allocations: 0.6538 MB / 471.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3188, allocations: 8 kB / 471.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3188, allocations: 0 / 471.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3188, allocations: 3.984 kB / 471.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3216, allocations: 1.551 MB / 473.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3217, allocations: 4 kB / 473.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.3224, allocations: 167.8 kB / 473.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.556e-05/0.3225, allocations: 4 kB / 473.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.3225, allocations: 15.98 kB / 473.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.3226, allocations: 8.094 kB / 473.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3226, allocations: 11.94 kB / 473.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.324, allocations: 1.018 MB / 474.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.3244, allocations: 184.3 kB / 474.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.3245, allocations: 16 kB / 474.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.3248, allocations: 15.98 kB / 474.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3249, allocations: 48.44 kB / 474.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.325, allocations: 20 kB / 474.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004169/0.3254, allocations: 362.8 kB / 475.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3254, allocations: 0 / 475.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000902/0.3263, allocations: 220 kB / 475.3 MB, free: 6.711 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.0002398/0.3266, allocations: 123.1 kB / 475.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3286, allocations: 1.109 MB / 476.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3286, allocations: 0 / 476.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.3291, allocations: 311.3 kB / 476.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.3299, allocations: 161.1 kB / 477 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3328, allocations: 1.918 MB / 478.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.3336, allocations: 1.071 MB / 480 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006232/0.3342, allocations: 225.6 kB / 480.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3344, allocations: 51.44 kB / 480.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3344, allocations: 4 kB / 480.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01491/0.3493, allocations: 8.377 MB / 488.7 MB, free: 9.285 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)