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.001176/0.001176, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001182/0.001182, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2222/0.2222, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.703e-06/1.703e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.968e-05, allocations: 2.312 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.006892/0.006911, allocations: 6.246 MB / 375.9 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.009706, allocations: 2.064 MB / 377.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.009993, allocations: 23.81 kB / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.01087, allocations: 0.5326 MB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.01169, allocations: 0.5128 MB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.0124, allocations: 371 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.0134, allocations: 1.095 MB / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.0139, allocations: 428.4 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006103/0.01451, allocations: 0.6193 MB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.01502, allocations: 0.5221 MB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.0151, allocations: 84 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.01566, allocations: 0.5031 MB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.01593, allocations: 418.9 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.01618, allocations: 335.2 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000791/0.01697, allocations: 0.95 MB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.01698, allocations: 4 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01698, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01698, allocations: 0 / 384.3 MB, free: 12.55 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.001494/0.01848, allocations: 1.272 MB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.01852, allocations: 11.98 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000622/0.01914, allocations: 260 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.01975, allocations: 0.5103 MB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.0198, allocations: 54.38 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.01994, allocations: 84.69 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.02085, allocations: 0.842 MB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.02087, allocations: 0 / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.02092, allocations: 28 kB / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.427e-05/0.021, allocations: 49.98 kB / 387.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.02168, allocations: 481 kB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.02481, allocations: 4.351 MB / 392.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.02544, allocations: 463.9 kB / 392.7 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.02572, allocations: 251 kB / 392.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.02575, allocations: 12.66 kB / 392.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.02633, allocations: 0.5079 MB / 393.4 MB, free: 2.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 2.735e-06/0.02633, allocations: 0 / 393.4 MB, free: 2.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.002528/0.02886, allocations: 1.926 MB / 395.4 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.02893, allocations: 157.4 kB / 395.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.0293, allocations: 498.4 kB / 396 MB, free: 288 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.02934, allocations: 45.69 kB / 396.1 MB, free: 236 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.02959, allocations: 439.3 kB / 396.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.02982, allocations: 297.7 kB / 396.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.03001, allocations: 192.7 kB / 397 MB, free: 15.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.03022, allocations: 0.5625 MB / 397.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.03052, allocations: 200.2 kB / 397.7 MB, free: 14.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.03095, allocations: 0.5178 MB / 398.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.03166, allocations: 0.7554 MB / 399 MB, free: 12.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.03167, allocations: 4 kB / 399 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001571/0.03324, allocations: 1.096 MB / 400.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.03328, allocations: 33.7 kB / 400.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00105/0.03433, allocations: 0.6974 MB / 400.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.03543, allocations: 415.1 kB / 401.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.03572, allocations: 139.8 kB / 401.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/0.03954, allocations: 3.557 MB / 404.9 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.03985, allocations: 44.02 kB / 405 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.0399, allocations: 43.98 kB / 405 MB, free: 6.809 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.0002335/0.04014, allocations: 273.9 kB / 405.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.04027, allocations: 111.5 kB / 405.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009347/0.0412, allocations: 0.8123 MB / 406.2 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.04122, allocations: 15.98 kB / 406.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.04123, allocations: 4 kB / 406.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.04124, allocations: 11.92 kB / 406.2 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.04297, allocations: 1.56 MB / 407.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.04297, allocations: 0 / 407.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.04328, allocations: 119.8 kB / 407.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.04343, allocations: 102.9 kB / 408 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.04347, allocations: 23.98 kB / 408 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.04537, allocations: 5.172 MB / 413.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.04537, allocations: 4 kB / 413.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.04663, allocations: 1.251 MB / 414.5 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.04669, allocations: 67.56 kB / 414.5 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.04676, allocations: 23.98 kB / 414.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.04696, allocations: 39.97 kB / 414.6 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.04711, allocations: 88.83 kB / 414.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.04715, allocations: 27.98 kB / 414.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.04735, allocations: 303 kB / 415 MB, free: 12.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04735, allocations: 0 / 415 MB, free: 12.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005491/0.0479, allocations: 263.9 kB / 415.2 MB, free: 11.99 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.0002018/0.0481, allocations: 154.2 kB / 415.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.04928, allocations: 1.085 MB / 416.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.04929, allocations: 0 / 416.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.04988, allocations: 0.9121 MB / 417.4 MB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.05033, allocations: 133.8 kB / 417.5 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.05238, allocations: 1.556 MB / 419.1 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.05253, allocations: 224.5 kB / 419.3 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.05282, allocations: 161.8 kB / 419.5 MB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.05295, allocations: 64.5 kB / 419.5 MB, free: 7.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05295, allocations: 4 kB / 419.5 MB, free: 7.523 MB / 394.7 MB Notification: Performance of Templates: time 0.01368/0.06664, allocations: 12.3 MB / 431.8 MB, free: 11.36 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: 3.636461177142337]