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.001132/0.001136, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001243/0.001243, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.516/1.516, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1799/0.1799, allocations: 38.02 MB / 330.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 68.78 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 58.05 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008069/0.1124, allocations: 6.2 MB / 463.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.1164, allocations: 2.079 MB / 465.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.1171, allocations: 19.88 kB / 465.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.1187, allocations: 0.5289 MB / 466.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.1205, allocations: 493.6 kB / 466.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009536/0.1214, allocations: 359.3 kB / 467.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1229, allocations: 1.072 MB / 468.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008782/0.1238, allocations: 0.5042 MB / 468.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.1246, allocations: 450.3 kB / 469.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.1257, allocations: 0.5567 MB / 469.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.1259, allocations: 91.94 kB / 469.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1271, allocations: 0.5343 MB / 470.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005039/0.1276, allocations: 395 kB / 470.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.1283, allocations: 473.7 kB / 471.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.1298, allocations: 1.203 MB / 472.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1298, allocations: 0 / 472.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1298, allocations: 4 kB / 472.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.66e-05/0.1299, allocations: 0 / 472.4 MB, free: 9.07 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.003024/0.1329, allocations: 1.236 MB / 473.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1329, allocations: 15.89 kB / 473.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.1338, allocations: 135.7 kB / 473.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.1348, allocations: 0.5579 MB / 474.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.1348, allocations: 58.38 kB / 474.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.1351, allocations: 88.11 kB / 474.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.1368, allocations: 1.084 MB / 475.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.1368, allocations: 4 kB / 475.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.1369, allocations: 28 kB / 475.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.1371, allocations: 45.98 kB / 475.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.1386, allocations: 0.9367 MB / 476.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005635/0.1443, allocations: 4.227 MB / 480.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1457, allocations: 0.9416 MB / 481.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.1463, allocations: 447.5 kB / 482.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.1464, allocations: 8.562 kB / 482.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.1475, allocations: 0.6396 MB / 482.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 8.285e-06/0.1475, allocations: 4 kB / 482.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.005236/0.1528, allocations: 2.896 MB / 485.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1529, allocations: 161.6 kB / 485.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.1536, allocations: 473.8 kB / 486.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/0.1537, allocations: 45.7 kB / 486.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.154, allocations: 387.6 kB / 486.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.1543, allocations: 280.1 kB / 487.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.1546, allocations: 182.9 kB / 487.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1548, allocations: 378.8 kB / 487.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/0.1555, allocations: 390.4 kB / 488 MB, free: 8.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.1563, allocations: 0.6207 MB / 488.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1577, allocations: 1.082 MB / 489.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1577, allocations: 0 / 489.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003143/0.1609, allocations: 1.518 MB / 491.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.161, allocations: 45.72 kB / 491.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002419/0.1634, allocations: 1.148 MB / 492.4 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.1648, allocations: 449.2 kB / 492.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.1653, allocations: 123.8 kB / 493 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/0.1739, allocations: 5.174 MB / 498.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.1746, allocations: 55.95 kB / 498.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.1747, allocations: 39.98 kB / 498.3 MB, free: 14.22 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.0006227/0.1754, allocations: 355.2 kB / 498.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.1756, allocations: 67.16 kB / 498.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.1775, allocations: 1.134 MB / 499.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.1776, allocations: 12 kB / 499.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1776, allocations: 4 kB / 499.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.887e-05/0.1776, allocations: 3.984 kB / 499.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.1813, allocations: 2.155 MB / 0.4902 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1813, allocations: 0 / 0.4902 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.1819, allocations: 123.7 kB / 0.4903 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.1821, allocations: 90.59 kB / 0.4904 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.1822, allocations: 19.98 kB / 0.4904 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/0.1856, allocations: 4.233 MB / 0.4946 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1856, allocations: 0 / 0.4946 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.1884, allocations: 1.764 MB / 0.4963 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.1887, allocations: 140.4 kB / 0.4964 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.1888, allocations: 24 kB / 0.4965 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.1894, allocations: 51.88 kB / 0.4965 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.1896, allocations: 80.89 kB / 0.4966 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.1897, allocations: 27.98 kB / 0.4966 GB, free: 3.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004655/0.1902, allocations: 323.1 kB / 0.4969 GB, free: 3.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1902, allocations: 4 kB / 0.4969 GB, free: 3.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001105/0.1913, allocations: 256 kB / 0.4972 GB, free: 2.773 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.0003226/0.1916, allocations: 153.7 kB / 0.4973 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003168/0.1948, allocations: 1.643 MB / 0.4989 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1948, allocations: 0 / 0.4989 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.1961, allocations: 0.9425 MB / 0.4998 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.1969, allocations: 129.5 kB / 0.5 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.2003, allocations: 1.885 MB / 0.5018 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.2011, allocations: 1.025 MB / 0.5028 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.2014, allocations: 75.36 kB / 0.5029 GB, free: 12.78 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2014, allocations: 0 / 0.5029 GB, free: 12.78 MB / 398.1 MB Notification: Performance of Templates: time 0.234/0.4354, allocations: 16.42 MB / 0.5189 GB, free: 70.12 MB / 398.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)