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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9755/0.9755, allocations: 177.2 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1219/0.1219, allocations: 29.43 MB / 292 MB, free: 2.605 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.297e-05, allocations: 6.078 kB / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.003974/0.003997, allocations: 4.71 MB / 375.6 MB, free: 27.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.005527, allocations: 1.149 MB / 376.7 MB, free: 26.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.005774, allocations: 19.81 kB / 376.8 MB, free: 26.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.006083, allocations: 95.19 kB / 376.9 MB, free: 26.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.006593, allocations: 318.1 kB / 377.2 MB, free: 25.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.006861, allocations: 151.7 kB / 377.3 MB, free: 25.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.007371, allocations: 0.7477 MB / 378.1 MB, free: 25.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.007547, allocations: 129.3 kB / 378.2 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.008091, allocations: 466.8 kB / 378.6 MB, free: 24.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.008412, allocations: 319.1 kB / 379 MB, free: 24.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.008459, allocations: 36 kB / 379 MB, free: 24.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.008515, allocations: 40 kB / 379 MB, free: 24.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.008645, allocations: 223.3 kB / 379.3 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.008769, allocations: 175.6 kB / 379.4 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.009095, allocations: 398.5 kB / 379.8 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.009098, allocations: 4 kB / 379.8 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.009099, allocations: 0 / 379.8 MB, free: 23.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.009104, allocations: 0 / 379.8 MB, free: 23.32 MB / 314.7 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.0007916/0.009896, allocations: 0.8466 MB / 380.7 MB, free: 22.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.009926, allocations: 12.03 kB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.01002, allocations: 84.61 kB / 380.8 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.01036, allocations: 362.7 kB / 381.1 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.01038, allocations: 29.38 kB / 381.1 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.01042, allocations: 40.33 kB / 381.2 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.01072, allocations: 391.6 kB / 381.6 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01073, allocations: 4 kB / 381.6 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01076, allocations: 16 kB / 381.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.01082, allocations: 16.66 kB / 381.6 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.01099, allocations: 167.1 kB / 381.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.0121, allocations: 1.653 MB / 383.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.01238, allocations: 240.3 kB / 383.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.01258, allocations: 180 kB / 383.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.01261, allocations: 4.234 kB / 383.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.01283, allocations: 258.3 kB / 384.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.01283, allocations: 0 / 384.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009752/0.0138, allocations: 0.8196 MB / 384.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.01384, allocations: 140.5 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.01401, allocations: 390.5 kB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.01403, allocations: 37.7 kB / 385.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.01413, allocations: 307.2 kB / 385.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.01418, allocations: 123 kB / 385.9 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.01426, allocations: 95.75 kB / 386 MB, free: 16.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.01432, allocations: 0.5312 MB / 386.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.01438, allocations: 74.66 kB / 386.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01449, allocations: 257.2 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.01469, allocations: 351.1 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01469, allocations: 0 / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003579/0.01505, allocations: 411.4 kB / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01507, allocations: 37.77 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01508, allocations: 4 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.01525, allocations: 67.27 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.0154, allocations: 71.83 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000922/0.01632, allocations: 3.446 MB / 391.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01645, allocations: 12 kB / 391.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01647, allocations: 16 kB / 391.2 MB, free: 11.05 MB / 314.7 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.0001184/0.01659, allocations: 230.2 kB / 391.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.01664, allocations: 55.72 kB / 391.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.01698, allocations: 392.1 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01698, allocations: 7.938 kB / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01698, allocations: 0 / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01699, allocations: 0 / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.01759, allocations: 0.7659 MB / 392.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01759, allocations: 4.031 kB / 392.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.01768, allocations: 35.98 kB / 392.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.01784, allocations: 67.25 kB / 392.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.01786, allocations: 8 kB / 392.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009179/0.01877, allocations: 3.446 MB / 396.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01878, allocations: 7.922 kB / 396.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.01923, allocations: 0.6517 MB / 396.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.01927, allocations: 35.72 kB / 396.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.0193, allocations: 15.98 kB / 396.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.0194, allocations: 8 kB / 396.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.01947, allocations: 35.94 kB / 397 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.01949, allocations: 15.98 kB / 397 MB, free: 4.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.482e-05/0.01959, allocations: 243 kB / 397.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01959, allocations: 0 / 397.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.0199, allocations: 115.9 kB / 397.3 MB, free: 4.539 MB / 314.7 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.0001108/0.02001, allocations: 111.2 kB / 397.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.02045, allocations: 0.6549 MB / 398.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02045, allocations: 0.9375 kB / 398.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.02073, allocations: 0.5472 MB / 398.6 MB, free: 3.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.0211, allocations: 102.3 kB / 398.7 MB, free: 3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.02233, allocations: 0.8976 MB / 399.6 MB, free: 2.059 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.02241, allocations: 137.7 kB / 399.8 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.02254, allocations: 43.34 kB / 399.8 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.0227, allocations: 162.1 kB / 400 MB, free: 1.695 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0227, allocations: 7.938 kB / 400 MB, free: 1.688 MB / 314.7 MB Notification: Performance of Templates: time 0.008687/0.03139, allocations: 6.209 MB / 406.2 MB, free: 11.6 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2952734767459333]