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.00155/0.00155, allocations: 110.5 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.001786/0.001786, allocations: 197.2 kB / 18.68 MB, free: 4.41 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1876/0.1876, allocations: 38.03 MB / 330.6 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 55.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 58.05 MB / 0.5048 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.006134/0.2898, allocations: 6.213 MB / 0.5108 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.2929, allocations: 2.075 MB / 0.5129 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.2933, allocations: 20.53 kB / 0.5129 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.2946, allocations: 0.5171 MB / 0.5134 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.2957, allocations: 0.4996 MB / 0.5139 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.2966, allocations: 363.6 kB / 0.5142 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.2977, allocations: 1.066 MB / 0.5153 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006516/0.2984, allocations: 0.507 MB / 0.5158 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.2991, allocations: 471.1 kB / 0.5162 GB, free: 356 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008579/0.2999, allocations: 0.5484 MB / 0.5167 GB, free: 136 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.3001, allocations: 84.34 kB / 0.5168 GB, free: 136 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.3012, allocations: 0.4948 MB / 0.5173 GB, free: 24 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.3017, allocations: 403 kB / 0.5177 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.3023, allocations: 475.6 kB / 0.5181 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.3039, allocations: 1.227 MB / 0.5193 GB, free: 15.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3039, allocations: 1.094 kB / 0.5193 GB, free: 15.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3039, allocations: 0 / 0.5193 GB, free: 15.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.3039, allocations: 0 / 0.5193 GB, free: 15.11 MB / 398.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.002661/0.3066, allocations: 1.232 MB / 0.5205 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3066, allocations: 15.89 kB / 0.5206 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007543/0.3074, allocations: 141 kB / 0.5207 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3085, allocations: 0.5764 MB / 0.5213 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.3086, allocations: 58.66 kB / 0.5213 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.3088, allocations: 84.59 kB / 0.5214 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3106, allocations: 1.083 MB / 0.5224 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.3107, allocations: 12.98 kB / 0.5225 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.3108, allocations: 34.31 kB / 0.5225 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.3109, allocations: 48.88 kB / 0.5225 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3125, allocations: 0.9358 MB / 0.5235 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00567/0.3182, allocations: 4.193 MB / 0.5276 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3195, allocations: 0.9417 MB / 0.5285 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.3201, allocations: 449.7 kB / 0.5289 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.3202, allocations: 13.78 kB / 0.5289 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3212, allocations: 0.6371 MB / 0.5295 GB, free: 8.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.166e-06/0.3212, allocations: 1.062 kB / 0.5295 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.004798/0.326, allocations: 2.895 MB / 0.5324 GB, free: 7.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.3261, allocations: 155.8 kB / 0.5325 GB, free: 7.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.3267, allocations: 476.9 kB / 0.533 GB, free: 6.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.3268, allocations: 48.48 kB / 0.533 GB, free: 6.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.3271, allocations: 384.5 kB / 0.5334 GB, free: 6.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.3274, allocations: 284.7 kB / 0.5337 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.3276, allocations: 178 kB / 0.5338 GB, free: 6.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3278, allocations: 381.3 kB / 0.5342 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.3284, allocations: 393.6 kB / 0.5346 GB, free: 5.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.3292, allocations: 0.6228 MB / 0.5352 GB, free: 4.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.3307, allocations: 1.078 MB / 0.5362 GB, free: 4.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3308, allocations: 2.375 kB / 0.5362 GB, free: 4.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003207/0.334, allocations: 1.519 MB / 0.5377 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.334, allocations: 41.7 kB / 0.5377 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002516/0.3366, allocations: 1.163 MB / 0.5389 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.338, allocations: 433.7 kB / 0.5393 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.3385, allocations: 126.4 kB / 0.5394 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008181/0.3467, allocations: 5.16 MB / 0.5445 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.3474, allocations: 59.86 kB / 0.5445 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.3476, allocations: 40 kB / 0.5445 GB, free: 14.86 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.0006189/0.3482, allocations: 355.1 kB / 0.5449 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3484, allocations: 63.25 kB / 0.5449 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.3504, allocations: 1.134 MB / 0.5461 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.3504, allocations: 11.97 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3504, allocations: 0 / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.3506, allocations: 140.2 kB / 0.5462 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3508, allocations: 24 kB / 0.5462 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.3512, allocations: 47.94 kB / 0.5463 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.3514, allocations: 76.89 kB / 0.5463 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002448/0.3539, allocations: 1.352 MB / 0.5477 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002482/0.3564, allocations: 1.817 MB / 0.5494 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001003/0.3574, allocations: 0.5075 MB / 0.5499 GB, free: 9.227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.3578, allocations: 323.1 kB / 0.5502 GB, free: 8.914 MB / 414.1 MB Notification: Performance of Backend: time 6.11e-07/0.3578, allocations: 0 / 0.5502 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.3606, allocations: 1.151 MB / 0.5514 GB, free: 7.734 MB / 414.1 MB Notification: Performance of SimCode: time 0.003367/0.3639, allocations: 2.054 MB / 0.5534 GB, free: 5.617 MB / 414.1 MB Notification: Performance of Templates: time 0.02509/0.3891, allocations: 14.38 MB / 0.5674 GB, free: 7.297 MB / 430.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)