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.0008874/0.0008875, allocations: 177.1 kB / 15.77 MB, free: 6.352 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.467/1.467, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009802/0.00098, allocations: 102.3 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1809/0.1809, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004226, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 56.34 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008006/0.1585, allocations: 6.823 MB / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.1626, allocations: 2.253 MB / 488.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.1631, allocations: 39.75 kB / 488.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1635, allocations: 134.9 kB / 488.3 MB, free: 8.746 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.165, allocations: 0.595 MB / 488.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.1658, allocations: 263.6 kB / 489.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1673, allocations: 1.39 MB / 490.6 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.1687, allocations: 0.9084 MB / 491.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007145/0.1695, allocations: 434 kB / 491.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008666/0.1703, allocations: 0.592 MB / 492.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.1704, allocations: 36 kB / 492.5 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.171, allocations: 231.6 kB / 492.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.1714, allocations: 446.9 kB / 493.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1716, allocations: 189.2 kB / 493.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.1724, allocations: 0.8768 MB / 494.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1725, allocations: 4 kB / 494.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1725, allocations: 0 / 494.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.1725, allocations: 0 / 494.2 MB, free: 2.758 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.001907/0.1744, allocations: 1.067 MB / 495.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1745, allocations: 8.031 kB / 495.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00086/0.1753, allocations: 166.6 kB / 495.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.1763, allocations: 0.5762 MB / 496.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.1764, allocations: 65.98 kB / 496.1 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.1766, allocations: 95.92 kB / 496.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1783, allocations: 1.153 MB / 497.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.1784, allocations: 4 kB / 497.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.1784, allocations: 31.98 kB / 497.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.1786, allocations: 89.88 kB / 497.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1802, allocations: 0.9991 MB / 498.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005399/0.1856, allocations: 4.362 MB / 0.4911 GB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1868, allocations: 0.6218 MB / 0.4917 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/0.1872, allocations: 311.6 kB / 0.492 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.1873, allocations: 16.53 kB / 0.492 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1873, allocations: 47.12 kB / 0.492 GB, free: 8.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 3.085e-06/0.1873, allocations: 3.938 kB / 0.492 GB, free: 8.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=64): time 0.002824/0.1902, allocations: 1.722 MB / 0.4937 GB, free: 6.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.1902, allocations: 85.67 kB / 0.4938 GB, free: 6.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.1908, allocations: 0.5493 MB / 0.4943 GB, free: 6.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.1909, allocations: 41.83 kB / 0.4944 GB, free: 6.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.1912, allocations: 434.8 kB / 0.4948 GB, free: 5.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.1913, allocations: 216.9 kB / 0.495 GB, free: 5.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1914, allocations: 16 kB / 0.495 GB, free: 5.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1916, allocations: 386.7 kB / 0.4954 GB, free: 5.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.192, allocations: 281.8 kB / 0.4956 GB, free: 4.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.1927, allocations: 0.6075 MB / 0.4962 GB, free: 4.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.1933, allocations: 393.8 kB / 0.4966 GB, free: 3.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1933, allocations: 4 kB / 0.4966 GB, free: 3.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002124/0.1955, allocations: 1.168 MB / 0.4978 GB, free: 2.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1955, allocations: 11.95 kB / 0.4978 GB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001363/0.1969, allocations: 0.7066 MB / 0.4985 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.1976, allocations: 222.4 kB / 0.4987 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.1984, allocations: 219.6 kB / 0.4989 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/0.2033, allocations: 4.915 MB / 0.5037 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.2038, allocations: 35.98 kB / 0.5037 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.2039, allocations: 40 kB / 0.5038 GB, free: 12.04 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.0004917/0.2044, allocations: 353.4 kB / 0.5041 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.2045, allocations: 63.16 kB / 0.5042 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2056, allocations: 0.6499 MB / 0.5048 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.2056, allocations: 16 kB / 0.5048 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.2056, allocations: 0 / 0.5048 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.2056, allocations: 3.984 kB / 0.5048 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.208, allocations: 1.539 MB / 0.5063 GB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.208, allocations: 4 kB / 0.5063 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/0.2088, allocations: 167.8 kB / 0.5065 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.2088, allocations: 4 kB / 0.5065 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.2089, allocations: 16 kB / 0.5065 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.2089, allocations: 11.92 kB / 0.5065 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2089, allocations: 0 / 0.5065 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2103, allocations: 1.022 MB / 0.5075 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.2105, allocations: 188.2 kB / 0.5077 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/0.2106, allocations: 20 kB / 0.5077 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.2109, allocations: 19.92 kB / 0.5077 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2111, allocations: 48.5 kB / 0.5078 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.2111, allocations: 16 kB / 0.5078 GB, free: 7.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003707/0.2115, allocations: 362.8 kB / 0.5081 GB, free: 7.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2115, allocations: 0 / 0.5081 GB, free: 7.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007601/0.2123, allocations: 220 kB / 0.5083 GB, free: 7.203 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.0001803/0.2124, allocations: 119.1 kB / 0.5085 GB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.2142, allocations: 1.095 MB / 0.5095 GB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2142, allocations: 0.8125 kB / 0.5095 GB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.2146, allocations: 315.2 kB / 0.5098 GB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.2154, allocations: 142.2 kB / 0.51 GB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.2188, allocations: 2.437 MB / 0.5123 GB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.2195, allocations: 1.067 MB / 0.5134 GB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.2197, allocations: 67.42 kB / 0.5134 GB, free: 1.848 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2197, allocations: 3.938 kB / 0.5134 GB, free: 1.844 MB / 362.7 MB Notification: Performance of Templates: time 0.2296/0.4493, allocations: 13.93 MB / 0.527 GB, free: 47 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)