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.001288/0.001288, allocations: 102.9 kB / 16.5 MB, free: 6.645 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.001238/0.001238, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1752/0.1752, allocations: 38.03 MB / 329.3 MB, free: 8.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.31 kB / 398.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 58.06 MB / 456.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.00756/0.1256, allocations: 6.838 MB / 463 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1295, allocations: 2.29 MB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/0.13, allocations: 31.81 kB / 465.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1314, allocations: 498.1 kB / 465.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1324, allocations: 454.1 kB / 466.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.1332, allocations: 331.4 kB / 466.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1346, allocations: 1.438 MB / 468 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007191/0.1353, allocations: 471.5 kB / 468.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.1359, allocations: 394.3 kB / 468.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.1368, allocations: 0.5645 MB / 469.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1369, allocations: 48 kB / 469.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009292/0.1379, allocations: 0.4992 MB / 470 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.1382, allocations: 362.9 kB / 470.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.1388, allocations: 437.7 kB / 470.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1402, allocations: 1.172 MB / 471.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1402, allocations: 4 kB / 471.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1402, allocations: 0 / 471.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1402, allocations: 3.938 kB / 471.9 MB, free: 8.652 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.002751/0.143, allocations: 1.233 MB / 473.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.143, allocations: 12.03 kB / 473.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/0.1437, allocations: 135.7 kB / 473.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.1446, allocations: 0.5579 MB / 473.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.1447, allocations: 54.38 kB / 473.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1448, allocations: 92.09 kB / 474 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.1466, allocations: 1.072 MB / 475.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.1466, allocations: 7.938 kB / 475.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.1467, allocations: 35.97 kB / 475.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.1468, allocations: 49.98 kB / 475.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1483, allocations: 0.9367 MB / 476.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.1536, allocations: 4.231 MB / 480.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.1549, allocations: 0.9376 MB / 481.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.1555, allocations: 447.5 kB / 481.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.1556, allocations: 12.55 kB / 481.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/0.1565, allocations: 0.6357 MB / 482.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.1565, allocations: 0 / 482.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004519/0.161, allocations: 2.9 MB / 485.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1611, allocations: 153.5 kB / 485.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.1617, allocations: 477.7 kB / 485.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.1618, allocations: 53.69 kB / 485.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.1621, allocations: 371.7 kB / 486.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.1623, allocations: 284.2 kB / 486.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.1626, allocations: 186.8 kB / 486.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1628, allocations: 386.7 kB / 487.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.1634, allocations: 394.4 kB / 487.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008366/0.1642, allocations: 0.6168 MB / 488.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.1659, allocations: 1.079 MB / 489.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.1659, allocations: 4 kB / 489.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002875/0.1688, allocations: 1.513 MB / 490.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.1689, allocations: 37.64 kB / 490.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002266/0.1711, allocations: 1.16 MB / 491.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.1727, allocations: 437.3 kB / 492.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.1733, allocations: 127.7 kB / 492.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/0.1806, allocations: 4.741 MB / 497.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.1813, allocations: 59.95 kB / 497.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.1814, allocations: 39.98 kB / 497.3 MB, free: 14.24 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.0005062/0.1819, allocations: 359.1 kB / 497.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.182, allocations: 71.16 kB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.1837, allocations: 1.119 MB / 498.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.1838, allocations: 15.94 kB / 498.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1838, allocations: 0 / 498.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.1838, allocations: 7.984 kB / 498.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.1871, allocations: 2.144 MB / 0.4893 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1871, allocations: 4.062 kB / 0.4893 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.1877, allocations: 123.8 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.1879, allocations: 94.39 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.188, allocations: 24 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.1908, allocations: 3.918 MB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.1908, allocations: 7.969 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.1933, allocations: 1.761 MB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.1936, allocations: 144.3 kB / 0.4952 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.1937, allocations: 20 kB / 0.4952 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.1942, allocations: 51.94 kB / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.1944, allocations: 92.8 kB / 0.4953 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.1945, allocations: 24 kB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.1949, allocations: 327 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1949, allocations: 0 / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001021/0.1959, allocations: 252 kB / 0.4959 GB, free: 3.129 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.0003003/0.1962, allocations: 167.5 kB / 0.4961 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.1986, allocations: 1.35 MB / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1986, allocations: 0 / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.1997, allocations: 0.9549 MB / 0.4983 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.2005, allocations: 111.9 kB / 0.4984 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.2036, allocations: 2.133 MB / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.2043, allocations: 1.037 MB / 0.5015 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.2048, allocations: 185.8 kB / 0.5017 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.205, allocations: 63.42 kB / 0.5018 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.205, allocations: 7.938 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of Templates: time 0.02139/0.2264, allocations: 11.39 MB / 0.5129 GB, free: 1.664 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)