Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultTline.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.Transmission.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultTline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002623/0.002628, allocations: 362.2 kB / 17.21 MB, free: 4.926 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.774/3.774, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003526/0.003527, allocations: 227.8 kB / 452.2 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.7574/0.7574, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004451, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09161, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultTline): time 0.01039/0.1021, allocations: 8.731 MB / 0.6828 GB, free: 52.05 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007082/0.1092, allocations: 3.146 MB / 0.6858 GB, free: 48.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1105, allocations: 35.75 kB / 0.6859 GB, free: 48.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1116, allocations: 234.3 kB / 0.6861 GB, free: 48.63 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.1144, allocations: 0.7501 MB / 0.6868 GB, free: 47.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.1168, allocations: 0.5847 MB / 0.6874 GB, free: 47.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.12, allocations: 2.323 MB / 0.6897 GB, free: 44.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.1224, allocations: 1.071 MB / 0.6907 GB, free: 43.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.1241, allocations: 0.7236 MB / 0.6914 GB, free: 43.11 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.1262, allocations: 1.114 MB / 0.6925 GB, free: 42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.1267, allocations: 80 kB / 0.6926 GB, free: 41.92 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.1284, allocations: 0.5109 MB / 0.6931 GB, free: 41.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.1294, allocations: 0.6701 MB / 0.6937 GB, free: 40.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.1301, allocations: 312.9 kB / 0.694 GB, free: 40.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.1326, allocations: 1.734 MB / 0.6957 GB, free: 38.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1327, allocations: 0 / 0.6957 GB, free: 38.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1327, allocations: 0 / 0.6957 GB, free: 38.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.098e-05/0.1328, allocations: 0 / 0.6957 GB, free: 38.68 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006227/0.139, allocations: 1.925 MB / 0.6976 GB, free: 36.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1391, allocations: 8.031 kB / 0.6976 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.1415, allocations: 257.8 kB / 0.6979 GB, free: 36.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.1443, allocations: 0.9144 MB / 0.6987 GB, free: 35.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.1445, allocations: 102.4 kB / 0.6988 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.1455, allocations: 227.7 kB / 0.6991 GB, free: 35.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.1506, allocations: 2.067 MB / 0.7011 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.1507, allocations: 4 kB / 0.7011 GB, free: 32.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.1509, allocations: 51.98 kB / 0.7011 GB, free: 32.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.152, allocations: 130.4 kB / 0.7013 GB, free: 32.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005101/0.1571, allocations: 1.856 MB / 0.7031 GB, free: 30.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/0.1742, allocations: 7.331 MB / 0.7102 GB, free: 23.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.1783, allocations: 2.111 MB / 0.7123 GB, free: 21.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/0.181, allocations: 1.128 MB / 0.7134 GB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.1812, allocations: 25.3 kB / 0.7134 GB, free: 20 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003349/0.1846, allocations: 1.574 MB / 0.715 GB, free: 18.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=214): time 6.151e-06/0.1846, allocations: 4 kB / 0.715 GB, free: 18.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=215): time 0.01747/0.2021, allocations: 7.118 MB / 0.7219 GB, free: 11.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.2022, allocations: 247.7 kB / 0.7221 GB, free: 10.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.2036, allocations: 0.7781 MB / 0.7229 GB, free: 9.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004887/0.2041, allocations: 73.7 kB / 0.723 GB, free: 9.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.2047, allocations: 0.5518 MB / 0.7235 GB, free: 9.305 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000988/0.2057, allocations: 0.6628 MB / 0.7242 GB, free: 8.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.2059, allocations: 44 kB / 0.7242 GB, free: 8.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2061, allocations: 402.7 kB / 0.7246 GB, free: 8.191 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/0.2089, allocations: 1.043 MB / 0.7256 GB, free: 7.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.2119, allocations: 1.387 MB / 0.727 GB, free: 5.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.2148, allocations: 1.232 MB / 0.7282 GB, free: 4.371 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.2149, allocations: 0 / 0.7282 GB, free: 4.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.3112/0.5261, allocations: 4.653 MB / 0.7327 GB, free: 125 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.5262, allocations: 61.88 kB / 0.7328 GB, free: 124.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01678/0.543, allocations: 4.147 MB / 0.7368 GB, free: 124.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.5544, allocations: 2.26 MB / 0.739 GB, free: 124.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.5557, allocations: 169.9 kB / 0.7392 GB, free: 124.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05168/0.6074, allocations: 16.38 MB / 0.7552 GB, free: 118.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.6101, allocations: 164.9 kB / 0.7553 GB, free: 118.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005072/0.6106, allocations: 76.02 kB / 0.7554 GB, free: 118.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 108 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 2 * 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 {32 73} Notification: Performance of prepare postOptimizeDAE: time 0.001705/0.6124, allocations: 0.5574 MB / 0.756 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/0.6129, allocations: 142.8 kB / 0.7561 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/0.6211, allocations: 2.778 MB / 0.7588 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.412e-05/0.6212, allocations: 10.27 kB / 0.7588 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6213, allocations: 0.875 kB / 0.7588 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.6227, allocations: 417.9 kB / 0.7592 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/0.6233, allocations: 70.3 kB / 0.7593 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/0.6255, allocations: 148.4 kB / 0.7594 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008283/0.6264, allocations: 190.7 kB / 0.7596 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01348/0.6399, allocations: 3.605 MB / 0.7631 GB, free: 115.7 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0119/0.6519, allocations: 4.301 MB / 0.7673 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004181/0.6561, allocations: 1.335 MB / 0.7686 GB, free: 113.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001245/0.6574, allocations: 0.5233 MB / 0.7691 GB, free: 113.3 MB / 442.7 MB Notification: Performance of Backend: time 1.152e-06/0.6574, allocations: 3.844 kB / 0.7691 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01345/0.6709, allocations: 2.929 MB / 0.772 GB, free: 112 MB / 442.7 MB Notification: Performance of SimCode: time 0.01304/0.684, allocations: 5.586 MB / 0.7775 GB, free: 108.6 MB / 442.7 MB Notification: Performance of Templates: time 0.08247/0.7665, allocations: 33.14 MB / 0.8098 GB, free: 78.77 MB / 442.7 MB