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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00099/0.0009897, allocations: 97.92 kB / 16.31 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 184.5 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3561/0.3561, allocations: 38.05 MB / 309.7 MB, free: 8.875 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005201/0.0005202, allocations: 18.19 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 56.34 MB / 432.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.006358/0.1166, allocations: 5.824 MB / 438.7 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003908/0.1205, allocations: 2.199 MB / 440.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.1211, allocations: 27.81 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.1216, allocations: 131.1 kB / 441 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.123, allocations: 426.7 kB / 441.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.1239, allocations: 303.4 kB / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009062/0.1248, allocations: 0.5622 MB / 442.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.126, allocations: 0.7222 MB / 443 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.1266, allocations: 322.8 kB / 443.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.1273, allocations: 410.7 kB / 443.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.1275, allocations: 40 kB / 443.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008567/0.1284, allocations: 427.3 kB / 444.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.1288, allocations: 323.2 kB / 444.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.129, allocations: 181.2 kB / 444.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1301, allocations: 0.8923 MB / 445.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1301, allocations: 4 kB / 445.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1301, allocations: 0 / 445.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.788e-05/0.1301, allocations: 0 / 445.6 MB, free: 9.891 MB / 382.1 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.002436/0.1326, allocations: 1.112 MB / 446.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1326, allocations: 8.031 kB / 446.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/0.1334, allocations: 138.8 kB / 446.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1344, allocations: 0.5375 MB / 447.4 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.1345, allocations: 58 kB / 447.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.1347, allocations: 91.86 kB / 447.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.1364, allocations: 1.068 MB / 448.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.1364, allocations: 4 kB / 448.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.1365, allocations: 35.97 kB / 448.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.1366, allocations: 49.98 kB / 448.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1381, allocations: 0.9289 MB / 449.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.1438, allocations: 4.227 MB / 453.8 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1451, allocations: 0.9421 MB / 454.8 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.1451, allocations: 8.625 kB / 454.8 MB, free: 288 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2226/0.3678, allocations: 0.6321 MB / 455.4 MB, free: 51.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 4.188e-06/0.3678, allocations: 0 / 455.4 MB, free: 51.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.00409/0.3719, allocations: 3.064 MB / 458.5 MB, free: 50.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.372, allocations: 150.8 kB / 458.6 MB, free: 50.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.3725, allocations: 472.4 kB / 459.1 MB, free: 50.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.3726, allocations: 51.84 kB / 459.1 MB, free: 50.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.3728, allocations: 386.5 kB / 459.5 MB, free: 50.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3731, allocations: 287 kB / 459.8 MB, free: 50.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.3731, allocations: 16.38 kB / 459.8 MB, free: 50.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3732, allocations: 382 kB / 460.2 MB, free: 49.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.3738, allocations: 381.2 kB / 460.5 MB, free: 49.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.3745, allocations: 0.6098 MB / 461.2 MB, free: 49.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.3753, allocations: 494 kB / 461.6 MB, free: 49.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3754, allocations: 2.938 kB / 461.6 MB, free: 49.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002638/0.378, allocations: 1.507 MB / 463.1 MB, free: 49.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.3781, allocations: 39.31 kB / 463.2 MB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001882/0.3799, allocations: 1.151 MB / 464.3 MB, free: 48.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.3811, allocations: 439.3 kB / 464.8 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.3816, allocations: 132.3 kB / 464.9 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/0.3879, allocations: 4.848 MB / 469.7 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.3885, allocations: 74.17 kB / 469.8 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.3886, allocations: 38.44 kB / 469.8 MB, free: 46.11 MB / 382.1 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,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004987/0.3891, allocations: 350.5 kB / 470.2 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3893, allocations: 77.09 kB / 470.3 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.3908, allocations: 1.122 MB / 471.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.3909, allocations: 15.81 kB / 471.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3909, allocations: 1.875 kB / 471.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3909, allocations: 10.83 kB / 471.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.3937, allocations: 2.144 MB / 473.6 MB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.3937, allocations: 0 / 473.6 MB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.3943, allocations: 133.2 kB / 473.7 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.3944, allocations: 80.11 kB / 473.8 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.3945, allocations: 25.61 kB / 473.8 MB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.3964, allocations: 3.939 MB / 477.7 MB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3964, allocations: 0.6562 kB / 477.7 MB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.3986, allocations: 1.8 MB / 479.5 MB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3987, allocations: 144.8 kB / 479.7 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.3988, allocations: 29 kB / 479.7 MB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.3993, allocations: 56.39 kB / 479.8 MB, free: 39.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.3995, allocations: 85.12 kB / 479.8 MB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.3995, allocations: 30.3 kB / 479.9 MB, free: 39.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.3999, allocations: 322.3 kB / 480.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3999, allocations: 0 / 480.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009215/0.4008, allocations: 250.7 kB / 480.4 MB, free: 39.07 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/0.401, allocations: 157.9 kB / 480.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.4029, allocations: 1.343 MB / 481.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4029, allocations: 7.875 kB / 481.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.4038, allocations: 0.9468 MB / 482.9 MB, free: 37.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.4043, allocations: 97.7 kB / 483 MB, free: 37.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.4067, allocations: 2.166 MB / 485.1 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.4072, allocations: 1.059 MB / 486.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004869/0.4077, allocations: 198.7 kB / 486.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4079, allocations: 55.86 kB / 486.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4079, allocations: 0 / 486.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02175/0.4296, allocations: 10.91 MB / 497.4 MB, free: 35.08 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: