Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002397/0.002402, allocations: 352.4 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.499/3.499, allocations: 388.9 MB / 406.2 MB, free: 12 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.003487/0.003487, allocations: 223.8 kB / 451.6 MB, free: 14.59 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.6618/0.6618, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005099, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06777/0.0683, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005127/0.07347, allocations: 5.251 MB / 0.6787 GB, free: 55.54 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.07539, allocations: 1.326 MB / 0.68 GB, free: 54.21 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.07566, allocations: 27.81 kB / 0.6801 GB, free: 54.18 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.07594, allocations: 87.34 kB / 0.6801 GB, free: 54.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.07658, allocations: 318.3 kB / 0.6804 GB, free: 53.78 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.07694, allocations: 147.7 kB / 0.6806 GB, free: 53.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.07765, allocations: 0.8528 MB / 0.6814 GB, free: 52.78 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.0779, allocations: 143.2 kB / 0.6816 GB, free: 52.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.07822, allocations: 258.8 kB / 0.6818 GB, free: 52.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.07871, allocations: 342.8 kB / 0.6821 GB, free: 52.04 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.07879, allocations: 20 kB / 0.6821 GB, free: 52.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.07889, allocations: 20 kB / 0.6822 GB, free: 52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.07908, allocations: 183.5 kB / 0.6823 GB, free: 51.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.07921, allocations: 117.4 kB / 0.6825 GB, free: 51.7 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.07959, allocations: 418.9 kB / 0.6829 GB, free: 51.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.862e-06/0.07961, allocations: 0 / 0.6829 GB, free: 51.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.386e-06/0.07962, allocations: 0 / 0.6829 GB, free: 51.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.07964, allocations: 4 kB / 0.6829 GB, free: 51.29 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001228/0.08087, allocations: 0.7527 MB / 0.6836 GB, free: 50.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.08092, allocations: 12.83 kB / 0.6836 GB, free: 50.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.08103, allocations: 47.44 kB / 0.6836 GB, free: 50.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.08167, allocations: 419.4 kB / 0.684 GB, free: 49.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.08172, allocations: 29 kB / 0.6841 GB, free: 49.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.08181, allocations: 39.95 kB / 0.6841 GB, free: 49.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.08261, allocations: 490.5 kB / 0.6846 GB, free: 49.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.08264, allocations: 0 / 0.6846 GB, free: 49.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.0827, allocations: 12 kB / 0.6846 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.08283, allocations: 28.62 kB / 0.6846 GB, free: 49.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.08358, allocations: 370.6 kB / 0.685 GB, free: 49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.08593, allocations: 1.726 MB / 0.6867 GB, free: 47.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.08664, allocations: 395 kB / 0.687 GB, free: 46.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.08718, allocations: 233.6 kB / 0.6873 GB, free: 46.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.08723, allocations: 0 / 0.6873 GB, free: 46.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.08769, allocations: 296.4 kB / 0.6875 GB, free: 46.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.719e-06/0.08771, allocations: 0 / 0.6875 GB, free: 46.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002518/0.09024, allocations: 1.407 MB / 0.6889 GB, free: 44.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.09031, allocations: 140.5 kB / 0.689 GB, free: 44.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.09072, allocations: 373.7 kB / 0.6894 GB, free: 44.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.09077, allocations: 33.7 kB / 0.6894 GB, free: 44.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.09093, allocations: 256 kB / 0.6897 GB, free: 43.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.09103, allocations: 110.5 kB / 0.6898 GB, free: 43.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.09107, allocations: 11.94 kB / 0.6898 GB, free: 43.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.09116, allocations: 350.8 kB / 0.6901 GB, free: 43.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.09145, allocations: 133 kB / 0.6903 GB, free: 43.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.0918, allocations: 260.1 kB / 0.6905 GB, free: 42.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.09213, allocations: 173.7 kB / 0.6907 GB, free: 42.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.696e-06/0.09215, allocations: 11.89 kB / 0.6907 GB, free: 42.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001038/0.0932, allocations: 0.5499 MB / 0.6912 GB, free: 42.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.09324, allocations: 33.7 kB / 0.6913 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.303e-06/0.09327, allocations: 4.469 kB / 0.6913 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.09357, allocations: 81.67 kB / 0.6913 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.09392, allocations: 71.83 kB / 0.6914 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.09591, allocations: 2.791 MB / 0.6941 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.09626, allocations: 31.97 kB / 0.6942 GB, free: 38.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.09631, allocations: 19.94 kB / 0.6942 GB, free: 38.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening,$whenCondition1,$PRE.relay.cnt,relay.cnt) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.09659, allocations: 247.4 kB / 0.6944 GB, free: 38.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.09667, allocations: 39.53 kB / 0.6945 GB, free: 38.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.09766, allocations: 0.5045 MB / 0.6949 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.09769, allocations: 4 kB / 0.695 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-06/0.0977, allocations: 4 kB / 0.695 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-06/0.09772, allocations: 0 / 0.695 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.0994, allocations: 1.072 MB / 0.696 GB, free: 36.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-06/0.09942, allocations: 0 / 0.696 GB, free: 36.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.09967, allocations: 39.92 kB / 0.696 GB, free: 36.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.09998, allocations: 89.62 kB / 0.6961 GB, free: 36.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/0.1, allocations: 16.03 kB / 0.6961 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.102, allocations: 2.779 MB / 0.6989 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.102, allocations: 3.953 kB / 0.6989 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1033, allocations: 0.7875 MB / 0.6996 GB, free: 32.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.1034, allocations: 116.6 kB / 0.6997 GB, free: 32.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.1035, allocations: 15.92 kB / 0.6998 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.1039, allocations: 28.05 kB / 0.6998 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.104, allocations: 27.95 kB / 0.6998 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.104, allocations: 19.98 kB / 0.6998 GB, free: 32.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.1043, allocations: 255.2 kB / 0.7001 GB, free: 32.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.1043, allocations: 0 / 0.7001 GB, free: 32.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.1049, allocations: 112 kB / 0.7002 GB, free: 32.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0001304/0.105, allocations: 119.9 kB / 0.7003 GB, free: 32.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1061, allocations: 0.6459 MB / 0.7009 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.784e-06/0.1061, allocations: 0 / 0.7009 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007071/0.1068, allocations: 0.4966 MB / 0.7014 GB, free: 30.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.1076, allocations: 93.38 kB / 0.7015 GB, free: 30.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1093, allocations: 1.197 MB / 0.7027 GB, free: 29.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1096, allocations: 0.886 MB / 0.7035 GB, free: 28.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003132/0.11, allocations: 67.38 kB / 0.7036 GB, free: 28.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1101, allocations: 35.42 kB / 0.7036 GB, free: 28.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.331e-06/0.1101, allocations: 0 / 0.7036 GB, free: 28.62 MB / 442.7 MB Notification: Performance of Templates: time 0.01133/0.1214, allocations: 4.844 MB / 0.7084 GB, free: 23.79 MB / 442.7 MB