Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001557, allocations: 188.8 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 86.88 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3309/0.3309, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 56.34 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.01074/0.1199, allocations: 6.544 MB / 485.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.1257, allocations: 2.269 MB / 487.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.1266, allocations: 39.75 kB / 487.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.127, allocations: 131.1 kB / 488 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.129, allocations: 470.6 kB / 488.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.1302, allocations: 267.5 kB / 488.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1313, allocations: 0.5574 MB / 489.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.1335, allocations: 0.8967 MB / 490.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000874/0.1344, allocations: 366.6 kB / 490.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008716/0.1353, allocations: 406.7 kB / 490.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1354, allocations: 35.94 kB / 491 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006778/0.1361, allocations: 219.7 kB / 491.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005887/0.1367, allocations: 415 kB / 491.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.137, allocations: 193.2 kB / 491.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1384, allocations: 0.8767 MB / 492.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1384, allocations: 0 / 492.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1384, allocations: 0 / 492.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1385, allocations: 4 kB / 492.7 MB, free: 4.312 MB / 330.7 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.002838/0.1413, allocations: 1.055 MB / 493.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1414, allocations: 8.031 kB / 493.7 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.1429, allocations: 174.6 kB / 493.9 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.1447, allocations: 0.5762 MB / 494.5 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.1448, allocations: 65.98 kB / 494.5 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/0.1452, allocations: 99.92 kB / 494.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.148, allocations: 1.141 MB / 495.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/0.1481, allocations: 4 kB / 495.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1482, allocations: 31.98 kB / 495.8 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/0.1485, allocations: 97.81 kB / 495.9 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.1514, allocations: 0.9874 MB / 496.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00903/0.1605, allocations: 4.374 MB / 0.4895 GB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.1626, allocations: 0.6258 MB / 0.4901 GB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.278e-05/0.1627, allocations: 8.625 kB / 0.4901 GB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.1628, allocations: 39.12 kB / 0.4902 GB, free: 10.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 4.579e-06/0.1628, allocations: 0 / 0.4902 GB, free: 10.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=64): time 0.004828/0.1677, allocations: 1.738 MB / 0.4919 GB, free: 8.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.1678, allocations: 85.67 kB / 0.492 GB, free: 8.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/0.1687, allocations: 0.5493 MB / 0.4925 GB, free: 8.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.1688, allocations: 33.7 kB / 0.4925 GB, free: 8.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.1692, allocations: 469.3 kB / 0.493 GB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.1695, allocations: 220.9 kB / 0.4932 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.1695, allocations: 20.12 kB / 0.4932 GB, free: 7.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1697, allocations: 354.8 kB / 0.4935 GB, free: 7.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008311/0.1706, allocations: 285.8 kB / 0.4938 GB, free: 6.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1717, allocations: 0.5997 MB / 0.4944 GB, free: 6.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.1728, allocations: 397.8 kB / 0.4948 GB, free: 5.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.1728, allocations: 4 kB / 0.4948 GB, free: 5.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003593/0.1764, allocations: 1.133 MB / 0.4959 GB, free: 4.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.1765, allocations: 12.92 kB / 0.4959 GB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002354/0.1789, allocations: 0.7144 MB / 0.4966 GB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.1801, allocations: 210.4 kB / 0.4968 GB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.1817, allocations: 227.6 kB / 0.497 GB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007184/0.1889, allocations: 4.981 MB / 0.5019 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000917/0.1899, allocations: 32 kB / 0.5019 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.19, allocations: 47.98 kB / 0.502 GB, free: 13.87 MB / 362.7 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_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],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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007025/0.1907, allocations: 349.4 kB / 0.5023 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.1909, allocations: 71.42 kB / 0.5024 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.1927, allocations: 0.646 MB / 0.503 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.1927, allocations: 7.984 kB / 0.503 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1928, allocations: 0 / 0.503 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.1928, allocations: 7.984 kB / 0.503 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.1972, allocations: 1.543 MB / 0.5045 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.1973, allocations: 4 kB / 0.5045 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.1989, allocations: 175.9 kB / 0.5047 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/0.1989, allocations: 7.938 kB / 0.5047 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.199, allocations: 15.98 kB / 0.5047 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.199, allocations: 7.938 kB / 0.5047 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.199, allocations: 4 kB / 0.5047 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.2018, allocations: 1.098 MB / 0.5058 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.2024, allocations: 180.2 kB / 0.506 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.2025, allocations: 23.98 kB / 0.506 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.2031, allocations: 12 kB / 0.506 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.2033, allocations: 48.48 kB / 0.506 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.2034, allocations: 16 kB / 0.5061 GB, free: 9.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006581/0.2041, allocations: 354.8 kB / 0.5064 GB, free: 9.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2041, allocations: 4 kB / 0.5064 GB, free: 9.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001321/0.2054, allocations: 220 kB / 0.5066 GB, free: 8.926 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/0.2057, allocations: 123.1 kB / 0.5067 GB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.2086, allocations: 1.096 MB / 0.5078 GB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.2087, allocations: 4.062 kB / 0.5078 GB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009322/0.2096, allocations: 307 kB / 0.5081 GB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.2108, allocations: 138.5 kB / 0.5082 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/0.2163, allocations: 2.434 MB / 0.5106 GB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.2174, allocations: 1.092 MB / 0.5117 GB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.2179, allocations: 59.42 kB / 0.5117 GB, free: 3.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2179, allocations: 0 / 0.5117 GB, free: 3.562 MB / 362.7 MB Notification: Performance of Templates: time 0.3279/0.5457, allocations: 13.48 MB / 0.5249 GB, free: 48.09 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Display --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe 2>&1)