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.000985/0.000985, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001169/0.001169, allocations: 172.9 kB / 24.91 MB, free: 9.211 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2368/0.2368, allocations: 29.41 MB / 291.2 MB, free: 2.504 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.753e-06/1.753e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.177e-05, allocations: 2.312 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005877/0.005899, allocations: 5.602 MB / 322.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.008831, allocations: 2.084 MB / 324.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.009132, allocations: 23.81 kB / 324.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.0097, allocations: 210.6 kB / 324.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.01083, allocations: 0.4933 MB / 325.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.01147, allocations: 374.9 kB / 325.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.01237, allocations: 1.095 MB / 326.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.01286, allocations: 458.3 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.01361, allocations: 0.6508 MB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.01411, allocations: 490.7 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.0142, allocations: 80 kB / 328.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.01478, allocations: 0.5225 MB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.01507, allocations: 415 kB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.01532, allocations: 339.2 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.01622, allocations: 0.9385 MB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01623, allocations: 0 / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01623, allocations: 4 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.01625, allocations: 0 / 330.6 MB, free: 2.203 MB / 298.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.001296/0.01754, allocations: 1.089 MB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.01758, allocations: 15.98 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.01812, allocations: 196.7 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.01861, allocations: 427.1 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.01865, allocations: 66.34 kB / 332.4 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.01905, allocations: 80.69 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.01973, allocations: 0.7335 MB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.01975, allocations: 7.938 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.0198, allocations: 32 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.039e-05/0.01987, allocations: 49.98 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.02031, allocations: 362.1 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.02306, allocations: 3.173 MB / 336.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.02351, allocations: 412.6 kB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.02369, allocations: 185.4 kB / 337.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.02373, allocations: 12.66 kB / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004381/0.02416, allocations: 475.5 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=92): time 1.723e-06/0.02417, allocations: 0 / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.001733/0.0259, allocations: 1.355 MB / 339.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.02596, allocations: 157.4 kB / 339.4 MB, free: 8.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.02647, allocations: 414.9 kB / 339.8 MB, free: 8.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.02651, allocations: 49.7 kB / 339.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.02666, allocations: 337.5 kB / 340.2 MB, free: 8.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.02682, allocations: 293.6 kB / 340.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.02699, allocations: 174.8 kB / 340.6 MB, free: 7.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.0271, allocations: 390.6 kB / 341 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.02733, allocations: 147.1 kB / 341.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.02766, allocations: 381.3 kB / 341.5 MB, free: 6.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.02818, allocations: 0.6114 MB / 342.1 MB, free: 5.957 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.02819, allocations: 4 kB / 342.1 MB, free: 5.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001327/0.02952, allocations: 0.8203 MB / 343 MB, free: 5.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.02956, allocations: 33.7 kB / 343 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007688/0.03033, allocations: 0.4884 MB / 343.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/0.0313, allocations: 402.6 kB / 343.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.03157, allocations: 143.7 kB / 344 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.03455, allocations: 2.661 MB / 346.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.0348, allocations: 35.98 kB / 346.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.03484, allocations: 35.98 kB / 346.7 MB, free: 1.207 MB / 314.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.0002151/0.03506, allocations: 230.1 kB / 347 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.03518, allocations: 79.83 kB / 347 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.03579, allocations: 0.5876 MB / 347.6 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.0358, allocations: 16 kB / 347.6 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.03581, allocations: 4 kB / 347.6 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.03581, allocations: 7.984 kB / 347.7 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.03698, allocations: 1.123 MB / 348.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.03699, allocations: 0 / 348.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.03731, allocations: 116.6 kB / 348.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.03745, allocations: 91.03 kB / 349 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.03749, allocations: 19.98 kB / 349 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.03895, allocations: 3.557 MB / 352.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03895, allocations: 4.25 kB / 352.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.0398, allocations: 0.9518 MB / 353.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.03985, allocations: 55.53 kB / 353.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.03991, allocations: 27.98 kB / 353.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.04008, allocations: 31.92 kB / 353.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.0402, allocations: 80.84 kB / 353.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.04023, allocations: 16 kB / 353.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.04035, allocations: 164.7 kB / 353.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04035, allocations: 0 / 353.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.04084, allocations: 256 kB / 354.1 MB, free: 9.34 MB / 330.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.0001752/0.04102, allocations: 134.8 kB / 354.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.04188, allocations: 0.8759 MB / 355.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.04189, allocations: 8 kB / 355.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.04232, allocations: 0.681 MB / 355.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.04269, allocations: 152.8 kB / 356 MB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.04446, allocations: 1.476 MB / 357.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.0446, allocations: 224.5 kB / 357.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.04481, allocations: 93.88 kB / 357.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.04509, allocations: 187.3 kB / 357.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04509, allocations: 0 / 357.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of Templates: time 0.01535/0.06045, allocations: 13.07 MB / 371 MB, free: 8.457 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1663088146597147]