Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002624/0.00263, allocations: 364.7 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.699/3.699, allocations: 388.9 MB / 406.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003601/0.003601, allocations: 241.2 kB / 452.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7436/0.7436, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004399, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09355, allocations: 53.23 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5723, allocations: 100.4 MB / 0.7722 GB, free: 81.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5727, allocations: 94.78 kB / 0.7723 GB, free: 81.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07835/0.651, allocations: 19.51 MB / 0.7914 GB, free: 75.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6511, allocations: 0 / 0.7914 GB, free: 75.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.15e-05/0.6511, allocations: 15.22 kB / 0.7914 GB, free: 75.93 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003229/0.6544, allocations: 1.151 MB / 0.7925 GB, free: 75.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6544, allocations: 7.844 kB / 0.7925 GB, free: 75.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.6555, allocations: 137.5 kB / 0.7927 GB, free: 75.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.6574, allocations: 0.7215 MB / 0.7934 GB, free: 74.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.6575, allocations: 61.23 kB / 0.7934 GB, free: 74.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.6576, allocations: 69.09 kB / 0.7935 GB, free: 74.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.66, allocations: 1.062 MB / 0.7945 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.66, allocations: 6.531 kB / 0.7945 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.6602, allocations: 31.53 kB / 0.7946 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.621e-05/0.6602, allocations: 44.02 kB / 0.7946 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.6625, allocations: 0.8948 MB / 0.7955 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006892/0.6694, allocations: 4.133 MB / 0.7995 GB, free: 71.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.671, allocations: 0.7031 MB / 0.8002 GB, free: 71.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/0.672, allocations: 463.1 kB / 0.8006 GB, free: 71.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.6721, allocations: 16.23 kB / 0.8007 GB, free: 71.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.6734, allocations: 0.6617 MB / 0.8013 GB, free: 70.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.707e-06/0.6734, allocations: 3.938 kB / 0.8013 GB, free: 70.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.00667/0.6801, allocations: 2.974 MB / 0.8042 GB, free: 69.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.6802, allocations: 155.3 kB / 0.8044 GB, free: 69.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.6809, allocations: 461.3 kB / 0.8048 GB, free: 69.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.681, allocations: 45.86 kB / 0.8048 GB, free: 69.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.6813, allocations: 371.5 kB / 0.8052 GB, free: 69.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.6817, allocations: 294.3 kB / 0.8055 GB, free: 69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.6817, allocations: 18.97 kB / 0.8055 GB, free: 69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6819, allocations: 387.5 kB / 0.8059 GB, free: 68.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.6829, allocations: 400.2 kB / 0.8063 GB, free: 68.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.684, allocations: 0.6239 MB / 0.8069 GB, free: 68.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6851, allocations: 0.4901 MB / 0.8073 GB, free: 68.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.6852, allocations: 2.625 kB / 0.8073 GB, free: 68.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004597/0.6898, allocations: 1.538 MB / 0.8088 GB, free: 67.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.6898, allocations: 35.42 kB / 0.8089 GB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003699/0.6936, allocations: 1.192 MB / 0.81 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/0.6957, allocations: 439.3 kB / 0.8105 GB, free: 67.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.6966, allocations: 122.2 kB / 0.8106 GB, free: 67.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.707, allocations: 4.726 MB / 0.8152 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.7081, allocations: 72.73 kB / 0.8153 GB, free: 64.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.7082, allocations: 36.94 kB / 0.8153 GB, free: 64.27 MB / 442.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.0006812/0.7089, allocations: 352.7 kB / 0.8156 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.7091, allocations: 63.25 kB / 0.8157 GB, free: 63.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.7119, allocations: 1.171 MB / 0.8168 GB, free: 63.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/0.7119, allocations: 16 kB / 0.8169 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.712, allocations: 0 / 0.8169 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.712, allocations: 7.984 kB / 0.8169 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.717, allocations: 2.225 MB / 0.819 GB, free: 61.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.717, allocations: 4 kB / 0.819 GB, free: 61.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.7182, allocations: 123.8 kB / 0.8192 GB, free: 61.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/0.7184, allocations: 94.55 kB / 0.8192 GB, free: 61.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.7185, allocations: 21.98 kB / 0.8193 GB, free: 61.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.7213, allocations: 3.926 MB / 0.8231 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7214, allocations: 0 / 0.8231 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.7256, allocations: 1.808 MB / 0.8249 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.7259, allocations: 140.3 kB / 0.825 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.726, allocations: 23.83 kB / 0.825 GB, free: 54.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/0.727, allocations: 75.83 kB / 0.8251 GB, free: 54.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.7273, allocations: 84.83 kB / 0.8252 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-05/0.7274, allocations: 30.52 kB / 0.8252 GB, free: 54.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004962/0.7279, allocations: 311.1 kB / 0.8255 GB, free: 54.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.7279, allocations: 4 kB / 0.8255 GB, free: 54.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001287/0.7292, allocations: 279.9 kB / 0.8258 GB, free: 54.02 MB / 442.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.0003915/0.7296, allocations: 174 kB / 0.8259 GB, free: 53.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003263/0.7329, allocations: 1.38 MB / 0.8273 GB, free: 52.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7329, allocations: 4 kB / 0.8273 GB, free: 52.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.7347, allocations: 0.958 MB / 0.8282 GB, free: 51.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7358, allocations: 125.9 kB / 0.8283 GB, free: 51.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.74, allocations: 2.19 MB / 0.8305 GB, free: 49.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.7406, allocations: 1.053 MB / 0.8315 GB, free: 48.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001014/0.7417, allocations: 191.7 kB / 0.8317 GB, free: 47.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.742, allocations: 55.42 kB / 0.8317 GB, free: 47.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.742, allocations: 0 / 0.8317 GB, free: 47.78 MB / 442.7 MB Notification: Performance of Templates: time 0.02765/0.7697, allocations: 11.18 MB / 0.8427 GB, free: 36.73 MB / 442.7 MB