Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002406/0.002433, allocations: 354.8 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.496/3.496, allocations: 388.9 MB / 406.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003214/0.003214, allocations: 237.6 kB / 451.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6142/0.6142, allocations: 76 MB / 0.5594 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004807, allocations: 12 kB / 0.6216 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06607/0.06657, allocations: 53.23 MB / 0.6736 GB, free: 60.94 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.00538/0.07199, allocations: 6.065 MB / 0.6795 GB, free: 54.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.07489, allocations: 2.168 MB / 0.6816 GB, free: 52.67 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.0752, allocations: 27.81 kB / 0.6817 GB, free: 52.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.07555, allocations: 115.1 kB / 0.6818 GB, free: 52.53 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.07653, allocations: 497.6 kB / 0.6823 GB, free: 52.04 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.07727, allocations: 303.3 kB / 0.6825 GB, free: 51.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008745/0.07817, allocations: 1.189 MB / 0.6837 GB, free: 50.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.0792, allocations: 0.7266 MB / 0.6844 GB, free: 49.79 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.07963, allocations: 366.4 kB / 0.6848 GB, free: 49.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.08027, allocations: 0.5295 MB / 0.6853 GB, free: 48.9 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.991e-05/0.08037, allocations: 40 kB / 0.6853 GB, free: 48.86 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007294/0.08111, allocations: 455.2 kB / 0.6858 GB, free: 48.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.08145, allocations: 351 kB / 0.6861 GB, free: 48.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.08163, allocations: 177.3 kB / 0.6863 GB, free: 47.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.08237, allocations: 0.8963 MB / 0.6871 GB, free: 46.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.739e-06/0.08239, allocations: 4 kB / 0.6871 GB, free: 46.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.644e-06/0.0824, allocations: 0 / 0.6871 GB, free: 46.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.08242, allocations: 3.938 kB / 0.6871 GB, free: 46.98 MB / 442.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.001935/0.08437, allocations: 1.109 MB / 0.6882 GB, free: 45.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.08441, allocations: 12.81 kB / 0.6882 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.08519, allocations: 138.8 kB / 0.6884 GB, free: 45.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008756/0.08608, allocations: 0.5375 MB / 0.6889 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.08619, allocations: 61.95 kB / 0.689 GB, free: 45.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.08641, allocations: 87.91 kB / 0.689 GB, free: 44.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.08806, allocations: 1.08 MB / 0.6901 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.08811, allocations: 11.84 kB / 0.6901 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.08822, allocations: 35.98 kB / 0.6901 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.08838, allocations: 49.97 kB / 0.6902 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.08996, allocations: 0.9289 MB / 0.6911 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.09501, allocations: 4.227 MB / 0.6952 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.09626, allocations: 0.9382 MB / 0.6961 GB, free: 37.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.09692, allocations: 451.4 kB / 0.6966 GB, free: 36.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.09699, allocations: 8.562 kB / 0.6966 GB, free: 36.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/0.09797, allocations: 0.6358 MB / 0.6972 GB, free: 36.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 3.319e-06/0.09799, allocations: 0 / 0.6972 GB, free: 36.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.004544/0.1025, allocations: 2.908 MB / 0.7 GB, free: 33.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1026, allocations: 145.5 kB / 0.7002 GB, free: 33.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.1031, allocations: 477.8 kB / 0.7006 GB, free: 32.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.1032, allocations: 45.7 kB / 0.7007 GB, free: 32.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1035, allocations: 383.6 kB / 0.701 GB, free: 32.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.1037, allocations: 284.1 kB / 0.7013 GB, free: 31.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1038, allocations: 16 kB / 0.7013 GB, free: 31.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.1039, allocations: 386.8 kB / 0.7017 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/0.1046, allocations: 386.4 kB / 0.7021 GB, free: 31.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.1054, allocations: 0.609 MB / 0.7027 GB, free: 30.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.1062, allocations: 492.4 kB / 0.7031 GB, free: 29.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.721e-06/0.1062, allocations: 0 / 0.7031 GB, free: 29.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003114/0.1093, allocations: 1.509 MB / 0.7046 GB, free: 28.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.1094, allocations: 33.7 kB / 0.7046 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002449/0.1118, allocations: 1.153 MB / 0.7058 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.1134, allocations: 428.5 kB / 0.7062 GB, free: 26.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1139, allocations: 131.7 kB / 0.7063 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007329/0.1213, allocations: 4.696 MB / 0.7109 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.122, allocations: 79.84 kB / 0.711 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/0.1221, allocations: 36 kB / 0.711 GB, free: 21.64 MB / 442.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,$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.0004632/0.1225, allocations: 351.2 kB / 0.7113 GB, free: 21.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.1227, allocations: 63.25 kB / 0.7114 GB, free: 21.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.1246, allocations: 1.134 MB / 0.7125 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.1247, allocations: 12 kB / 0.7125 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.1247, allocations: 4 kB / 0.7125 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.1247, allocations: 7.984 kB / 0.7125 GB, free: 20.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.1282, allocations: 2.151 MB / 0.7146 GB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1282, allocations: 0 / 0.7146 GB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.1289, allocations: 119.8 kB / 0.7147 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.1291, allocations: 86.59 kB / 0.7148 GB, free: 17.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.1292, allocations: 23.98 kB / 0.7148 GB, free: 17.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.1316, allocations: 3.914 MB / 0.7187 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.235e-06/0.1316, allocations: 4.031 kB / 0.7187 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.1344, allocations: 1.753 MB / 0.7204 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1345, allocations: 140.3 kB / 0.7205 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.1346, allocations: 31.94 kB / 0.7205 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.1352, allocations: 59.95 kB / 0.7206 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.1354, allocations: 84.81 kB / 0.7207 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.1355, allocations: 31.98 kB / 0.7207 GB, free: 11.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003974/0.1359, allocations: 315.1 kB / 0.721 GB, free: 10.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.1359, allocations: 0 / 0.721 GB, free: 10.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001041/0.137, allocations: 260 kB / 0.7213 GB, free: 10.54 MB / 442.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 (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.0002266/0.1372, allocations: 153.8 kB / 0.7214 GB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.1394, allocations: 1.347 MB / 0.7227 GB, free: 9.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.168e-06/0.1395, allocations: 0 / 0.7227 GB, free: 9.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.1406, allocations: 0.954 MB / 0.7237 GB, free: 8.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/0.1414, allocations: 118 kB / 0.7238 GB, free: 7.898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.1442, allocations: 2.16 MB / 0.7259 GB, free: 5.703 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1448, allocations: 1.053 MB / 0.7269 GB, free: 4.617 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006074/0.1454, allocations: 189.8 kB / 0.7271 GB, free: 4.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.1456, allocations: 59.42 kB / 0.7271 GB, free: 4.371 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1456, allocations: 0 / 0.7271 GB, free: 4.371 MB / 442.7 MB Notification: Performance of Templates: time 0.2421/0.3877, allocations: 10.85 MB / 0.7377 GB, free: 126.4 MB / 442.7 MB