Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.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.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.001629, allocations: 185.5 kB / 13.19 MB, free: 2.125 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 1.994/1.994, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001983/0.001983, allocations: 87.05 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2626/0.2626, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.019e-05, allocations: 4 kB / 416.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 56.32 MB / 473.1 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.5882, allocations: 107.5 MB / 0.5671 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.5886, allocations: 91.94 kB / 0.5671 GB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2184/0.807, allocations: 29.58 MB / 0.596 GB, free: 14.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.807, allocations: 0 / 0.596 GB, free: 14.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.8072, allocations: 31.94 kB / 0.5961 GB, free: 14.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.008126/0.8154, allocations: 1.513 MB / 0.5975 GB, free: 12.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.8154, allocations: 11.97 kB / 0.5975 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.819, allocations: 231.1 kB / 0.5978 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009278/0.8284, allocations: 1.619 MB / 0.5994 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.8286, allocations: 82 kB / 0.5994 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007812/0.8294, allocations: 115.9 kB / 0.5995 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005136/0.8346, allocations: 1.646 MB / 0.6011 GB, free: 8.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.8347, allocations: 4 kB / 0.6012 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.835, allocations: 51.97 kB / 0.6012 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003751/0.8353, allocations: 57.98 kB / 0.6013 GB, free: 8.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005766/0.8411, allocations: 1.429 MB / 0.6027 GB, free: 7.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.8738, allocations: 7.984 MB / 0.6104 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/0.8781, allocations: 1.542 MB / 0.612 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.8814, allocations: 1.207 MB / 0.6131 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.8817, allocations: 20.97 kB / 0.6132 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004835/0.8866, allocations: 1.763 MB / 0.6149 GB, free: 10.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=177): time 6.111e-06/0.8866, allocations: 0 / 0.6149 GB, free: 10.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=178): time 0.05753/0.9442, allocations: 8.126 MB / 0.6228 GB, free: 2.223 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002807/0.9445, allocations: 250.9 kB / 0.623 GB, free: 1.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.9466, allocations: 0.5777 MB / 0.6236 GB, free: 1.344 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000734/0.9474, allocations: 65.7 kB / 0.6237 GB, free: 1.273 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/0.9482, allocations: 499.3 kB / 0.6242 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/0.9498, allocations: 0.5902 MB / 0.6247 GB, free: 188 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.9503, allocations: 36 kB / 0.6248 GB, free: 152 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004091/0.9508, allocations: 390.8 kB / 0.6251 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005642/0.9565, allocations: 1.254 MB / 0.6264 GB, free: 14.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006401/0.963, allocations: 1.518 MB / 0.6278 GB, free: 12.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/0.9694, allocations: 1.422 MB / 0.6292 GB, free: 11.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/0.9695, allocations: 0 / 0.6292 GB, free: 11.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.07047/1.04, allocations: 7.547 MB / 0.6366 GB, free: 3.898 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.04, allocations: 59.41 kB / 0.6367 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3903/1.43, allocations: 6.128 MB / 0.6426 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04702/1.478, allocations: 7.28 MB / 0.6498 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.479, allocations: 158.5 kB / 0.6499 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06644/1.545, allocations: 23.43 MB / 0.6728 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.548, allocations: 159.8 kB / 0.6729 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/1.549, allocations: 199.3 kB / 0.6731 GB, free: 123 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.0007894/1.549, allocations: 305.5 kB / 0.6734 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/1.55, allocations: 119.7 kB / 0.6735 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02841/1.578, allocations: 5.518 MB / 0.6789 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/1.578, allocations: 34.56 kB / 0.679 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/1.578, allocations: 3.953 kB / 0.679 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-05/1.579, allocations: 10.41 kB / 0.679 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03659/1.615, allocations: 8.066 MB / 0.6868 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/1.615, allocations: 0 / 0.6868 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.617, allocations: 154.5 kB / 0.687 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04629/1.663, allocations: 8.154 MB / 0.695 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008271/1.664, allocations: 267.5 kB / 0.6952 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03267/1.697, allocations: 21.49 MB / 0.7162 GB, free: 93.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.697, allocations: 7.891 kB / 0.7162 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03226/1.729, allocations: 6.734 MB / 0.7228 GB, free: 86.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/1.729, allocations: 187.7 kB / 0.723 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009657/1.73, allocations: 219.9 kB / 0.7232 GB, free: 86.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.733, allocations: 147.4 kB / 0.7233 GB, free: 86.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/1.734, allocations: 264.9 kB / 0.7236 GB, free: 86.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004612/1.734, allocations: 197.2 kB / 0.7238 GB, free: 85.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008633/1.735, allocations: 455.1 kB / 0.7242 GB, free: 85.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.735, allocations: 0 / 0.7242 GB, free: 85.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003374/1.739, allocations: 0.6876 MB / 0.7249 GB, free: 84.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008011/1.739, allocations: 276.8 kB / 0.7251 GB, free: 84.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01217/1.752, allocations: 4.066 MB / 0.7291 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.752, allocations: 480 / 0.7291 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008399/1.76, allocations: 3.142 MB / 0.7322 GB, free: 77.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.762, allocations: 182.8 kB / 0.7323 GB, free: 77.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.773, allocations: 4.632 MB / 0.7369 GB, free: 72.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.774, allocations: 1.313 MB / 0.7381 GB, free: 71.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/1.775, allocations: 91.42 kB / 0.7382 GB, free: 71.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/1.775, allocations: 0 / 0.7382 GB, free: 71.09 MB / 474.7 MB Notification: Performance of Templates: time 0.07663/1.852, allocations: 45.33 MB / 0.7825 GB, free: 25.86 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)