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.001369/0.001369, allocations: 111.5 kB / 16.92 MB, free: 6.332 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.001387/0.001387, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.449/1.449, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2087/0.2087, allocations: 38.03 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 70 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1069, allocations: 58.05 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008029/0.115, allocations: 6.207 MB / 463.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1185, allocations: 2.08 MB / 465.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.1188, allocations: 19.88 kB / 465.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1203, allocations: 0.5249 MB / 465.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1213, allocations: 497.6 kB / 466.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.122, allocations: 355.3 kB / 466.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008982/0.123, allocations: 1.072 MB / 467.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.1236, allocations: 0.5042 MB / 468.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.1241, allocations: 454.3 kB / 468.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.1248, allocations: 0.5567 MB / 469.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1249, allocations: 84 kB / 469.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.1257, allocations: 0.5382 MB / 469.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.1261, allocations: 395 kB / 470.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.1266, allocations: 469.8 kB / 470.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1278, allocations: 1.203 MB / 471.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1278, allocations: 0 / 471.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1278, allocations: 4 kB / 471.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1279, allocations: 0 / 471.8 MB, free: 9.09 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.002487/0.1303, allocations: 1.241 MB / 473 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1304, allocations: 11.89 kB / 473 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.1311, allocations: 131.8 kB / 473.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.1319, allocations: 0.5579 MB / 473.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.132, allocations: 66.31 kB / 473.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.1322, allocations: 88.09 kB / 473.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1337, allocations: 1.083 MB / 474.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.1338, allocations: 0 / 474.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.1338, allocations: 28 kB / 475 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.134, allocations: 53.97 kB / 475 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.1354, allocations: 0.9445 MB / 476 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.1403, allocations: 4.215 MB / 480.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.1416, allocations: 0.946 MB / 481.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.1422, allocations: 443.5 kB / 481.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.1422, allocations: 8.562 kB / 481.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008935/0.1431, allocations: 0.6473 MB / 482.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.404e-06/0.1431, allocations: 0 / 482.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004379/0.1475, allocations: 2.904 MB / 485.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.1476, allocations: 153.5 kB / 485.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.1481, allocations: 473.8 kB / 485.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.1482, allocations: 41.7 kB / 485.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.1485, allocations: 391.6 kB / 486.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.1487, allocations: 280.1 kB / 486.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.149, allocations: 186.9 kB / 486.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1491, allocations: 374.8 kB / 487 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.1497, allocations: 394.4 kB / 487.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007361/0.1505, allocations: 0.6129 MB / 488 MB, free: 8.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1518, allocations: 1.082 MB / 489.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1518, allocations: 4 kB / 489.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00289/0.1547, allocations: 1.517 MB / 490.6 MB, free: 5.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.1548, allocations: 41.62 kB / 490.6 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002251/0.157, allocations: 1.16 MB / 491.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.1584, allocations: 433.3 kB / 492.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.1588, allocations: 123.8 kB / 492.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007906/0.1668, allocations: 5.185 MB / 497.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.1675, allocations: 55.95 kB / 497.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.1676, allocations: 43.98 kB / 497.6 MB, free: 14.23 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.0005283/0.1681, allocations: 347.1 kB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.1683, allocations: 67.25 kB / 498 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.1701, allocations: 1.134 MB / 499.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.1701, allocations: 12 kB / 499.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1702, allocations: 0 / 499.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.1702, allocations: 11.98 kB / 499.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.1735, allocations: 2.159 MB / 0.4896 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1735, allocations: 0 / 0.4896 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.1741, allocations: 123.7 kB / 0.4897 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.1742, allocations: 86.61 kB / 0.4898 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.1743, allocations: 19.98 kB / 0.4898 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/0.1774, allocations: 4.233 MB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1774, allocations: 4.031 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.18, allocations: 1.761 MB / 0.4957 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.1802, allocations: 140.3 kB / 0.4958 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1803, allocations: 20 kB / 0.4958 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.1808, allocations: 51.94 kB / 0.4959 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.181, allocations: 84.89 kB / 0.4959 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.1811, allocations: 27.98 kB / 0.496 GB, free: 3.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003739/0.1814, allocations: 323.1 kB / 0.4963 GB, free: 3.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1814, allocations: 0 / 0.4963 GB, free: 3.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009711/0.1824, allocations: 256 kB / 0.4965 GB, free: 2.793 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.0002782/0.1827, allocations: 161.6 kB / 0.4967 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.1856, allocations: 1.635 MB / 0.4983 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1856, allocations: 0 / 0.4983 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.1868, allocations: 0.9511 MB / 0.4992 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.1875, allocations: 124.5 kB / 0.4993 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.1904, allocations: 1.817 MB / 0.5011 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.191, allocations: 1.037 MB / 0.5021 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005479/0.1916, allocations: 185.8 kB / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.1918, allocations: 63.42 kB / 0.5023 GB, free: 12.69 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1918, allocations: 0 / 0.5023 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Templates: time 0.02216/0.214, allocations: 12.25 MB / 0.5143 GB, free: 0.5 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)