Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.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.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002664/0.002668, allocations: 361.5 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.389/3.389, allocations: 388.9 MB / 406.9 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00345/0.00345, allocations: 224.3 kB / 452.2 MB, free: 0.6133 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7045/0.7045, allocations: 76.04 MB / 0.56 GB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 12 kB / 0.6223 GB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3493, allocations: 53.2 MB / 0.6742 GB, free: 62.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultRXline): time 0.008711/0.3581, allocations: 7.346 MB / 0.6814 GB, free: 55.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.3636, allocations: 2.542 MB / 0.6839 GB, free: 52.74 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006988/0.3644, allocations: 35.75 kB / 0.6839 GB, free: 52.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.365, allocations: 181.2 kB / 0.6841 GB, free: 52.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.3669, allocations: 0.6226 MB / 0.6847 GB, free: 51.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3684, allocations: 423.1 kB / 0.6851 GB, free: 51.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3704, allocations: 1.688 MB / 0.6867 GB, free: 49.8 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.3723, allocations: 0.9723 MB / 0.6877 GB, free: 48.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009806/0.3733, allocations: 0.5096 MB / 0.6882 GB, free: 48.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3745, allocations: 0.7867 MB / 0.689 GB, free: 47.49 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.3747, allocations: 52 kB / 0.689 GB, free: 47.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3758, allocations: 491.2 kB / 0.6895 GB, free: 46.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.3764, allocations: 0.5299 MB / 0.69 GB, free: 46.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.3767, allocations: 241.1 kB / 0.6902 GB, free: 46.19 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3782, allocations: 1.239 MB / 0.6914 GB, free: 44.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3782, allocations: 0 / 0.6914 GB, free: 44.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3782, allocations: 0 / 0.6914 GB, free: 44.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.3782, allocations: 0 / 0.6914 GB, free: 44.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003829/0.3821, allocations: 1.463 MB / 0.6929 GB, free: 43.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3821, allocations: 8.031 kB / 0.6929 GB, free: 43.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.3837, allocations: 202.3 kB / 0.6931 GB, free: 43.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.3852, allocations: 0.6853 MB / 0.6937 GB, free: 42.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.3854, allocations: 82 kB / 0.6938 GB, free: 42.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/0.3858, allocations: 131.8 kB / 0.6939 GB, free: 42.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.389, allocations: 1.618 MB / 0.6955 GB, free: 40.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.3891, allocations: 11.94 kB / 0.6955 GB, free: 40.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.3893, allocations: 47.98 kB / 0.6956 GB, free: 40.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/0.3897, allocations: 77.95 kB / 0.6956 GB, free: 40.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.393, allocations: 1.452 MB / 0.6971 GB, free: 38.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.4043, allocations: 5.864 MB / 0.7028 GB, free: 32.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.4068, allocations: 1.572 MB / 0.7043 GB, free: 31.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.4084, allocations: 0.828 MB / 0.7051 GB, free: 30.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.4085, allocations: 16.98 kB / 0.7051 GB, free: 30.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/0.4106, allocations: 1.139 MB / 0.7063 GB, free: 29.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=157): time 4.518e-06/0.4107, allocations: 4 kB / 0.7063 GB, free: 29.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=158): time 0.009951/0.4206, allocations: 4.722 MB / 0.7109 GB, free: 24.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.4208, allocations: 242.9 kB / 0.7111 GB, free: 24.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.4216, allocations: 0.5771 MB / 0.7117 GB, free: 23.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.4218, allocations: 61.64 kB / 0.7117 GB, free: 23.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.4222, allocations: 472.3 kB / 0.7122 GB, free: 22.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000446/0.4226, allocations: 481.4 kB / 0.7126 GB, free: 22.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4228, allocations: 32 kB / 0.7127 GB, free: 22.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4229, allocations: 418.7 kB / 0.7131 GB, free: 22.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.4245, allocations: 0.6832 MB / 0.7137 GB, free: 21.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.4262, allocations: 0.9928 MB / 0.7147 GB, free: 20.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.428, allocations: 0.8401 MB / 0.7155 GB, free: 19.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.428, allocations: 4 kB / 0.7155 GB, free: 19.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.008301/0.4363, allocations: 2.827 MB / 0.7183 GB, free: 16.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.4364, allocations: 63.39 kB / 0.7184 GB, free: 16.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007015/0.4434, allocations: 2.314 MB / 0.7206 GB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005475/0.4489, allocations: 1.059 MB / 0.7216 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/0.45, allocations: 147.7 kB / 0.7218 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.4699, allocations: 8.222 MB / 0.7298 GB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4712, allocations: 91.92 kB / 0.7299 GB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.4714, allocations: 56 kB / 0.73 GB, free: 4.438 MB / 346.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: 84 (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,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$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 (148): * Single equations (assignments): 142 * 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: 1 {(12,81.9%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008433/0.4723, allocations: 496.6 kB / 0.7304 GB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.4725, allocations: 106.8 kB / 0.7305 GB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.4766, allocations: 1.873 MB / 0.7324 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.4766, allocations: 7.969 kB / 0.7324 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.4766, allocations: 0 / 0.7324 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.4773, allocations: 295.8 kB / 0.7326 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.4775, allocations: 47.92 kB / 0.7327 GB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/0.4785, allocations: 71.92 kB / 0.7328 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.4789, allocations: 128.8 kB / 0.7329 GB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007103/0.486, allocations: 2.391 MB / 0.7352 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007058/0.4931, allocations: 3.086 MB / 0.7382 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002156/0.4953, allocations: 0.91 MB / 0.7391 GB, free: 10.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007759/0.4961, allocations: 407.1 kB / 0.7395 GB, free: 10.5 MB / 362.7 MB Notification: Performance of Backend: time 6.82e-07/0.4961, allocations: 4 kB / 0.7395 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007312/0.5034, allocations: 1.972 MB / 0.7414 GB, free: 8.484 MB / 362.7 MB Notification: Performance of SimCode: time 0.006362/0.5098, allocations: 3.323 MB / 0.7447 GB, free: 5.086 MB / 362.7 MB Notification: Performance of Templates: time 0.05067/0.5606, allocations: 18.18 MB / 0.7624 GB, free: 3.016 MB / 378.7 MB