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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001101/0.001101, allocations: 110.5 kB / 17.74 MB, free: 5.352 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.001349/0.001349, allocations: 184.5 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1805/0.1805, allocations: 37.98 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 55.25 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008403/0.1107, allocations: 6.204 MB / 494 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.1149, allocations: 2.123 MB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/0.1156, allocations: 15.88 kB / 496.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.1173, allocations: 0.5293 MB / 496.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1189, allocations: 497.6 kB / 497.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.12, allocations: 363.3 kB / 497.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1215, allocations: 1.072 MB / 498.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008669/0.1224, allocations: 0.4965 MB / 499.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.1233, allocations: 470.3 kB / 499.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1245, allocations: 0.5567 MB / 0.4884 GB, free: 12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.1247, allocations: 88 kB / 0.4884 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1258, allocations: 0.4954 MB / 0.4889 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.1263, allocations: 395 kB / 0.4893 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.1272, allocations: 481.7 kB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.1289, allocations: 1.227 MB / 0.491 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1289, allocations: 0 / 0.491 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1289, allocations: 3.938 kB / 0.491 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.618e-05/0.1289, allocations: 0 / 0.491 GB, free: 9.32 MB / 382.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.002604/0.1316, allocations: 1.233 MB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1316, allocations: 11.89 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006764/0.1323, allocations: 135.7 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.1332, allocations: 0.5774 MB / 0.4929 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.1333, allocations: 62.36 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.1335, allocations: 88.11 kB / 0.493 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.135, allocations: 1.08 MB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.1351, allocations: 4 kB / 0.4941 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.1351, allocations: 31.98 kB / 0.4941 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.1353, allocations: 53.92 kB / 0.4942 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1367, allocations: 0.9367 MB / 0.4951 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.1417, allocations: 4.196 MB / 0.4992 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1429, allocations: 0.9299 MB / 0.5001 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.1435, allocations: 451.5 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.1435, allocations: 16.48 kB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.1445, allocations: 0.6396 MB / 0.5012 GB, free: 14.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.425e-06/0.1445, allocations: 0 / 0.5012 GB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.004579/0.1491, allocations: 2.908 MB / 0.504 GB, free: 11.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.1492, allocations: 145.5 kB / 0.5041 GB, free: 11.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.1498, allocations: 473.8 kB / 0.5046 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.1498, allocations: 49.69 kB / 0.5046 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.1501, allocations: 391.6 kB / 0.505 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.1504, allocations: 280.1 kB / 0.5053 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.1506, allocations: 178.9 kB / 0.5054 GB, free: 9.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1508, allocations: 382.8 kB / 0.5058 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.1514, allocations: 394.4 kB / 0.5062 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.1522, allocations: 0.6286 MB / 0.5068 GB, free: 8.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.1536, allocations: 1.075 MB / 0.5078 GB, free: 7.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.1536, allocations: 0 / 0.5078 GB, free: 7.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002953/0.1565, allocations: 1.517 MB / 0.5093 GB, free: 5.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.1566, allocations: 37.64 kB / 0.5094 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002267/0.1589, allocations: 1.159 MB / 0.5105 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.1602, allocations: 440.4 kB / 0.5109 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.1607, allocations: 127.7 kB / 0.511 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.1685, allocations: 5.158 MB / 0.5161 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.1693, allocations: 59.94 kB / 0.5161 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.1694, allocations: 36 kB / 0.5162 GB, free: 14.49 MB / 414.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.0005902/0.17, allocations: 355.9 kB / 0.5165 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.1703, allocations: 67.16 kB / 0.5166 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.1722, allocations: 1.126 MB / 0.5177 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.1722, allocations: 12 kB / 0.5177 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1722, allocations: 4 kB / 0.5177 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1723, allocations: 3.984 kB / 0.5177 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.1757, allocations: 2.15 MB / 0.5198 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1757, allocations: 0 / 0.5198 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.1763, allocations: 123.7 kB / 0.5199 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.1765, allocations: 90.59 kB / 0.52 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.1765, allocations: 23.98 kB / 0.52 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.1795, allocations: 4.225 MB / 0.5241 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1795, allocations: 0 / 0.5241 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.1821, allocations: 1.761 MB / 0.5259 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.1823, allocations: 140.2 kB / 0.526 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.1824, allocations: 28.03 kB / 0.526 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.1829, allocations: 51.94 kB / 0.5261 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.1831, allocations: 80.89 kB / 0.5262 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.1832, allocations: 27.98 kB / 0.5262 GB, free: 3.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003889/0.1836, allocations: 323.1 kB / 0.5265 GB, free: 3.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1836, allocations: 0 / 0.5265 GB, free: 3.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008958/0.1845, allocations: 264 kB / 0.5267 GB, free: 3.059 MB / 414.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.0002688/0.1848, allocations: 153.6 kB / 0.5269 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.1872, allocations: 1.362 MB / 0.5282 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1872, allocations: 0.6875 kB / 0.5282 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.1884, allocations: 0.9462 MB / 0.5291 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.1891, allocations: 129.7 kB / 0.5293 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2108/0.4, allocations: 1.846 MB / 0.5311 GB, free: 51.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.4006, allocations: 1.033 MB / 0.5321 GB, free: 50.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.4009, allocations: 65.05 kB / 0.5321 GB, free: 50.46 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4009, allocations: 0 / 0.5321 GB, free: 50.46 MB / 414.1 MB Notification: Performance of Templates: time 0.025/0.4259, allocations: 16.69 MB / 0.5484 GB, free: 45.2 MB / 414.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)