Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00259/0.002595, allocations: 361.4 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.333/3.333, allocations: 388.9 MB / 406.9 MB, free: 7.027 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.00351/0.00351, allocations: 231.2 kB / 452.2 MB, free: 0.6055 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.7434/0.7434, allocations: 76.03 MB / 0.56 GB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 12 kB / 0.6223 GB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3296, allocations: 53.22 MB / 0.6742 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.Tline): time 0.008867/0.3385, allocations: 7.926 MB / 0.682 GB, free: 54.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.3446, allocations: 2.785 MB / 0.6847 GB, free: 51.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.3454, allocations: 39.69 kB / 0.6847 GB, free: 51.87 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.346, allocations: 207.8 kB / 0.6849 GB, free: 51.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.3479, allocations: 0.6645 MB / 0.6856 GB, free: 51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3494, allocations: 451.1 kB / 0.686 GB, free: 50.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3513, allocations: 1.886 MB / 0.6878 GB, free: 48.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.353, allocations: 0.9207 MB / 0.6887 GB, free: 47.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008575/0.3539, allocations: 0.5641 MB / 0.6893 GB, free: 47.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.3552, allocations: 0.8958 MB / 0.6902 GB, free: 46.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.3554, allocations: 64 kB / 0.6902 GB, free: 46.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3565, allocations: 0.4914 MB / 0.6907 GB, free: 45.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005314/0.357, allocations: 0.522 MB / 0.6912 GB, free: 45.15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.3574, allocations: 261.1 kB / 0.6915 GB, free: 44.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.3589, allocations: 1.453 MB / 0.6929 GB, free: 43.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3589, allocations: 7.984 kB / 0.6929 GB, free: 43.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.359, allocations: 4 kB / 0.6929 GB, free: 43.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.359, allocations: 0 / 0.6929 GB, free: 43.42 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004551/0.3636, allocations: 1.61 MB / 0.6945 GB, free: 41.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3636, allocations: 8.031 kB / 0.6945 GB, free: 41.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.3653, allocations: 218.2 kB / 0.6947 GB, free: 41.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.3672, allocations: 0.8004 MB / 0.6955 GB, free: 40.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.3673, allocations: 78.02 kB / 0.6955 GB, free: 40.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007214/0.368, allocations: 195.9 kB / 0.6957 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.3715, allocations: 1.689 MB / 0.6974 GB, free: 38.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.3715, allocations: 4 kB / 0.6974 GB, free: 38.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.3717, allocations: 43.98 kB / 0.6974 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008429/0.3726, allocations: 102 kB / 0.6975 GB, free: 38.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.376, allocations: 1.488 MB / 0.699 GB, free: 36.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.3877, allocations: 5.981 MB / 0.7048 GB, free: 30.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.3913, allocations: 1.815 MB / 0.7066 GB, free: 28.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.3932, allocations: 0.9 MB / 0.7075 GB, free: 27.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.3934, allocations: 17.17 kB / 0.7075 GB, free: 27.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/0.3959, allocations: 1.283 MB / 0.7087 GB, free: 26.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=173): time 4.9e-06/0.3959, allocations: 0 / 0.7087 GB, free: 26.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.01246/0.4084, allocations: 5.784 MB / 0.7144 GB, free: 20.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4086, allocations: 250.9 kB / 0.7146 GB, free: 20.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4096, allocations: 0.6721 MB / 0.7153 GB, free: 19.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.4098, allocations: 69.69 kB / 0.7153 GB, free: 19.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.4102, allocations: 480.7 kB / 0.7158 GB, free: 19.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005194/0.4107, allocations: 0.5358 MB / 0.7163 GB, free: 18.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.4109, allocations: 36 kB / 0.7164 GB, free: 18.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4111, allocations: 434.6 kB / 0.7168 GB, free: 18.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.4131, allocations: 0.8394 MB / 0.7176 GB, free: 17.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/0.4156, allocations: 1.133 MB / 0.7187 GB, free: 16.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.418, allocations: 0.9971 MB / 0.7197 GB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.418, allocations: 0 / 0.7197 GB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01309/0.4311, allocations: 3.755 MB / 0.7233 GB, free: 11.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.4312, allocations: 63.41 kB / 0.7234 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.4313, allocations: 8 kB / 0.7234 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007613/0.4389, allocations: 1.686 MB / 0.7251 GB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.44, allocations: 151.6 kB / 0.7252 GB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03467/0.4747, allocations: 13.06 MB / 0.738 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.4767, allocations: 139.9 kB / 0.7381 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.477, allocations: 60 kB / 0.7381 GB, free: 11.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 2 * 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 {28 54} Notification: Performance of prepare postOptimizeDAE: time 0.00115/0.4781, allocations: 0.4921 MB / 0.7386 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.4785, allocations: 118.5 kB / 0.7387 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/0.4847, allocations: 2.241 MB / 0.7409 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.4847, allocations: 7.969 kB / 0.7409 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4848, allocations: 0 / 0.7409 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.4852, allocations: 191.7 kB / 0.7411 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.4856, allocations: 59.95 kB / 0.7412 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.4871, allocations: 119.9 kB / 0.7413 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005188/0.4877, allocations: 157 kB / 0.7414 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0106/0.4983, allocations: 2.967 MB / 0.7443 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008739/0.5071, allocations: 3.572 MB / 0.7478 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00273/0.5099, allocations: 1.096 MB / 0.7489 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009395/0.5108, allocations: 471 kB / 0.7493 GB, free: 308 kB / 362.7 MB Notification: Performance of Backend: time 7.81e-07/0.5109, allocations: 0 / 0.7493 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00836/0.5192, allocations: 2.397 MB / 0.7517 GB, free: 13.87 MB / 378.7 MB Notification: Performance of SimCode: time 0.009399/0.5287, allocations: 4.839 MB / 0.7564 GB, free: 8.957 MB / 378.7 MB Notification: Performance of Templates: time 0.3741/0.9028, allocations: 27.34 MB / 0.7831 GB, free: 96.71 MB / 394.7 MB