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.001432/0.001432, allocations: 109.8 kB / 16.51 MB, free: 6.707 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.0012/0.0012, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1807/0.1807, allocations: 38.02 MB / 329.3 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 65.97 kB / 398.1 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 58.05 MB / 456.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.0101/0.1354, allocations: 7.696 MB / 463.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004746/0.1402, allocations: 2.345 MB / 466.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/0.1412, allocations: 39.75 kB / 466.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.1432, allocations: 0.6734 MB / 466.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.145, allocations: 0.5292 MB / 467.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008913/0.1459, allocations: 219.6 kB / 467.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.1484, allocations: 1.796 MB / 469.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.1497, allocations: 0.5948 MB / 470 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1509, allocations: 449.9 kB / 470.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.1523, allocations: 0.6581 MB / 471.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.1526, allocations: 48 kB / 471.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008269/0.1534, allocations: 243.7 kB / 471.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007338/0.1542, allocations: 470.8 kB / 471.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008859/0.155, allocations: 481.5 kB / 472.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.1566, allocations: 1.137 MB / 473.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1566, allocations: 4 kB / 473.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1566, allocations: 0 / 473.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.1567, allocations: 0 / 473.5 MB, free: 7.133 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.002333/0.159, allocations: 1.211 MB / 474.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1591, allocations: 16.02 kB / 474.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1601, allocations: 159.6 kB / 474.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.1611, allocations: 0.5812 MB / 475.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.1612, allocations: 82.28 kB / 475.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.1615, allocations: 96.09 kB / 475.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.1633, allocations: 1.149 MB / 476.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.1634, allocations: 11.84 kB / 476.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/0.1635, allocations: 35.98 kB / 476.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/0.1637, allocations: 85.94 kB / 476.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.1654, allocations: 1.007 MB / 477.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.1716, allocations: 4.358 MB / 482.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.1728, allocations: 0.6256 MB / 482.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.1733, allocations: 309.2 kB / 483.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.1734, allocations: 8.547 kB / 483.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.1734, allocations: 50.98 kB / 483.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.496e-06/0.1734, allocations: 4 kB / 483.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.003037/0.1765, allocations: 1.726 MB / 485 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.1766, allocations: 89.61 kB / 485.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.1774, allocations: 0.5416 MB / 485.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.1774, allocations: 37.7 kB / 485.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.1779, allocations: 442.6 kB / 486.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.1781, allocations: 225 kB / 486.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.1785, allocations: 194.4 kB / 486.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.1787, allocations: 374.8 kB / 486.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.1794, allocations: 285.8 kB / 487.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.1802, allocations: 0.6114 MB / 487.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.1816, allocations: 0.9691 MB / 488.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.1816, allocations: 8 kB / 488.7 MB, free: 7.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002291/0.1839, allocations: 1.172 MB / 489.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.184, allocations: 12 kB / 489.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001384/0.1853, allocations: 0.715 MB / 490.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.1862, allocations: 218.4 kB / 490.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.1869, allocations: 223.6 kB / 491 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.1918, allocations: 4.915 MB / 496 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.1926, allocations: 44.02 kB / 496 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.1927, allocations: 43.94 kB / 496 MB, free: 15.29 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.0005929/0.1933, allocations: 345.5 kB / 496.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1934, allocations: 67.23 kB / 496.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1945, allocations: 0.6615 MB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1945, allocations: 8 kB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1946, allocations: 0 / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1946, allocations: 4 kB / 497.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.197, allocations: 1.532 MB / 498.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.197, allocations: 0 / 498.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.1978, allocations: 171.8 kB / 498.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1978, allocations: 7.938 kB / 498.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.1979, allocations: 28.14 kB / 498.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1979, allocations: 4 kB / 498.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1979, allocations: 3.938 kB / 498.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1993, allocations: 1.026 MB / 499.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.1995, allocations: 180.3 kB / 0.4883 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.1996, allocations: 15.98 kB / 0.4884 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.2, allocations: 19.94 kB / 0.4884 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.2001, allocations: 52.36 kB / 0.4884 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.2002, allocations: 24 kB / 0.4885 GB, free: 11.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.2006, allocations: 354.8 kB / 0.4888 GB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2006, allocations: 4 kB / 0.4888 GB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008831/0.2015, allocations: 220 kB / 0.489 GB, free: 10.45 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.000185/0.2017, allocations: 127.9 kB / 0.4891 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.2034, allocations: 1.099 MB / 0.4902 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2034, allocations: 4.062 kB / 0.4902 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.2039, allocations: 307 kB / 0.4905 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.2047, allocations: 138.6 kB / 0.4906 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.208, allocations: 2.291 MB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.2088, allocations: 1.075 MB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006878/0.2095, allocations: 225.6 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.2097, allocations: 59.42 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2097, allocations: 0 / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Templates: time 0.01604/0.2257, allocations: 7.938 MB / 0.5019 GB, free: 13.11 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)