Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0023/0.0023, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.916/2.916, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.001126/0.001126, allocations: 94.02 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.34/0.34, allocations: 38.08 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005794, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5378, allocations: 56.33 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.7714, allocations: 105.4 MB / 0.5719 GB, free: 12.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004404/0.7719, allocations: 99.94 kB / 0.572 GB, free: 12.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08921/0.8611, allocations: 19.53 MB / 0.5911 GB, free: 9.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.8612, allocations: 0 / 0.5911 GB, free: 9.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.8613, allocations: 16 kB / 0.5911 GB, free: 9.117 MB / 426.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.003807/0.8651, allocations: 1.149 MB / 0.5922 GB, free: 7.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.8652, allocations: 8.031 kB / 0.5922 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.8665, allocations: 135.8 kB / 0.5924 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.8691, allocations: 0.7217 MB / 0.5931 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/0.8692, allocations: 63.06 kB / 0.5931 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.8694, allocations: 75.98 kB / 0.5932 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/0.8722, allocations: 1.06 MB / 0.5942 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.8722, allocations: 4 kB / 0.5942 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.8724, allocations: 39.97 kB / 0.5943 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.69e-05/0.8725, allocations: 41.98 kB / 0.5943 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.875, allocations: 0.8977 MB / 0.5952 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.8841, allocations: 4.135 MB / 0.5992 GB, free: 468 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.8859, allocations: 0.7094 MB / 0.5999 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.887, allocations: 460.8 kB / 0.6004 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-05/0.8871, allocations: 8.562 kB / 0.6004 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.8887, allocations: 0.6708 MB / 0.601 GB, free: 14.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 4.488e-06/0.8888, allocations: 0 / 0.601 GB, free: 14.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.008295/0.8971, allocations: 2.979 MB / 0.6039 GB, free: 11.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.8973, allocations: 149.5 kB / 0.6041 GB, free: 11.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.8984, allocations: 457.8 kB / 0.6045 GB, free: 10.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.8985, allocations: 57.62 kB / 0.6046 GB, free: 10.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.8991, allocations: 367.8 kB / 0.6049 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.8995, allocations: 295.9 kB / 0.6052 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.8996, allocations: 20 kB / 0.6052 GB, free: 10.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.8998, allocations: 382.7 kB / 0.6056 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.9009, allocations: 410.1 kB / 0.606 GB, free: 9.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.9021, allocations: 0.6098 MB / 0.6066 GB, free: 8.613 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.9043, allocations: 1.084 MB / 0.6076 GB, free: 7.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9043, allocations: 0 / 0.6076 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005014/0.9093, allocations: 1.537 MB / 0.6091 GB, free: 5.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.9095, allocations: 29.7 kB / 0.6092 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003626/0.9131, allocations: 1.203 MB / 0.6103 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.9152, allocations: 432.5 kB / 0.6108 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.9161, allocations: 127.7 kB / 0.6109 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.9269, allocations: 4.722 MB / 0.6155 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.9282, allocations: 79.81 kB / 0.6156 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.9284, allocations: 43.98 kB / 0.6156 GB, free: 15.1 MB / 458.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.0009144/0.9293, allocations: 339.2 kB / 0.6159 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.9296, allocations: 75.14 kB / 0.616 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.9326, allocations: 1.157 MB / 0.6171 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/0.9327, allocations: 19.98 kB / 0.6171 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.9327, allocations: 0 / 0.6171 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.9328, allocations: 7.984 kB / 0.6172 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/0.9385, allocations: 2.23 MB / 0.6193 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.9386, allocations: 12 kB / 0.6193 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/0.9396, allocations: 119.8 kB / 0.6195 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.9399, allocations: 86.48 kB / 0.6195 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.94, allocations: 19.98 kB / 0.6196 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.9438, allocations: 3.926 MB / 0.6234 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.9439, allocations: 4.031 kB / 0.6234 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.9484, allocations: 1.807 MB / 0.6252 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.9489, allocations: 140.3 kB / 0.6253 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.9491, allocations: 27.97 kB / 0.6253 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.9499, allocations: 67.88 kB / 0.6254 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.9502, allocations: 88.75 kB / 0.6255 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-05/0.9504, allocations: 31.98 kB / 0.6255 GB, free: 4.375 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006184/0.951, allocations: 307.1 kB / 0.6258 GB, free: 4.074 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.951, allocations: 0 / 0.6258 GB, free: 4.074 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001793/0.9528, allocations: 279.9 kB / 0.6261 GB, free: 3.801 MB / 458.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.0005215/0.9533, allocations: 185.7 kB / 0.6262 GB, free: 3.609 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003913/0.9573, allocations: 1.373 MB / 0.6276 GB, free: 2.211 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9573, allocations: 0 / 0.6276 GB, free: 2.211 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.9592, allocations: 0.9624 MB / 0.6285 GB, free: 1.199 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.9606, allocations: 110.4 kB / 0.6286 GB, free: 1.094 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.9659, allocations: 2.268 MB / 0.6308 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.967, allocations: 1.037 MB / 0.6319 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005703/0.9676, allocations: 55.44 kB / 0.6319 GB, free: 13.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/0.9676, allocations: 0 / 0.6319 GB, free: 13.66 MB / 474.7 MB Notification: Performance of Templates: time 0.3713/1.339, allocations: 16.58 MB / 0.6481 GB, free: 140.5 MB / 474.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)