Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001618, allocations: 182.7 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 1.969/1.969, allocations: 205.4 MB / 221.9 MB, free: 13.74 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.001115/0.001115, allocations: 98.8 kB / 270.3 MB, free: 13.27 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.2624/0.2624, allocations: 38.06 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006485, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1306, allocations: 56.33 MB / 479.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/0.6434, allocations: 105.3 MB / 0.5707 GB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.6438, allocations: 95.77 kB / 0.5708 GB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1346/0.7784, allocations: 19.53 MB / 0.5899 GB, free: 9.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.949e-06/0.7785, allocations: 7.938 kB / 0.5899 GB, free: 9.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.373e-05/0.7785, allocations: 12 kB / 0.5899 GB, free: 9.699 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003858/0.7824, allocations: 1.145 MB / 0.591 GB, free: 8.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.7825, allocations: 11.97 kB / 0.591 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.7839, allocations: 130.8 kB / 0.5911 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.7882, allocations: 1.044 MB / 0.5922 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.7883, allocations: 55.94 kB / 0.5922 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.7886, allocations: 70.25 kB / 0.5923 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.7912, allocations: 1.062 MB / 0.5933 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.7913, allocations: 3.938 kB / 0.5933 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.7915, allocations: 34.88 kB / 0.5934 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.569e-05/0.7916, allocations: 49.92 kB / 0.5934 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.794, allocations: 0.8956 MB / 0.5943 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008369/0.8024, allocations: 4.141 MB / 0.5983 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.8043, allocations: 0.7149 MB / 0.599 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.8044, allocations: 12.61 kB / 0.599 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.8059, allocations: 0.6558 MB / 0.5997 GB, free: 1.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.667e-06/0.8059, allocations: 0 / 0.5997 GB, free: 1.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.007556/0.8135, allocations: 3.226 MB / 0.6028 GB, free: 14.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.8136, allocations: 149 kB / 0.603 GB, free: 14.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.8144, allocations: 413.2 kB / 0.6034 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.8145, allocations: 52.25 kB / 0.6034 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.8149, allocations: 417.2 kB / 0.6038 GB, free: 13.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.8153, allocations: 293.6 kB / 0.6041 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.8154, allocations: 17.81 kB / 0.6041 GB, free: 13.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.8156, allocations: 359.3 kB / 0.6044 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.8167, allocations: 398.4 kB / 0.6048 GB, free: 12.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.818, allocations: 0.6095 MB / 0.6054 GB, free: 12.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.8192, allocations: 0.497 MB / 0.6059 GB, free: 11.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8192, allocations: 0 / 0.6059 GB, free: 11.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004903/0.8242, allocations: 1.512 MB / 0.6074 GB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.8242, allocations: 33.7 kB / 0.6074 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003923/0.8282, allocations: 1.194 MB / 0.6086 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.8304, allocations: 434.8 kB / 0.609 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009071/0.8313, allocations: 144.1 kB / 0.6091 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.8431, allocations: 4.886 MB / 0.6139 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8443, allocations: 71.94 kB / 0.614 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.8444, allocations: 40 kB / 0.614 GB, free: 5.402 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007676/0.8452, allocations: 343.2 kB / 0.6143 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.8454, allocations: 75.11 kB / 0.6144 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.8485, allocations: 1.154 MB / 0.6155 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/0.8486, allocations: 20 kB / 0.6156 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.8486, allocations: 4 kB / 0.6156 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.8486, allocations: 11.94 kB / 0.6156 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/0.8543, allocations: 2.23 MB / 0.6177 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.8544, allocations: 0 / 0.6177 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.8557, allocations: 131.8 kB / 0.6179 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.856, allocations: 94.53 kB / 0.618 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.8561, allocations: 23.98 kB / 0.618 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003697/0.8598, allocations: 3.942 MB / 0.6218 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.8599, allocations: 3.938 kB / 0.6218 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.8644, allocations: 1.844 MB / 0.6236 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.8647, allocations: 140.3 kB / 0.6238 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.8648, allocations: 24 kB / 0.6238 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008731/0.8657, allocations: 71.88 kB / 0.6239 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.866, allocations: 80.88 kB / 0.6239 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.8661, allocations: 24 kB / 0.624 GB, free: 10.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005664/0.8667, allocations: 311.1 kB / 0.6243 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8667, allocations: 4 kB / 0.6243 GB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001375/0.8681, allocations: 283.9 kB / 0.6245 GB, free: 10.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_b.closed,breaker.breaker_a.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_c.open,breaker.breaker_a.open,breaker.breaker_b.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * 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%) 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.0004241/0.8686, allocations: 181.7 kB / 0.6247 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.8724, allocations: 1.381 MB / 0.6261 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.8725, allocations: 4 kB / 0.6261 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.8744, allocations: 0.958 MB / 0.627 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.8753, allocations: 106.5 kB / 0.6271 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.8801, allocations: 2.256 MB / 0.6293 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.8811, allocations: 1.049 MB / 0.6303 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.8816, allocations: 63.42 kB / 0.6304 GB, free: 3.867 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8816, allocations: 4 kB / 0.6304 GB, free: 3.863 MB / 426.7 MB Notification: Performance of Templates: time 0.03326/0.9149, allocations: 15.97 MB / 0.646 GB, free: 3.883 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)