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.001202/0.001202, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.001212/0.001212, allocations: 188.5 kB / 18.67 MB, free: 4.422 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.213/1.213, 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.1632/0.1632, allocations: 37.97 MB / 309.9 MB, free: 5.945 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.001361/0.001361, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09601, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00762/0.1037, allocations: 6.636 MB / 494.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1067, allocations: 2.057 MB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.107, allocations: 27.88 kB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.1087, allocations: 0.7202 MB / 497.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.1099, allocations: 0.5755 MB / 497.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.1105, allocations: 243.5 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.1117, allocations: 1.149 MB / 499.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.1125, allocations: 0.5952 MB / 499.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.1132, allocations: 0.5175 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.1139, allocations: 0.6074 MB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.1141, allocations: 68 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.1145, allocations: 267.7 kB / 0.4895 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.1149, allocations: 486.8 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.1153, allocations: 493.5 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1164, allocations: 1.191 MB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1164, allocations: 4 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1165, allocations: 0 / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1165, allocations: 0 / 0.4916 GB, free: 8.672 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.001883/0.1184, allocations: 1.204 MB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1184, allocations: 11.89 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008829/0.1193, allocations: 171.5 kB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1204, allocations: 0.6201 MB / 0.4935 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.1205, allocations: 66.38 kB / 0.4936 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.1208, allocations: 100 kB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.1224, allocations: 1.157 MB / 0.4948 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1225, allocations: 4 kB / 0.4948 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.1225, allocations: 35.98 kB / 0.4949 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.1227, allocations: 85.95 kB / 0.4949 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.1242, allocations: 1.007 MB / 0.4959 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.1296, allocations: 4.335 MB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.1308, allocations: 0.6256 MB / 0.5008 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.1312, allocations: 311.3 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.1313, allocations: 12.5 kB / 0.5011 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.1313, allocations: 39.12 kB / 0.5011 GB, free: 14.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/0.1314, allocations: 0 / 0.5011 GB, free: 14.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.002808/0.1342, allocations: 1.734 MB / 0.5028 GB, free: 12.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.1342, allocations: 97.67 kB / 0.5029 GB, free: 12.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.1348, allocations: 0.5455 MB / 0.5034 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.1349, allocations: 37.7 kB / 0.5035 GB, free: 11.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.1351, allocations: 446.6 kB / 0.5039 GB, free: 11.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.1353, allocations: 209 kB / 0.5041 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.1355, allocations: 190.5 kB / 0.5043 GB, free: 11.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1357, allocations: 374.8 kB / 0.5046 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.1361, allocations: 289.8 kB / 0.5049 GB, free: 10.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.1368, allocations: 0.6115 MB / 0.5055 GB, free: 9.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1379, allocations: 0.973 MB / 0.5065 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1379, allocations: 4 kB / 0.5065 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001995/0.1399, allocations: 1.176 MB / 0.5076 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.1399, allocations: 16.2 kB / 0.5076 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001264/0.1412, allocations: 0.7122 MB / 0.5083 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.1419, allocations: 218.4 kB / 0.5085 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.1426, allocations: 219.6 kB / 0.5087 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.1473, allocations: 5.365 MB / 0.514 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.1478, allocations: 40.05 kB / 0.514 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.1479, allocations: 47.98 kB / 0.5141 GB, free: 364 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.000406/0.1483, allocations: 345.3 kB / 0.5144 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1484, allocations: 71.33 kB / 0.5145 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.1495, allocations: 0.654 MB / 0.5151 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.1495, allocations: 11.98 kB / 0.5151 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.1495, allocations: 3.938 kB / 0.5151 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1495, allocations: 0 / 0.5151 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.1518, allocations: 1.539 MB / 0.5166 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1519, allocations: 4 kB / 0.5166 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.1526, allocations: 167.8 kB / 0.5168 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.1526, allocations: 4 kB / 0.5168 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.1527, allocations: 20.14 kB / 0.5168 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.1527, allocations: 7.938 kB / 0.5168 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1527, allocations: 4 kB / 0.5168 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.1541, allocations: 1.026 MB / 0.5178 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.1544, allocations: 180.2 kB / 0.518 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.1544, allocations: 23.98 kB / 0.518 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.1547, allocations: 12 kB / 0.518 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1548, allocations: 48.44 kB / 0.5181 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1549, allocations: 23.98 kB / 0.5181 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.1553, allocations: 354.8 kB / 0.5184 GB, free: 11.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1553, allocations: 4 kB / 0.5184 GB, free: 11.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.1562, allocations: 224 kB / 0.5186 GB, free: 11.52 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.0001514/0.1563, allocations: 119.1 kB / 0.5188 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.158, allocations: 1.109 MB / 0.5198 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.158, allocations: 4.25 kB / 0.5198 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.1586, allocations: 315 kB / 0.5201 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.1593, allocations: 150.5 kB / 0.5203 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.1623, allocations: 2.002 MB / 0.5222 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.1629, allocations: 1.071 MB / 0.5233 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.1631, allocations: 59.42 kB / 0.5233 GB, free: 6.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1631, allocations: 0 / 0.5233 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Templates: time 0.1914/0.3545, allocations: 14.08 MB / 0.5371 GB, free: 49.76 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)