Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001292, allocations: 91.91 kB / 16.65 MB, free: 6.59 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.00166/0.00166, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.51/1.51, 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.1999/0.1999, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0006048/0.0006049, allocations: 16 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2768, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005516/0.2823, allocations: 5.531 MB / 439 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2846, allocations: 1.384 MB / 440.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.2849, allocations: 31.75 kB / 440.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.2853, allocations: 71.45 kB / 440.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.2859, allocations: 290.7 kB / 440.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.2862, allocations: 123.9 kB / 440.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.2868, allocations: 1.091 MB / 442 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.2871, allocations: 164.3 kB / 442.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.2874, allocations: 254.7 kB / 442.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.2878, allocations: 358.8 kB / 442.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.2879, allocations: 20 kB / 442.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.288, allocations: 20 kB / 442.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2881, allocations: 187.4 kB / 443 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.2884, allocations: 252.5 kB / 443.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.2887, allocations: 0.5137 MB / 443.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2887, allocations: 0 / 443.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2887, allocations: 3.938 kB / 443.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2888, allocations: 3.938 kB / 443.8 MB, free: 8.371 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001203/0.29, allocations: 0.7569 MB / 444.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.29, allocations: 8.031 kB / 444.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.2901, allocations: 56.28 kB / 444.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.2906, allocations: 424.5 kB / 445 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.2907, allocations: 33.12 kB / 445 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.2907, allocations: 36 kB / 445.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.2914, allocations: 490.5 kB / 445.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2914, allocations: 0 / 445.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.2914, allocations: 15.98 kB / 445.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.75e-05/0.2915, allocations: 28.58 kB / 445.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.292, allocations: 370.7 kB / 445.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.2937, allocations: 1.726 MB / 447.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.2943, allocations: 394.3 kB / 448.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.2947, allocations: 225.6 kB / 448.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2947, allocations: 0 / 448.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.2951, allocations: 295.5 kB / 448.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.2951, allocations: 0 / 448.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001969/0.2971, allocations: 1.392 MB / 450 MB, free: 1.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2971, allocations: 140.5 kB / 450.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.2974, allocations: 381.6 kB / 450.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.2975, allocations: 33.7 kB / 450.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2976, allocations: 260 kB / 450.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.2977, allocations: 114.4 kB / 450.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.2977, allocations: 37.7 kB / 450.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.2978, allocations: 354.8 kB / 451.2 MB, free: 432 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.298, allocations: 133 kB / 451.4 MB, free: 300 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.2982, allocations: 260.2 kB / 451.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.2987, allocations: 457.1 kB / 452.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2988, allocations: 0 / 452.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008306/0.2996, allocations: 0.5387 MB / 452.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.2997, allocations: 33.7 kB / 452.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.2997, allocations: 4 kB / 452.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.3, allocations: 82.17 kB / 452.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.3003, allocations: 79.83 kB / 452.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.3025, allocations: 2.79 MB / 455.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3028, allocations: 27.98 kB / 455.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.3028, allocations: 16 kB / 455.6 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.3031, allocations: 255.1 kB / 455.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.3032, allocations: 39.59 kB / 455.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008403/0.304, allocations: 0.5047 MB / 456.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3041, allocations: 7.984 kB / 456.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.3041, allocations: 0 / 456.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3041, allocations: 3.984 kB / 456.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.3056, allocations: 1.064 MB / 457.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3056, allocations: 4 kB / 457.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.3058, allocations: 35.92 kB / 457.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.306, allocations: 93.53 kB / 457.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.3061, allocations: 15.94 kB / 457.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.3081, allocations: 2.796 MB / 460.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3081, allocations: 0 / 460.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3093, allocations: 0.7838 MB / 461.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3094, allocations: 112.7 kB / 461.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.3095, allocations: 16 kB / 461.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.3097, allocations: 23.92 kB / 461.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.3098, allocations: 36 kB / 461.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.3098, allocations: 16 kB / 461.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.3101, allocations: 255.2 kB / 461.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3101, allocations: 0 / 461.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.3106, allocations: 112 kB / 461.8 MB, free: 5.023 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001452/0.3107, allocations: 123.1 kB / 461.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009163/0.3117, allocations: 0.637 MB / 462.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3117, allocations: 0 / 462.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.3123, allocations: 498.1 kB / 463 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.3129, allocations: 93.95 kB / 463.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.3145, allocations: 1.218 MB / 464.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.3149, allocations: 0.8665 MB / 465.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.3151, allocations: 71.34 kB / 465.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.3152, allocations: 31.44 kB / 465.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3152, allocations: 0 / 465.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of Templates: time 0.01004/0.3253, allocations: 4.992 MB / 470.3 MB, free: 12.39 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) Environment - environmentSimulation: