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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 89.33 kB / 16.65 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 183 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1789/0.1789, allocations: 38.07 MB / 330.8 MB, free: 8.48 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 10.16 kB / 400.7 MB, free: 34.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 59.17 MB / 459.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008473/0.1336, allocations: 6.406 MB / 466.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.1386, allocations: 2.267 MB / 468.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006893/0.1394, allocations: 27.81 kB / 468.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.1399, allocations: 111.2 kB / 468.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.1412, allocations: 450.1 kB / 469.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.1421, allocations: 331.5 kB / 469.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.1437, allocations: 1.446 MB / 470.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.145, allocations: 0.7862 MB / 471.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.1456, allocations: 350.4 kB / 472 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007597/0.1464, allocations: 0.5372 MB / 472.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.1465, allocations: 40 kB / 472.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008746/0.1474, allocations: 0.4913 MB / 473.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.1477, allocations: 335 kB / 473.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.1482, allocations: 443.4 kB / 473.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1493, allocations: 1.148 MB / 475 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1494, allocations: 0 / 475 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1494, allocations: 0 / 475 MB, free: 7.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1494, allocations: 0 / 475 MB, free: 7.82 MB / 350.1 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.002289/0.1517, allocations: 1.101 MB / 476.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1517, allocations: 15.97 kB / 476.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006864/0.1524, allocations: 127.8 kB / 476.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.1533, allocations: 0.5696 MB / 476.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.1534, allocations: 54.38 kB / 476.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.1536, allocations: 88.11 kB / 476.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.1552, allocations: 1.084 MB / 478 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.1552, allocations: 4 kB / 478 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.1553, allocations: 32 kB / 478.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.1555, allocations: 49.92 kB / 478.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.1571, allocations: 0.9328 MB / 479 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/0.1628, allocations: 4.238 MB / 483.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.1642, allocations: 0.9396 MB / 484.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.1648, allocations: 447.5 kB / 484.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.1649, allocations: 12.55 kB / 484.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/0.1658, allocations: 0.6357 MB / 485.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/0.1658, allocations: 4 kB / 485.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.00462/0.1705, allocations: 2.896 MB / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1706, allocations: 157.6 kB / 488.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.1711, allocations: 477.7 kB / 488.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.1712, allocations: 49.7 kB / 488.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.1715, allocations: 383.6 kB / 489.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.1717, allocations: 280.1 kB / 489.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1719, allocations: 97.66 kB / 489.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.172, allocations: 382.7 kB / 490 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.1727, allocations: 394.4 kB / 490.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.1734, allocations: 0.6129 MB / 491 MB, free: 7.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.1748, allocations: 1.079 MB / 492.1 MB, free: 5.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1748, allocations: 4 kB / 492.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002904/0.1778, allocations: 1.518 MB / 493.6 MB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.1778, allocations: 41.77 kB / 493.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002328/0.1801, allocations: 1.156 MB / 494.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.1816, allocations: 437.3 kB / 495.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.1821, allocations: 131.7 kB / 495.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007211/0.1893, allocations: 4.739 MB / 0.4884 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.1899, allocations: 63.95 kB / 0.4884 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.19, allocations: 43.98 kB / 0.4885 GB, free: 13.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005221/0.1905, allocations: 351.2 kB / 0.4888 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.1907, allocations: 67.16 kB / 0.4889 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.1925, allocations: 1.13 MB / 0.49 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.1926, allocations: 15.94 kB / 0.49 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1926, allocations: 0 / 0.49 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.1926, allocations: 11.97 kB / 0.49 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.1959, allocations: 2.151 MB / 0.4921 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1959, allocations: 0 / 0.4921 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.1965, allocations: 119.8 kB / 0.4922 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00016/0.1967, allocations: 94.58 kB / 0.4923 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.1967, allocations: 20 kB / 0.4923 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.1993, allocations: 3.926 MB / 0.4962 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1993, allocations: 8.125 kB / 0.4962 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.2018, allocations: 1.76 MB / 0.4979 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2019, allocations: 140.3 kB / 0.498 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.202, allocations: 27.98 kB / 0.498 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.2025, allocations: 55.95 kB / 0.4981 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.2027, allocations: 80.88 kB / 0.4982 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.2028, allocations: 31.98 kB / 0.4982 GB, free: 3.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.2032, allocations: 319.1 kB / 0.4985 GB, free: 2.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2032, allocations: 0 / 0.4985 GB, free: 2.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009051/0.2041, allocations: 256 kB / 0.4988 GB, free: 2.48 MB / 382.1 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_a.closed,breaker.breaker_b.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_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/0.2044, allocations: 161.6 kB / 0.4989 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002534/0.2069, allocations: 1.358 MB / 0.5002 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.207, allocations: 0 / 0.5002 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2274/0.4344, allocations: 0.9422 MB / 0.5012 GB, free: 55.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4357, allocations: 116.8 kB / 0.5013 GB, free: 55.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.4397, allocations: 2.209 MB / 0.5034 GB, free: 54.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.4405, allocations: 1.04 MB / 0.5044 GB, free: 53.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000688/0.4412, allocations: 196.6 kB / 0.5046 GB, free: 53.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4415, allocations: 54.67 kB / 0.5047 GB, free: 53.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4415, allocations: 0 / 0.5047 GB, free: 53.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02917/0.4706, allocations: 11.21 MB / 0.5156 GB, free: 51.16 MB / 382.1 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)