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.0008186/0.0008186, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001006/0.001006, allocations: 177 kB / 17.56 MB, free: 6.18 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.537/1.537, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1806/0.1806, allocations: 38.05 MB / 310.1 MB, free: 6 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.0005014/0.0005014, allocations: 12 kB / 377.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 56.34 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005771/0.3177, allocations: 6.407 MB / 439.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.321, allocations: 2.299 MB / 442.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.3214, allocations: 27.81 kB / 442.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.3218, allocations: 119.1 kB / 442.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000946/0.3228, allocations: 454.1 kB / 442.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.3234, allocations: 323.5 kB / 443.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3244, allocations: 1.446 MB / 444.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3255, allocations: 0.7846 MB / 445.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.3259, allocations: 358.3 kB / 445.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006183/0.3265, allocations: 0.5255 MB / 446.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.3266, allocations: 40 kB / 446.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.3273, allocations: 0.4913 MB / 446.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.3276, allocations: 343 kB / 447.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.3279, allocations: 439.4 kB / 447.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009581/0.3289, allocations: 1.152 MB / 448.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3289, allocations: 3.938 kB / 448.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3289, allocations: 0 / 448.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3289, allocations: 0 / 448.7 MB, free: 3.43 MB / 318.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.002295/0.3312, allocations: 1.105 MB / 449.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3313, allocations: 12.03 kB / 449.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.332, allocations: 139.7 kB / 449.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.3327, allocations: 0.5579 MB / 450.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.3327, allocations: 62.36 kB / 450.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.3329, allocations: 84.05 kB / 450.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3343, allocations: 1.088 MB / 451.7 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.3343, allocations: 0 / 451.7 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.3344, allocations: 31.98 kB / 451.7 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.3345, allocations: 49.98 kB / 451.8 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.336, allocations: 0.9368 MB / 452.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005482/0.3415, allocations: 4.223 MB / 456.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3428, allocations: 0.9376 MB / 457.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.3436, allocations: 440 kB / 458.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.3437, allocations: 28.52 kB / 458.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.3447, allocations: 0.6318 MB / 459 MB, free: 8.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.454e-06/0.3447, allocations: 0 / 459 MB, free: 8.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.004843/0.3495, allocations: 2.912 MB / 461.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3497, allocations: 149.5 kB / 462 MB, free: 5.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.3503, allocations: 477.7 kB / 462.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.3504, allocations: 53.72 kB / 462.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3507, allocations: 375.7 kB / 462.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.3509, allocations: 288.1 kB / 463.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3511, allocations: 89.67 kB / 463.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003136/0.3514, allocations: 382.8 kB / 463.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.352, allocations: 394.4 kB / 464 MB, free: 3.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.3528, allocations: 0.6207 MB / 464.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.3543, allocations: 1.071 MB / 465.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3543, allocations: 4 kB / 465.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003112/0.3574, allocations: 1.521 MB / 467.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.3575, allocations: 37.64 kB / 467.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002249/0.3598, allocations: 1.172 MB / 468.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3611, allocations: 432.5 kB / 468.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.3616, allocations: 127.8 kB / 469 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007289/0.3689, allocations: 4.738 MB / 473.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.3696, allocations: 71.94 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.3697, allocations: 36 kB / 473.9 MB, free: 9.215 MB / 350.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.0005845/0.3703, allocations: 359.1 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.3705, allocations: 67.16 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.3724, allocations: 1.119 MB / 475.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.3725, allocations: 15.94 kB / 475.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3725, allocations: 8 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.3725, allocations: 7.969 kB / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.3759, allocations: 2.144 MB / 477.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3759, allocations: 0 / 477.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.3765, allocations: 123.8 kB / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.3767, allocations: 86.55 kB / 477.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.3768, allocations: 23.98 kB / 477.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.3798, allocations: 3.918 MB / 481.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3798, allocations: 3.938 kB / 481.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.3825, allocations: 1.765 MB / 483.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3826, allocations: 144.2 kB / 483.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3827, allocations: 27.98 kB / 483.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.3832, allocations: 67.81 kB / 483.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.3834, allocations: 84.88 kB / 483.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.3835, allocations: 27.98 kB / 483.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003608/0.3838, allocations: 327.1 kB / 484.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3839, allocations: 0 / 484.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008989/0.3848, allocations: 251.9 kB / 484.4 MB, free: 14.09 MB / 366.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.0002836/0.3851, allocations: 149.7 kB / 484.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3872, allocations: 1.362 MB / 485.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3872, allocations: 8.125 kB / 485.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3884, allocations: 0.9462 MB / 486.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.3891, allocations: 110.1 kB / 487 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.392, allocations: 2.223 MB / 489.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.3926, allocations: 1.033 MB / 490.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.3932, allocations: 189.8 kB / 490.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.3934, allocations: 59.42 kB / 490.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3934, allocations: 0 / 490.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of Templates: time 0.01948/0.4129, allocations: 11.19 MB / 0.4899 GB, free: 12.7 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: