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.0007704/0.0007705, allocations: 88.16 kB / 16.31 MB, free: 5.566 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.00088/0.0008801, allocations: 179.7 kB / 17.2 MB, free: 5.484 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.381/1.381, allocations: 205.4 MB / 223.4 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1719/0.1719, allocations: 38.04 MB / 309.7 MB, free: 6.039 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.0005181/0.0005183, allocations: 15.12 kB / 376.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2329, allocations: 56.33 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.004975/0.238, allocations: 6.068 MB / 438.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.2413, allocations: 2.187 MB / 441.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005972/0.2419, allocations: 27.81 kB / 441.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004547/0.2424, allocations: 119.1 kB / 441.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.2435, allocations: 481.8 kB / 441.7 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.2443, allocations: 315.4 kB / 442 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.2452, allocations: 1.185 MB / 443.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.2462, allocations: 0.7184 MB / 443.9 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.2467, allocations: 370.4 kB / 444.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.2473, allocations: 0.5218 MB / 444.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.2474, allocations: 39.98 kB / 444.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.2481, allocations: 459.3 kB / 445.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.2483, allocations: 355 kB / 445.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2485, allocations: 177.3 kB / 445.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.2491, allocations: 0.8963 MB / 446.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2491, allocations: 7.938 kB / 446.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.2492, allocations: 3.938 kB / 446.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.2492, allocations: 0 / 446.7 MB, free: 4.852 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.001823/0.251, allocations: 1.105 MB / 447.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.251, allocations: 12.03 kB / 447.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.2516, allocations: 134.8 kB / 448 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.2523, allocations: 0.5375 MB / 448.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.2524, allocations: 58 kB / 448.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2526, allocations: 79.97 kB / 448.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.2538, allocations: 1.088 MB / 449.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.2539, allocations: 3.938 kB / 449.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.2539, allocations: 32 kB / 449.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.254, allocations: 49.97 kB / 449.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2552, allocations: 0.9367 MB / 450.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.26, allocations: 4.227 MB / 455 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.2613, allocations: 0.9344 MB / 455.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.262, allocations: 451.9 kB / 456.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.009e-05/0.262, allocations: 12.55 kB / 456.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.263, allocations: 0.6396 MB / 457 MB, free: 10.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.263, allocations: 0 / 457 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.004577/0.2676, allocations: 2.912 MB / 459.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.2678, allocations: 153.4 kB / 460.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.2683, allocations: 481.6 kB / 460.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.2684, allocations: 49.69 kB / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.2687, allocations: 375.7 kB / 461 MB, free: 5.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.269, allocations: 284.1 kB / 461.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.269, allocations: 23.94 kB / 461.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2692, allocations: 390.8 kB / 461.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.2698, allocations: 386.4 kB / 462 MB, free: 4.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.2705, allocations: 0.6129 MB / 462.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.2712, allocations: 492.4 kB / 463.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2712, allocations: 4 kB / 463.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002805/0.274, allocations: 1.513 MB / 464.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.274, allocations: 33.7 kB / 464.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002096/0.2762, allocations: 1.153 MB / 465.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.2774, allocations: 440.4 kB / 466.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.2779, allocations: 123.8 kB / 466.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00688/0.2848, allocations: 4.708 MB / 471.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.2855, allocations: 67.95 kB / 471.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.2856, allocations: 47.94 kB / 471.2 MB, free: 11.47 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,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004915/0.2861, allocations: 343.2 kB / 471.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.2862, allocations: 67.16 kB / 471.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.288, allocations: 1.138 MB / 472.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.288, allocations: 19.92 kB / 472.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2881, allocations: 8 kB / 472.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.2881, allocations: 7.969 kB / 472.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.2912, allocations: 2.14 MB / 474.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2912, allocations: 4 kB / 474.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.2917, allocations: 123.7 kB / 475 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.2919, allocations: 82.61 kB / 475.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.292, allocations: 27.94 kB / 475.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.2945, allocations: 3.922 MB / 479.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2946, allocations: 0 / 479.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.2971, allocations: 1.761 MB / 480.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.2974, allocations: 148.2 kB / 481 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.2975, allocations: 23.98 kB / 481 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.298, allocations: 59.95 kB / 481 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.2982, allocations: 88.86 kB / 481.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.2983, allocations: 27.98 kB / 481.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.2987, allocations: 319.1 kB / 481.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2987, allocations: 0 / 481.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001026/0.2997, allocations: 256 kB / 481.7 MB, free: 364 kB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/0.3001, allocations: 153.7 kB / 481.9 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.3024, allocations: 1.35 MB / 483.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3025, allocations: 4.25 kB / 483.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3036, allocations: 0.9502 MB / 484.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.3043, allocations: 122 kB / 484.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.3075, allocations: 2.164 MB / 486.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/0.3084, allocations: 1.037 MB / 487.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006363/0.309, allocations: 189.8 kB / 487.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3093, allocations: 59.42 kB / 487.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3093, allocations: 0 / 487.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01941/0.3287, allocations: 10.89 MB / 498.6 MB, free: 15.32 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: