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.001847/0.001846, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.00225/0.00225, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.086/2.086, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1901/0.1901, allocations: 38.02 MB / 330.1 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 65.77 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.164, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.01655/0.1806, allocations: 6.839 MB / 463.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008924/0.1896, allocations: 2.255 MB / 466.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.1913, allocations: 35.81 kB / 466.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.1943, allocations: 0.4883 MB / 466.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007675/0.202, allocations: 462.1 kB / 467.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.2043, allocations: 323.5 kB / 467.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002887/0.2072, allocations: 1.072 MB / 468.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.2092, allocations: 0.5354 MB / 469 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.2109, allocations: 454.2 kB / 469.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.213, allocations: 0.5841 MB / 470 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005478/0.2136, allocations: 84 kB / 470.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.216, allocations: 0.5265 MB / 470.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.2171, allocations: 402.9 kB / 471 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.2191, allocations: 473.8 kB / 471.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.2217, allocations: 0.9238 MB / 472.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.2217, allocations: 0 / 472.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.225e-06/0.2218, allocations: 0 / 472.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.16e-05/0.2218, allocations: 3.938 kB / 472.4 MB, free: 8.953 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.006224/0.2281, allocations: 1.241 MB / 473.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.547e-05/0.2282, allocations: 11.89 kB / 473.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.2298, allocations: 135.8 kB / 473.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/0.2331, allocations: 0.5579 MB / 474.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2333, allocations: 58.38 kB / 474.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005678/0.2339, allocations: 84.09 kB / 474.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.2382, allocations: 1.092 MB / 475.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.388e-05/0.2383, allocations: 3.938 kB / 475.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.2385, allocations: 28 kB / 475.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/0.2388, allocations: 49.98 kB / 475.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/0.2421, allocations: 0.9328 MB / 476.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.2535, allocations: 4.235 MB / 480.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.2561, allocations: 0.9473 MB / 481.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.2574, allocations: 447.4 kB / 482.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.2575, allocations: 8.562 kB / 482.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.2594, allocations: 0.6396 MB / 482.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 5.821e-06/0.2594, allocations: 0 / 482.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.009427/0.2689, allocations: 2.892 MB / 485.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.2692, allocations: 165.5 kB / 485.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.2706, allocations: 485.6 kB / 486.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.2707, allocations: 41.7 kB / 486.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005806/0.2713, allocations: 383.7 kB / 486.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/0.2719, allocations: 280.1 kB / 487.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/0.2725, allocations: 178.9 kB / 487.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002877/0.2728, allocations: 382.8 kB / 487.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.274, allocations: 390.4 kB / 488 MB, free: 8.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.2756, allocations: 0.6207 MB / 488.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.2782, allocations: 1.079 MB / 489.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/0.2783, allocations: 4 kB / 489.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005628/0.2839, allocations: 1.51 MB / 491.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2841, allocations: 41.67 kB / 491.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004644/0.2888, allocations: 1.16 MB / 492.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.2915, allocations: 441.3 kB / 492.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2926, allocations: 127.8 kB / 493 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/0.3105, allocations: 5.161 MB / 498.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.3122, allocations: 59.86 kB / 498.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/0.3125, allocations: 47.98 kB / 498.2 MB, free: 14.09 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.001267/0.3138, allocations: 355.2 kB / 498.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/0.3143, allocations: 63.25 kB / 498.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/0.3204, allocations: 1.134 MB / 499.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.426e-05/0.3205, allocations: 15.94 kB / 499.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.3206, allocations: 0 / 499.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.3206, allocations: 7.984 kB / 499.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007312/0.3279, allocations: 2.144 MB / 0.4902 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.328, allocations: 0 / 0.4902 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.3293, allocations: 123.7 kB / 0.4903 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.3297, allocations: 90.59 kB / 0.4904 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.3299, allocations: 23.98 kB / 0.4904 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007951/0.3378, allocations: 4.233 MB / 0.4945 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.3379, allocations: 0 / 0.4945 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006153/0.3441, allocations: 1.764 MB / 0.4963 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.3447, allocations: 140.3 kB / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.3451, allocations: 20 kB / 0.4964 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.3463, allocations: 51.94 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/0.3468, allocations: 80.83 kB / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.3469, allocations: 31.98 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009208/0.3479, allocations: 319.1 kB / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3479, allocations: 4 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002347/0.3503, allocations: 260 kB / 0.4971 GB, free: 2.652 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.0005919/0.3509, allocations: 153.6 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006839/0.3578, allocations: 1.651 MB / 0.4989 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.3578, allocations: 0 / 0.4989 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.3603, allocations: 0.9384 MB / 0.4998 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.3621, allocations: 142.5 kB / 0.4999 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/0.3702, allocations: 2.178 MB / 0.5021 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.3721, allocations: 1.037 MB / 0.5031 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.3729, allocations: 63.38 kB / 0.5031 GB, free: 12.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.795e-06/0.3729, allocations: 0 / 0.5031 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Templates: time 0.4594/0.8323, allocations: 16.42 MB / 0.5192 GB, free: 70.18 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)