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.001501/0.001501, allocations: 114.8 kB / 17.74 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.001577/0.001577, allocations: 188.5 kB / 18.67 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.382/1.382, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1773/0.1773, allocations: 37.98 MB / 309.9 MB, free: 5.961 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.001413/0.001413, allocations: 67.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1141, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007682/0.1218, allocations: 6.636 MB / 494.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.1258, allocations: 2.061 MB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005406/0.1263, allocations: 27.88 kB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.1285, allocations: 0.7163 MB / 497.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.1305, allocations: 0.5716 MB / 497.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009422/0.1314, allocations: 251.4 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.1334, allocations: 1.149 MB / 499.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1344, allocations: 0.5952 MB / 499.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1356, allocations: 0.5175 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.1371, allocations: 0.6074 MB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.1374, allocations: 68 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.1383, allocations: 263.7 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006509/0.139, allocations: 486.8 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009063/0.1399, allocations: 497.5 kB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.1415, allocations: 1.184 MB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1415, allocations: 4 kB / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1415, allocations: 0 / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.1415, allocations: 0 / 0.4916 GB, free: 8.684 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.002347/0.1439, allocations: 1.211 MB / 0.4928 GB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1439, allocations: 11.89 kB / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009623/0.1449, allocations: 167.5 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.146, allocations: 0.6163 MB / 0.4935 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.1461, allocations: 66.36 kB / 0.4936 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.1463, allocations: 108 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.1481, allocations: 1.161 MB / 0.4948 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.1481, allocations: 4 kB / 0.4948 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.1482, allocations: 32 kB / 0.4949 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.1485, allocations: 85.95 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.1502, allocations: 1.003 MB / 0.4959 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005457/0.1557, allocations: 4.339 MB / 0.5002 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1568, allocations: 0.6217 MB / 0.5008 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.1573, allocations: 311.3 kB / 0.5011 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.1574, allocations: 16.48 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1574, allocations: 39.12 kB / 0.5011 GB, free: 14.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.605e-06/0.1574, allocations: 0 / 0.5011 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003061/0.1605, allocations: 1.73 MB / 0.5028 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1605, allocations: 93.67 kB / 0.5029 GB, free: 12.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.1611, allocations: 0.5494 MB / 0.5034 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.1612, allocations: 37.7 kB / 0.5035 GB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.1616, allocations: 442.7 kB / 0.5039 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.1619, allocations: 216.9 kB / 0.5041 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.1622, allocations: 186.5 kB / 0.5043 GB, free: 11.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002802/0.1624, allocations: 378.8 kB / 0.5046 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.1629, allocations: 289.7 kB / 0.5049 GB, free: 10.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.1636, allocations: 0.6075 MB / 0.5055 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1648, allocations: 0.9808 MB / 0.5065 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1648, allocations: 4 kB / 0.5065 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002118/0.167, allocations: 1.168 MB / 0.5076 GB, free: 7.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.167, allocations: 16.17 kB / 0.5076 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001408/0.1684, allocations: 0.7161 MB / 0.5083 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.1691, allocations: 218.4 kB / 0.5085 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.1699, allocations: 215.6 kB / 0.5087 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005085/0.175, allocations: 5.365 MB / 0.514 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.1756, allocations: 44.05 kB / 0.514 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/0.1757, allocations: 44 kB / 0.5141 GB, free: 372 kB / 398.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.0005411/0.1763, allocations: 349.5 kB / 0.5144 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1764, allocations: 67.33 kB / 0.5145 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.1776, allocations: 0.6538 MB / 0.5151 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1776, allocations: 8 kB / 0.5151 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1776, allocations: 0 / 0.5151 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1776, allocations: 0 / 0.5151 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.1802, allocations: 1.547 MB / 0.5166 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1802, allocations: 4 kB / 0.5166 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.181, allocations: 167.8 kB / 0.5168 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.1811, allocations: 4 kB / 0.5168 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.1811, allocations: 16.14 kB / 0.5168 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.1811, allocations: 11.94 kB / 0.5168 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1811, allocations: 4 kB / 0.5168 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.1826, allocations: 1.022 MB / 0.5178 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.1829, allocations: 184.2 kB / 0.518 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.183, allocations: 19.98 kB / 0.518 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.1833, allocations: 12 kB / 0.518 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.1835, allocations: 52.44 kB / 0.5181 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.1835, allocations: 19.98 kB / 0.5181 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.1839, allocations: 358.8 kB / 0.5184 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1839, allocations: 4 kB / 0.5184 GB, free: 11.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008639/0.1848, allocations: 220 kB / 0.5186 GB, free: 11.53 MB / 414.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.0001745/0.185, allocations: 123.1 kB / 0.5188 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.1868, allocations: 1.113 MB / 0.5198 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1868, allocations: 128 / 0.5198 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.1873, allocations: 315 kB / 0.5201 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.1882, allocations: 162.6 kB / 0.5203 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.1915, allocations: 1.994 MB / 0.5222 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.1923, allocations: 1.067 MB / 0.5233 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.1925, allocations: 63.42 kB / 0.5234 GB, free: 6.574 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1925, allocations: 0 / 0.5234 GB, free: 6.574 MB / 414.1 MB Notification: Performance of Templates: time 0.2439/0.4364, allocations: 14.08 MB / 0.5371 GB, free: 49.77 MB / 414.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)