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.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.001882/0.001882, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001966/0.001966, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.2896/0.2896, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.163e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.009198/0.009229, allocations: 6.199 MB / 375.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.01362, allocations: 2.056 MB / 377.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.01407, allocations: 23.81 kB / 377.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.01571, allocations: 0.5248 MB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.01714, allocations: 0.5167 MB / 378.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.01817, allocations: 379 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.0196, allocations: 1.099 MB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.0203, allocations: 416.4 kB / 380.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.02133, allocations: 0.631 MB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008906/0.02222, allocations: 0.5182 MB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.02237, allocations: 84 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.02339, allocations: 0.5031 MB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.02389, allocations: 418.9 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.02437, allocations: 335.2 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.02626, allocations: 1.297 MB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.02626, allocations: 0 / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02626, allocations: 0 / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.02628, allocations: 4 kB / 383.8 MB, free: 12.29 MB / 362.7 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.002715/0.02899, allocations: 1.331 MB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02903, allocations: 15.98 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.03005, allocations: 248.1 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.03121, allocations: 0.522 MB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.03128, allocations: 62.36 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.03149, allocations: 76.73 kB / 386.1 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.03328, allocations: 0.9311 MB / 387 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.03331, allocations: 3.938 kB / 387 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.03341, allocations: 39.98 kB / 387.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.03357, allocations: 49.97 kB / 387.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.03493, allocations: 0.5948 MB / 387.7 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006805/0.04173, allocations: 4.628 MB / 392.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.0429, allocations: 0.5352 MB / 392.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.04348, allocations: 313.9 kB / 393.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.04354, allocations: 16.66 kB / 393.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.04456, allocations: 0.5978 MB / 393.8 MB, free: 1.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 2.765e-06/0.04456, allocations: 0 / 393.8 MB, free: 1.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.00455/0.04911, allocations: 2.161 MB / 396 MB, free: 15.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.04924, allocations: 165.5 kB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.04998, allocations: 0.5766 MB / 396.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.05005, allocations: 49.7 kB / 396.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.05047, allocations: 463.3 kB / 397.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.05092, allocations: 317.7 kB / 397.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.05128, allocations: 216.6 kB / 397.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003852/0.05167, allocations: 0.5977 MB / 398.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.0522, allocations: 264.2 kB / 398.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.05308, allocations: 0.5999 MB / 399.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.05451, allocations: 0.8999 MB / 400.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.05451, allocations: 3.984 kB / 400.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002975/0.05749, allocations: 1.226 MB / 401.3 MB, free: 9.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.05755, allocations: 37.7 kB / 401.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002191/0.05974, allocations: 0.8337 MB / 402.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.06198, allocations: 459.1 kB / 402.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.0625, allocations: 135.7 kB / 402.8 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.07024, allocations: 4.172 MB / 406.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.07086, allocations: 43.97 kB / 407 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.07095, allocations: 40 kB / 407 MB, free: 4.102 MB / 378.7 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.0004784/0.07143, allocations: 294 kB / 407.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.07166, allocations: 119.4 kB / 407.4 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.07349, allocations: 0.9255 MB / 408.3 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.07352, allocations: 23.98 kB / 408.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.07352, allocations: 0 / 408.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.07353, allocations: 7.922 kB / 408.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.07712, allocations: 1.804 MB / 410.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.07712, allocations: 64 / 410.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.07775, allocations: 123.8 kB / 410.3 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.07804, allocations: 103 kB / 410.4 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.0781, allocations: 23.98 kB / 410.4 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004517/0.08262, allocations: 5.344 MB / 415.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.08263, allocations: 7.984 kB / 415.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.08533, allocations: 1.466 MB / 417.2 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.0855, allocations: 67.56 kB / 417.3 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.08562, allocations: 20 kB / 417.3 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.08604, allocations: 39.95 kB / 417.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.0863, allocations: 88.84 kB / 417.4 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.08637, allocations: 32.02 kB / 417.5 MB, free: 9.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004764/0.08685, allocations: 363 kB / 417.8 MB, free: 8.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08685, allocations: 0 / 417.8 MB, free: 8.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009976/0.08785, allocations: 252 kB / 418.1 MB, free: 8.461 MB / 394.7 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.0002987/0.08815, allocations: 157.7 kB / 418.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.09093, allocations: 1.244 MB / 419.5 MB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.09093, allocations: 0 / 419.5 MB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.09223, allocations: 0.9823 MB / 420.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.09299, allocations: 126.8 kB / 420.6 MB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.09588, allocations: 1.565 MB / 422.1 MB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.0964, allocations: 418.5 kB / 422.6 MB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000469/0.09687, allocations: 165.8 kB / 422.7 MB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.09708, allocations: 64.48 kB / 422.8 MB, free: 3.551 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.09709, allocations: 0 / 422.8 MB, free: 3.551 MB / 394.7 MB Notification: Performance of Templates: time 0.02485/0.1219, allocations: 12.28 MB / 435.1 MB, free: 7.398 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.327402104972862]