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.001194/0.001194, allocations: 112.7 kB / 17.75 MB, free: 5.336 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.001233/0.001233, allocations: 187 kB / 18.68 MB, free: 4.41 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.348/1.348, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.179/0.179, allocations: 37.99 MB / 309.9 MB, free: 5.934 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.001449/0.001449, allocations: 79.88 kB / 432.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 55.24 MB / 487.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008725/0.1133, allocations: 6.196 MB / 494 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.1171, allocations: 2.131 MB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.1174, allocations: 19.88 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.1189, allocations: 0.5176 MB / 496.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1201, allocations: 0.5015 MB / 497.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.1209, allocations: 355.3 kB / 497.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1221, allocations: 1.072 MB / 498.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.1228, allocations: 0.5004 MB / 499.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.1234, allocations: 458.2 kB / 499.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.1242, allocations: 0.5567 MB / 0.4884 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1243, allocations: 84 kB / 0.4884 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.1252, allocations: 0.4954 MB / 0.4889 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.1256, allocations: 399 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.126, allocations: 477.8 kB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.1272, allocations: 1.223 MB / 0.491 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1272, allocations: 4 kB / 0.491 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1272, allocations: 0 / 0.491 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1273, allocations: 4 kB / 0.491 GB, free: 9.301 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.002491/0.1298, allocations: 1.233 MB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1298, allocations: 11.89 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007188/0.1305, allocations: 135.8 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.1316, allocations: 0.5813 MB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.1316, allocations: 62.38 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.1319, allocations: 84.09 kB / 0.493 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.1334, allocations: 1.084 MB / 0.4941 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1335, allocations: 3.984 kB / 0.4941 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.1336, allocations: 31.98 kB / 0.4941 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.1337, allocations: 57.91 kB / 0.4942 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1352, allocations: 0.9367 MB / 0.4951 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005438/0.1406, allocations: 4.192 MB / 0.4992 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1419, allocations: 0.9416 MB / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.1425, allocations: 439.5 kB / 0.5005 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.1425, allocations: 8.562 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009506/0.1435, allocations: 0.6474 MB / 0.5012 GB, free: 14.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.407e-06/0.1435, allocations: 3.938 kB / 0.5012 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.004538/0.1481, allocations: 2.904 MB / 0.504 GB, free: 11.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.1482, allocations: 153.5 kB / 0.5041 GB, free: 11.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.1487, allocations: 473.8 kB / 0.5046 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.1487, allocations: 49.69 kB / 0.5046 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.149, allocations: 383.7 kB / 0.505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.1493, allocations: 284.1 kB / 0.5053 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.1495, allocations: 178.9 kB / 0.5054 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1497, allocations: 390.7 kB / 0.5058 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.1503, allocations: 390.4 kB / 0.5062 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.1511, allocations: 0.6246 MB / 0.5068 GB, free: 8.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.1524, allocations: 1.075 MB / 0.5079 GB, free: 7.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1524, allocations: 4 kB / 0.5079 GB, free: 7.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003052/0.1555, allocations: 1.513 MB / 0.5093 GB, free: 5.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.1556, allocations: 37.64 kB / 0.5094 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002431/0.158, allocations: 1.163 MB / 0.5105 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.1594, allocations: 432.5 kB / 0.5109 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.1599, allocations: 127.8 kB / 0.511 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.1678, allocations: 5.154 MB / 0.5161 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.1686, allocations: 59.94 kB / 0.5161 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.1687, allocations: 40 kB / 0.5162 GB, free: 14.46 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.0006147/0.1693, allocations: 351.8 kB / 0.5165 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.1695, allocations: 71.16 kB / 0.5166 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.1715, allocations: 1.119 MB / 0.5177 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.1715, allocations: 3.984 kB / 0.5177 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1715, allocations: 0 / 0.5177 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.1717, allocations: 144.2 kB / 0.5178 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1718, allocations: 24 kB / 0.5178 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.1723, allocations: 55.94 kB / 0.5179 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.1725, allocations: 84.83 kB / 0.518 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002365/0.1749, allocations: 1.344 MB / 0.5193 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00263/0.1775, allocations: 1.822 MB / 0.5211 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007787/0.1783, allocations: 0.5075 MB / 0.5215 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.1788, allocations: 323.1 kB / 0.5219 GB, free: 8.52 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.1788, allocations: 0 / 0.5219 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.1816, allocations: 1.162 MB / 0.523 GB, free: 7.328 MB / 414.1 MB Notification: Performance of SimCode: time 0.003095/0.1847, allocations: 2.058 MB / 0.525 GB, free: 5.203 MB / 414.1 MB Notification: Performance of Templates: time 0.2429/0.4277, allocations: 14.37 MB / 0.539 GB, free: 49.95 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)