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.001101/0.001101, allocations: 183.9 kB / 16.39 MB, free: 5.762 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.191/1.191, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001608, allocations: 112.5 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1625/0.1625, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07848/0.07884, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2878/0.3667, allocations: 100.4 MB / 0.5443 GB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.367, allocations: 96.31 kB / 0.5444 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05131/0.4183, allocations: 19.54 MB / 0.5635 GB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4183, allocations: 8 kB / 0.5635 GB, free: 10.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.591e-05/0.4184, allocations: 12 kB / 0.5635 GB, free: 10.24 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.002053/0.4204, allocations: 1.154 MB / 0.5646 GB, free: 9.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.4205, allocations: 12.02 kB / 0.5646 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.4211, allocations: 134.8 kB / 0.5648 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.4235, allocations: 1.035 MB / 0.5658 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.4236, allocations: 61.39 kB / 0.5658 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4237, allocations: 70.12 kB / 0.5659 GB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4252, allocations: 1.064 MB / 0.5669 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4252, allocations: 0 / 0.5669 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.4253, allocations: 30.69 kB / 0.567 GB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.4254, allocations: 41.98 kB / 0.567 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.4266, allocations: 0.9056 MB / 0.5679 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.4311, allocations: 4.138 MB / 0.5719 GB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.4321, allocations: 0.71 MB / 0.5726 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.4322, allocations: 12.61 kB / 0.5726 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008324/0.433, allocations: 0.6526 MB / 0.5733 GB, free: 1.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.255e-06/0.433, allocations: 0 / 0.5733 GB, free: 1.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.004165/0.4372, allocations: 3.212 MB / 0.5764 GB, free: 15.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.4373, allocations: 157.2 kB / 0.5766 GB, free: 14.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.4377, allocations: 416.7 kB / 0.577 GB, free: 14.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.4378, allocations: 49.08 kB / 0.577 GB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.438, allocations: 375.6 kB / 0.5774 GB, free: 14.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.4383, allocations: 290.2 kB / 0.5777 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.4383, allocations: 19.38 kB / 0.5777 GB, free: 14.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4385, allocations: 381.6 kB / 0.578 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.439, allocations: 408 kB / 0.5784 GB, free: 13.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.4397, allocations: 0.6112 MB / 0.579 GB, free: 12.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.4404, allocations: 0.4967 MB / 0.5795 GB, free: 12.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4404, allocations: 0 / 0.5795 GB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002688/0.4431, allocations: 1.533 MB / 0.581 GB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.4431, allocations: 33.7 kB / 0.581 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002164/0.4453, allocations: 1.2 MB / 0.5822 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.4466, allocations: 438.5 kB / 0.5826 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.4471, allocations: 138.5 kB / 0.5828 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.4538, allocations: 4.871 MB / 0.5875 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.4546, allocations: 71.84 kB / 0.5876 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.4547, allocations: 40 kB / 0.5876 GB, free: 5.648 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.0006323/0.4553, allocations: 359.2 kB / 0.588 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.4555, allocations: 67.25 kB / 0.588 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.4573, allocations: 1.165 MB / 0.5892 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.4574, allocations: 16 kB / 0.5892 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4574, allocations: 4 kB / 0.5892 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4574, allocations: 7.969 kB / 0.5892 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.4607, allocations: 2.23 MB / 0.5914 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4607, allocations: 0 / 0.5914 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.4614, allocations: 139.8 kB / 0.5915 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.4616, allocations: 90.59 kB / 0.5916 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/0.4616, allocations: 15.98 kB / 0.5916 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.4641, allocations: 3.942 MB / 0.5955 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4641, allocations: 64 / 0.5955 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.4666, allocations: 1.855 MB / 0.5973 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.4668, allocations: 140.2 kB / 0.5974 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.4669, allocations: 27.98 kB / 0.5974 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.4674, allocations: 63.88 kB / 0.5975 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.4676, allocations: 84.88 kB / 0.5976 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.4677, allocations: 31.98 kB / 0.5976 GB, free: 10.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003599/0.468, allocations: 307.1 kB / 0.5979 GB, free: 10.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.468, allocations: 0 / 0.5979 GB, free: 10.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009044/0.4689, allocations: 279.9 kB / 0.5982 GB, free: 10.24 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.0002894/0.4692, allocations: 181.5 kB / 0.5983 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.4713, allocations: 1.377 MB / 0.5997 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4713, allocations: 3.938 kB / 0.5997 GB, free: 8.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.4724, allocations: 0.9704 MB / 0.6006 GB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.4729, allocations: 98.89 kB / 0.6007 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.4758, allocations: 2.19 MB / 0.6029 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.4764, allocations: 1.057 MB / 0.6039 GB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005814/0.477, allocations: 189.8 kB / 0.6041 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.4773, allocations: 63.42 kB / 0.6041 GB, free: 3.984 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4773, allocations: 0 / 0.6041 GB, free: 3.984 MB / 410.7 MB Notification: Performance of Templates: time 0.01661/0.4939, allocations: 11.14 MB / 0.615 GB, free: 8.832 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)