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.002041/0.002041, allocations: 88.33 kB / 20.95 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.002434/0.002434, allocations: 157.7 kB / 24.27 MB, free: 152 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.599/1.599, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.302/0.302, allocations: 29.41 MB / 290.5 MB, free: 2.445 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 2.535e-06/2.535e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.382e-05/4.636e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.01575/0.0158, allocations: 5.896 MB / 374.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006983/0.02278, allocations: 1.978 MB / 376.8 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.02328, allocations: 23.81 kB / 376.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.02589, allocations: 0.5209 MB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.02822, allocations: 0.5128 MB / 377.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.02991, allocations: 378.9 kB / 378.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.03231, allocations: 1.095 MB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.03343, allocations: 416.4 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.0352, allocations: 0.635 MB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.03688, allocations: 0.5143 MB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.0372, allocations: 84 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.03913, allocations: 0.4992 MB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.04, allocations: 414.9 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.04093, allocations: 335.2 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.0433, allocations: 1.301 MB / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.04331, allocations: 0 / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.04331, allocations: 0 / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.602e-05/0.04336, allocations: 0 / 383.5 MB, free: 12.67 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.00332/0.04668, allocations: 1.18 MB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.04673, allocations: 15.92 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.04789, allocations: 248.1 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.04903, allocations: 0.531 MB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.0491, allocations: 62.36 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.04932, allocations: 84.73 kB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.05139, allocations: 1.125 MB / 386.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.05143, allocations: 7.938 kB / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/0.05152, allocations: 31.98 kB / 386.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.05167, allocations: 49.98 kB / 386.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.05351, allocations: 0.9618 MB / 387.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/0.05978, allocations: 3.846 MB / 391.6 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.06112, allocations: 0.6825 MB / 392.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/0.06187, allocations: 444.2 kB / 392.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.06194, allocations: 16.64 kB / 392.7 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.06311, allocations: 0.6766 MB / 393.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 2.786e-06/0.06311, allocations: 0 / 393.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.005623/0.06874, allocations: 2.765 MB / 396.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.06888, allocations: 161.4 kB / 396.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.06961, allocations: 485.7 kB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.275e-05/0.0697, allocations: 49.7 kB / 396.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.07012, allocations: 384.7 kB / 397.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.07044, allocations: 297.6 kB / 397.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.07076, allocations: 183 kB / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.071, allocations: 382.8 kB / 398.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/0.07182, allocations: 420.1 kB / 398.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.0728, allocations: 0.6419 MB / 399.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.07471, allocations: 1.079 MB / 400.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.07472, allocations: 0 / 400.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003655/0.07837, allocations: 1.593 MB / 401.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.07842, allocations: 33.7 kB / 401.8 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002667/0.08109, allocations: 1.151 MB / 403 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/0.08381, allocations: 0.5667 MB / 403.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.08433, allocations: 135.7 kB / 403.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009007/0.09334, allocations: 4.972 MB / 408.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.09403, allocations: 55.95 kB / 408.7 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.09415, allocations: 47.92 kB / 408.7 MB, free: 2.531 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.0006105/0.09476, allocations: 343.1 kB / 409.1 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.09505, allocations: 119.4 kB / 409.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.09731, allocations: 1.163 MB / 410.4 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.09734, allocations: 16 kB / 410.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.09734, allocations: 0 / 410.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.09736, allocations: 15.91 kB / 410.4 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.1015, allocations: 1.941 MB / 412.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.1015, allocations: 0 / 412.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.1021, allocations: 119.8 kB / 412.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.1025, allocations: 114.6 kB / 412.6 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/0.1025, allocations: 19.98 kB / 412.6 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.1066, allocations: 3.847 MB / 416.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.1066, allocations: 4.031 kB / 416.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/0.1104, allocations: 1.882 MB / 418.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.1106, allocations: 71.47 kB / 418.4 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.1108, allocations: 24.03 kB / 418.4 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000539/0.1113, allocations: 51.94 kB / 418.5 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.1116, allocations: 80.86 kB / 418.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.1116, allocations: 27.98 kB / 418.6 MB, free: 8.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005632/0.1122, allocations: 327 kB / 418.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1122, allocations: 0 / 418.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001075/0.1133, allocations: 255.9 kB / 419.1 MB, free: 7.664 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.0003496/0.1136, allocations: 161.7 kB / 419.3 MB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.1165, allocations: 1.376 MB / 420.7 MB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1165, allocations: 0 / 420.7 MB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.1182, allocations: 0.9243 MB / 421.6 MB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.1191, allocations: 128.4 kB / 421.7 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.1228, allocations: 1.801 MB / 423.5 MB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.1235, allocations: 434.5 kB / 423.9 MB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006056/0.1241, allocations: 189.8 kB / 424.1 MB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.1244, allocations: 64.48 kB / 424.2 MB, free: 2.426 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1244, allocations: 0 / 424.2 MB, free: 2.426 MB / 394.7 MB Notification: Performance of Templates: time 0.02696/0.1513, allocations: 12.13 MB / 436.3 MB, free: 6.43 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.663582039996982]