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.001114/0.001114, allocations: 170.4 kB / 16.07 MB, free: 5.719 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.214/1.214, allocations: 205.4 MB / 222.2 MB, free: 9.012 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.0007048/0.0007049, allocations: 82.36 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1646/0.1646, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 16 kB / 423.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 56.33 MB / 479.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005623/0.2283, allocations: 6.865 MB / 486.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.2316, allocations: 2.256 MB / 488.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.232, allocations: 47.09 kB / 488.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.2324, allocations: 135.1 kB / 488.9 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.2337, allocations: 0.5937 MB / 489.5 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.2344, allocations: 263.2 kB / 489.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2358, allocations: 1.403 MB / 491.2 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.2372, allocations: 0.9476 MB / 492.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007271/0.2379, allocations: 423.3 kB / 492.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.2388, allocations: 0.6039 MB / 493.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.2389, allocations: 34.25 kB / 493.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.2395, allocations: 231.6 kB / 493.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.2399, allocations: 445.2 kB / 493.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.2403, allocations: 450.9 kB / 494.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009512/0.2413, allocations: 0.8763 MB / 495.2 MB, free: 500 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2413, allocations: 1.703 kB / 495.2 MB, free: 500 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2413, allocations: 0 / 495.2 MB, free: 500 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.2413, allocations: 0 / 495.2 MB, free: 500 kB / 314.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.001711/0.2431, allocations: 1.048 MB / 496.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2431, allocations: 8.5 kB / 496.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.244, allocations: 172 kB / 496.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.245, allocations: 0.5817 MB / 497 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.2451, allocations: 67.92 kB / 497 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.2453, allocations: 101.3 kB / 497.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.2471, allocations: 1.159 MB / 498.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.2471, allocations: 10.08 kB / 498.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.2472, allocations: 28.81 kB / 498.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.2474, allocations: 86.64 kB / 498.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.249, allocations: 1.003 MB / 499.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.2542, allocations: 4.367 MB / 0.492 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2554, allocations: 0.618 MB / 0.4926 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.2559, allocations: 304.4 kB / 0.4929 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.2559, allocations: 10.7 kB / 0.4929 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2559, allocations: 42.34 kB / 0.4929 GB, free: 10.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.224e-06/0.256, allocations: 0 / 0.4929 GB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.00292/0.2589, allocations: 1.732 MB / 0.4946 GB, free: 9.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.2589, allocations: 88.33 kB / 0.4947 GB, free: 8.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.2595, allocations: 0.5367 MB / 0.4952 GB, free: 8.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.2596, allocations: 36.77 kB / 0.4953 GB, free: 8.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2599, allocations: 443.3 kB / 0.4957 GB, free: 8.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.26, allocations: 219.2 kB / 0.4959 GB, free: 7.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.2601, allocations: 18.97 kB / 0.4959 GB, free: 7.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2602, allocations: 385.4 kB / 0.4963 GB, free: 7.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.2607, allocations: 280.9 kB / 0.4965 GB, free: 7.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.2614, allocations: 0.6065 MB / 0.4971 GB, free: 6.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.2626, allocations: 0.9662 MB / 0.4981 GB, free: 6.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.2626, allocations: 3.969 kB / 0.4981 GB, free: 6.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002084/0.2647, allocations: 1.168 MB / 0.4992 GB, free: 5.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2647, allocations: 9.969 kB / 0.4992 GB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001324/0.266, allocations: 0.7071 MB / 0.4999 GB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.2668, allocations: 228 kB / 0.5001 GB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.2675, allocations: 215.7 kB / 0.5003 GB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.2719, allocations: 4.918 MB / 0.5051 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.2725, allocations: 40.11 kB / 0.5052 GB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.2726, allocations: 44 kB / 0.5052 GB, free: 15.38 MB / 346.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.0005615/0.2732, allocations: 345.3 kB / 0.5056 GB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2733, allocations: 67.16 kB / 0.5056 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2744, allocations: 0.6499 MB / 0.5063 GB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2744, allocations: 8 kB / 0.5063 GB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2744, allocations: 0 / 0.5063 GB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2744, allocations: 3.984 kB / 0.5063 GB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.2769, allocations: 1.543 MB / 0.5078 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2769, allocations: 0 / 0.5078 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007798/0.2777, allocations: 175.8 kB / 0.5079 GB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2777, allocations: 7.938 kB / 0.508 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.2777, allocations: 16.16 kB / 0.508 GB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.2777, allocations: 11.98 kB / 0.508 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2778, allocations: 3.938 kB / 0.508 GB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2792, allocations: 1.014 MB / 0.509 GB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.2795, allocations: 180.3 kB / 0.5091 GB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.2795, allocations: 16 kB / 0.5092 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2799, allocations: 23.92 kB / 0.5092 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.28, allocations: 48.48 kB / 0.5092 GB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.28, allocations: 19.98 kB / 0.5092 GB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003859/0.2804, allocations: 358.8 kB / 0.5096 GB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2804, allocations: 4 kB / 0.5096 GB, free: 10.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000837/0.2813, allocations: 220 kB / 0.5098 GB, free: 10.55 MB / 346.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.0001331/0.2814, allocations: 119.1 kB / 0.5099 GB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.2831, allocations: 1.104 MB / 0.511 GB, free: 9.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2831, allocations: 4.062 kB / 0.511 GB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.2836, allocations: 315 kB / 0.5113 GB, free: 8.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/0.2845, allocations: 139.1 kB / 0.5114 GB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.2876, allocations: 2.431 MB / 0.5138 GB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.2883, allocations: 1.071 MB / 0.5149 GB, free: 5.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.2885, allocations: 59.42 kB / 0.5149 GB, free: 5.203 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.2885, allocations: 0 / 0.5149 GB, free: 5.203 MB / 346.7 MB Notification: Performance of Templates: time 0.01677/0.3053, allocations: 13.93 MB / 0.5285 GB, free: 7.266 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)