Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001602, allocations: 181.8 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 221.9 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 94.8 kB / 270.2 MB, free: 13.14 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2935/0.2935, allocations: 38.04 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.000623, allocations: 15.98 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1113, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.6453, allocations: 99.93 MB / 0.5654 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6456, allocations: 83.08 kB / 0.5655 GB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1871/0.8327, allocations: 26.19 MB / 0.5911 GB, free: 9.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.8328, allocations: 4 kB / 0.5911 GB, free: 9.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.565e-05/0.8329, allocations: 16 kB / 0.5911 GB, free: 9.23 MB / 394.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.004662/0.8376, allocations: 1.097 MB / 0.5922 GB, free: 8.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.8376, allocations: 8.031 kB / 0.5922 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.8402, allocations: 177.3 kB / 0.5923 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008558/0.8488, allocations: 1.298 MB / 0.5936 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.849, allocations: 69.84 kB / 0.5937 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.8494, allocations: 85.34 kB / 0.5937 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.8533, allocations: 1.15 MB / 0.5949 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-05/0.8534, allocations: 4 kB / 0.5949 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.8536, allocations: 38.8 kB / 0.5949 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/0.8539, allocations: 77.58 kB / 0.595 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.8584, allocations: 0.9998 MB / 0.596 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.8712, allocations: 4.367 MB / 0.6002 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.8732, allocations: 0.6337 MB / 0.6008 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.8733, allocations: 12.56 kB / 0.6009 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.8734, allocations: 41.38 kB / 0.6009 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 5.139e-06/0.8734, allocations: 4 kB / 0.6009 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.004789/0.8782, allocations: 1.772 MB / 0.6026 GB, free: 15.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.8783, allocations: 85.67 kB / 0.6027 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008365/0.8792, allocations: 487.4 kB / 0.6032 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.8792, allocations: 36.45 kB / 0.6032 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.8796, allocations: 488.4 kB / 0.6037 GB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.8799, allocations: 216 kB / 0.6039 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.8799, allocations: 17.81 kB / 0.6039 GB, free: 13.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.8801, allocations: 348.5 kB / 0.6042 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/0.8809, allocations: 290.2 kB / 0.6045 GB, free: 13.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.8821, allocations: 0.6143 MB / 0.6051 GB, free: 12.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.8831, allocations: 401.3 kB / 0.6055 GB, free: 12.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.8831, allocations: 4 kB / 0.6055 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003368/0.8865, allocations: 1.154 MB / 0.6066 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8865, allocations: 8 kB / 0.6066 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002214/0.8888, allocations: 0.734 MB / 0.6073 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.89, allocations: 212.5 kB / 0.6075 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.8914, allocations: 211.5 kB / 0.6077 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.8983, allocations: 4.987 MB / 0.6126 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/0.8993, allocations: 39.27 kB / 0.6127 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/0.8994, allocations: 51.23 kB / 0.6127 GB, free: 5.648 MB / 410.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.0007695/0.9002, allocations: 344.3 kB / 0.613 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.9003, allocations: 67.23 kB / 0.6131 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.9021, allocations: 0.6733 MB / 0.6138 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.9022, allocations: 8 kB / 0.6138 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.9022, allocations: 0 / 0.6138 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.9022, allocations: 7.984 kB / 0.6138 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004306/0.9065, allocations: 1.616 MB / 0.6153 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.9066, allocations: 0 / 0.6153 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.908, allocations: 160.4 kB / 0.6155 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.9081, allocations: 4 kB / 0.6155 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.9082, allocations: 23.94 kB / 0.6155 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.9082, allocations: 4 kB / 0.6155 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.9082, allocations: 8.156 kB / 0.6155 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.9116, allocations: 1.131 MB / 0.6166 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.912, allocations: 192.2 kB / 0.6168 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.9122, allocations: 19.94 kB / 0.6168 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.9127, allocations: 15.98 kB / 0.6169 GB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.9129, allocations: 44.5 kB / 0.6169 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.913, allocations: 20 kB / 0.6169 GB, free: 1.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006644/0.9137, allocations: 358.8 kB / 0.6173 GB, free: 1.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.9137, allocations: 0 / 0.6173 GB, free: 1.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001285/0.915, allocations: 237.8 kB / 0.6175 GB, free: 1.289 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0002697/0.9153, allocations: 147 kB / 0.6176 GB, free: 1.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.9181, allocations: 1.115 MB / 0.6187 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.9182, allocations: 320 / 0.6187 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.9191, allocations: 326.9 kB / 0.619 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.9202, allocations: 137.5 kB / 0.6192 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.9253, allocations: 2.461 MB / 0.6216 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.9264, allocations: 1.08 MB / 0.6226 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.9268, allocations: 67.42 kB / 0.6227 GB, free: 11.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9268, allocations: 0 / 0.6227 GB, free: 11.84 MB / 426.7 MB Notification: Performance of Templates: time 0.02984/0.9567, allocations: 13.59 MB / 0.636 GB, free: 14.23 MB / 442.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)