Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.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.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002717/0.002721, allocations: 359.1 kB / 17.21 MB, free: 4.93 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.837/3.837, allocations: 388.9 MB / 406.8 MB, free: 11.91 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.003583/0.003583, allocations: 241.5 kB / 452.3 MB, free: 14.5 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.7507/0.7507, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 15.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09208, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Fault): time 0.008249/0.1004, allocations: 7.052 MB / 0.6811 GB, free: 53.74 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.1044, allocations: 1.852 MB / 0.6829 GB, free: 51.88 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.1049, allocations: 39.75 kB / 0.683 GB, free: 51.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.1054, allocations: 135 kB / 0.6831 GB, free: 51.71 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1068, allocations: 477.4 kB / 0.6835 GB, free: 51.24 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1079, allocations: 279.4 kB / 0.6838 GB, free: 50.96 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.1098, allocations: 1.371 MB / 0.6852 GB, free: 49.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.1103, allocations: 208.8 kB / 0.6853 GB, free: 49.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.1111, allocations: 418 kB / 0.6857 GB, free: 48.97 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1123, allocations: 0.5295 MB / 0.6863 GB, free: 48.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.1124, allocations: 36 kB / 0.6863 GB, free: 48.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1126, allocations: 32 kB / 0.6863 GB, free: 48.37 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.1131, allocations: 319.1 kB / 0.6866 GB, free: 48.06 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1134, allocations: 169.3 kB / 0.6868 GB, free: 47.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1144, allocations: 0.6818 MB / 0.6875 GB, free: 47.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1144, allocations: 0 / 0.6875 GB, free: 47.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1144, allocations: 0 / 0.6875 GB, free: 47.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1145, allocations: 4 kB / 0.6875 GB, free: 47.2 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003285/0.1178, allocations: 1.04 MB / 0.6885 GB, free: 46.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.1178, allocations: 8.031 kB / 0.6885 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.1181, allocations: 86.97 kB / 0.6886 GB, free: 46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.1197, allocations: 0.5485 MB / 0.6891 GB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/0.1198, allocations: 49.31 kB / 0.6892 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.12, allocations: 67.98 kB / 0.6892 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.1224, allocations: 0.8435 MB / 0.69 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.1224, allocations: 0 / 0.69 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.1226, allocations: 31.98 kB / 0.6901 GB, free: 44.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003644/0.1229, allocations: 57.25 kB / 0.6901 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.125, allocations: 0.6179 MB / 0.6907 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00731/0.1323, allocations: 2.99 MB / 0.6937 GB, free: 40.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.1345, allocations: 0.9269 MB / 0.6946 GB, free: 39.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.1358, allocations: 427.2 kB / 0.695 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/0.1359, allocations: 4.562 kB / 0.695 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/0.1377, allocations: 0.6388 MB / 0.6956 GB, free: 38.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 4.308e-06/0.1377, allocations: 0 / 0.6956 GB, free: 38.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.008575/0.1463, allocations: 2.611 MB / 0.6981 GB, free: 35.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1464, allocations: 204.6 kB / 0.6983 GB, free: 35.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.1474, allocations: 493.9 kB / 0.6988 GB, free: 35.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.1475, allocations: 45.7 kB / 0.6989 GB, free: 34.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.1479, allocations: 344.1 kB / 0.6992 GB, free: 34.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.1482, allocations: 233 kB / 0.6994 GB, free: 34.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.1483, allocations: 20 kB / 0.6994 GB, free: 34.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1485, allocations: 382.8 kB / 0.6998 GB, free: 33.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.1497, allocations: 321.8 kB / 0.7001 GB, free: 33.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.151, allocations: 0.4943 MB / 0.7006 GB, free: 33.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.1523, allocations: 398.2 kB / 0.701 GB, free: 32.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1523, allocations: 7.938 kB / 0.701 GB, free: 32.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003753/0.1561, allocations: 1.087 MB / 0.702 GB, free: 31.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.1562, allocations: 59.39 kB / 0.7021 GB, free: 31.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.1562, allocations: 11.95 kB / 0.7021 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.1573, allocations: 138 kB / 0.7022 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.1594, allocations: 211.7 kB / 0.7024 GB, free: 31.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/0.1644, allocations: 3.091 MB / 0.7054 GB, free: 27.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.1657, allocations: 55.81 kB / 0.7055 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.1658, allocations: 36 kB / 0.7055 GB, free: 27.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 64 (system.initime,$PRE.fault_Ab.fault_pp.t0,fault_Ab.fault_pp.t0,$PRE.fault_Ab.fault_pg.t0,fault_Ab.fault_pg.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.switch1.switch_1.arc,switch1.switch_1.arc,$PRE.switch1.switch_1.open,switch1.switch_1.open,switch1.switch_1.closed,$PRE.switch1.switch_2.arc,switch1.switch_2.arc,$PRE.switch1.switch_2.open,switch1.switch_2.open,switch1.switch_2.closed,$PRE.switch2.switch_1.arc,switch2.switch_1.arc,$PRE.switch2.switch_1.open,switch2.switch_1.open,switch2.switch_1.closed,$PRE.switch2.switch_2.arc,switch2.switch_2.arc,$PRE.switch2.switch_2.open,switch2.switch_2.open,switch2.switch_2.closed,$PRE.fault_Ab.t_zero,fault_Ab.t_zero,$PRE.fault_Ab.v_pos,fault_Ab.v_pos,$PRE.fault_Ab.first,fault_Ab.first,$PRE.fault_Ab.fault_pp.on,fault_Ab.fault_pp.on,$PRE.fault_Ab.fault_pg.on,fault_Ab.fault_pg.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * 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.0007798/0.1666, allocations: 362.2 kB / 0.7059 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.1668, allocations: 71.2 kB / 0.7059 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.1703, allocations: 1.039 MB / 0.707 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.1704, allocations: 3.984 kB / 0.707 GB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1704, allocations: 0 / 0.707 GB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.1709, allocations: 204.2 kB / 0.7072 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.1712, allocations: 27.98 kB / 0.7072 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008346/0.172, allocations: 43.95 kB / 0.7072 GB, free: 25.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.1724, allocations: 88.48 kB / 0.7073 GB, free: 25.81 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005392/0.1778, allocations: 1.389 MB / 0.7087 GB, free: 24.38 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004726/0.1826, allocations: 1.644 MB / 0.7103 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.184, allocations: 469.3 kB / 0.7107 GB, free: 22.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000707/0.1847, allocations: 326.9 kB / 0.711 GB, free: 21.92 MB / 442.7 MB Notification: Performance of Backend: time 6.81e-07/0.1847, allocations: 0 / 0.711 GB, free: 21.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005091/0.1898, allocations: 0.9891 MB / 0.712 GB, free: 20.88 MB / 442.7 MB Notification: Performance of SimCode: time 0.005534/0.1954, allocations: 2.363 MB / 0.7143 GB, free: 18.44 MB / 442.7 MB Notification: Performance of Templates: time 0.02892/0.2244, allocations: 9.486 MB / 0.7236 GB, free: 8.984 MB / 442.7 MB