Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001041/0.001041, allocations: 178.7 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.39/1.39, allocations: 194.5 MB / 212.6 MB, free: 2.945 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001609/0.001609, allocations: 115.6 kB / 257.9 MB, free: 4.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2077/0.2077, allocations: 38.02 MB / 341.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 16 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4685, allocations: 100.4 MB / 0.5456 GB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4688, allocations: 96.55 kB / 0.5457 GB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05722/0.5261, allocations: 19.54 MB / 0.5647 GB, free: 9.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5261, allocations: 0 / 0.5647 GB, free: 9.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.802e-05/0.5262, allocations: 16 kB / 0.5648 GB, free: 9.801 MB / 378.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.003603/0.5298, allocations: 1.143 MB / 0.5659 GB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5299, allocations: 8.031 kB / 0.5659 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5309, allocations: 139.7 kB / 0.566 GB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.533, allocations: 0.7283 MB / 0.5667 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.5331, allocations: 62.98 kB / 0.5668 GB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.5333, allocations: 69.31 kB / 0.5669 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.5354, allocations: 1.063 MB / 0.5679 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.5354, allocations: 11.92 kB / 0.5679 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.5355, allocations: 34.8 kB / 0.5679 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.5356, allocations: 41.98 kB / 0.568 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.5372, allocations: 0.8959 MB / 0.5689 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.5429, allocations: 4.131 MB / 0.5729 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.544, allocations: 0.6978 MB / 0.5736 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.5446, allocations: 467.1 kB / 0.574 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.5447, allocations: 16.48 kB / 0.574 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009417/0.5456, allocations: 0.6618 MB / 0.5747 GB, free: 1.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.5456, allocations: 0 / 0.5747 GB, free: 1.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.004889/0.5505, allocations: 2.977 MB / 0.5776 GB, free: 14.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.5507, allocations: 155.8 kB / 0.5777 GB, free: 14.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.5513, allocations: 454.2 kB / 0.5782 GB, free: 14.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.5514, allocations: 48.7 kB / 0.5782 GB, free: 14.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.5517, allocations: 375.3 kB / 0.5786 GB, free: 14.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.5519, allocations: 294.1 kB / 0.5788 GB, free: 13.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.552, allocations: 19.56 kB / 0.5789 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5522, allocations: 385.8 kB / 0.5792 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.5528, allocations: 409.6 kB / 0.5796 GB, free: 13.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.5536, allocations: 0.6102 MB / 0.5802 GB, free: 12.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.555, allocations: 1.078 MB / 0.5813 GB, free: 11.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.555, allocations: 7.984 kB / 0.5813 GB, free: 11.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002916/0.5579, allocations: 1.533 MB / 0.5828 GB, free: 10.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.558, allocations: 37.64 kB / 0.5828 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002267/0.5603, allocations: 1.201 MB / 0.584 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.5615, allocations: 425.6 kB / 0.5844 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.562, allocations: 130.3 kB / 0.5845 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/0.5693, allocations: 4.728 MB / 0.5891 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.5701, allocations: 71.94 kB / 0.5892 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.5702, allocations: 39.98 kB / 0.5892 GB, free: 4.785 MB / 394.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.0007219/0.571, allocations: 343.2 kB / 0.5896 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.5712, allocations: 67.16 kB / 0.5896 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.5733, allocations: 1.165 MB / 0.5908 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.5733, allocations: 19.94 kB / 0.5908 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5733, allocations: 0 / 0.5908 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.5733, allocations: 7.969 kB / 0.5908 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.5772, allocations: 2.23 MB / 0.593 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5772, allocations: 0 / 0.593 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.5778, allocations: 131.8 kB / 0.5931 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.578, allocations: 86.48 kB / 0.5932 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.5781, allocations: 23.98 kB / 0.5932 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.5811, allocations: 3.922 MB / 0.597 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5811, allocations: 4.031 kB / 0.597 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.584, allocations: 1.815 MB / 0.5988 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.5842, allocations: 136.3 kB / 0.5989 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.5844, allocations: 31.98 kB / 0.599 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.585, allocations: 59.88 kB / 0.599 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.5852, allocations: 92.81 kB / 0.5991 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.5853, allocations: 27.98 kB / 0.5991 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004825/0.5858, allocations: 307.1 kB / 0.5994 GB, free: 9.754 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5858, allocations: 0 / 0.5994 GB, free: 9.754 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001181/0.5869, allocations: 283.9 kB / 0.5997 GB, free: 9.477 MB / 410.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.0003505/0.5873, allocations: 177.7 kB / 0.5999 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.5899, allocations: 1.381 MB / 0.6012 GB, free: 7.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.59, allocations: 0 / 0.6012 GB, free: 7.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.5912, allocations: 0.9626 MB / 0.6022 GB, free: 6.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.592, allocations: 114.4 kB / 0.6023 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.5955, allocations: 2.203 MB / 0.6044 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.5963, allocations: 1.037 MB / 0.6054 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.597, allocations: 189.8 kB / 0.6056 GB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.5972, allocations: 55.42 kB / 0.6057 GB, free: 3.219 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5972, allocations: 0 / 0.6057 GB, free: 3.219 MB / 410.7 MB Notification: Performance of Templates: time 0.0241/0.6213, allocations: 11.2 MB / 0.6166 GB, free: 8.008 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)