Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.734/2.734, allocations: 287.9 MB / 302.9 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.001419, allocations: 184.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 92.36 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007615/0.0007618, allocations: 14.84 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2279, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0254/0.2534, allocations: 23.25 MB / 1.001 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2679, allocations: 7.772 MB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.2705, allocations: 91.38 kB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.2726, allocations: 0.5124 MB / 1.01 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.2776, allocations: 1.18 MB / 1.011 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.282, allocations: 1.007 MB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006358/0.2884, allocations: 3.003 MB / 1.015 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01776/0.3062, allocations: 8.16 MB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.31, allocations: 1.65 MB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.3135, allocations: 1.67 MB / 1.026 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008487/0.3144, allocations: 208 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.3166, allocations: 0.5072 MB / 1.027 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.3192, allocations: 1.52 MB / 1.028 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.321, allocations: 0.8005 MB / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009551/0.3306, allocations: 6.514 MB / 1.035 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.542e-06/0.3306, allocations: 0 / 1.035 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3306, allocations: 0 / 1.035 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.00016/0.3308, allocations: 0 / 1.035 GB, free: 2.145 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008835/0.3396, allocations: 3.436 MB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3397, allocations: 8.031 kB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.345, allocations: 0.7758 MB / 1.039 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/0.3513, allocations: 2.351 MB / 1.042 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.3517, allocations: 283.2 kB / 1.042 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/0.353, allocations: 375.9 kB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.3687, allocations: 5.93 MB / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.3689, allocations: 23.78 kB / 1.048 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006541/0.3695, allocations: 160 kB / 1.048 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000744/0.3703, allocations: 282.9 kB / 1.049 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.3824, allocations: 4.496 MB / 1.053 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5479/0.9303, allocations: 27.68 MB / 1.08 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.9328, allocations: 1.114 MB / 1.081 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.933, allocations: 11.62 kB / 1.081 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.933, allocations: 45.39 kB / 1.081 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 5.885e-06/0.933, allocations: 0 / 1.081 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02851/0.9616, allocations: 9.661 MB / 1.091 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.9616, allocations: 66.09 kB / 1.091 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.9645, allocations: 1.484 MB / 1.092 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.9648, allocations: 46.86 kB / 1.092 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.966, allocations: 1.667 MB / 1.094 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/0.9666, allocations: 475.1 kB / 1.094 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.9667, allocations: 34.5 kB / 1.094 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9669, allocations: 374.7 kB / 1.095 GB, free: 61.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.9689, allocations: 0.9125 MB / 1.095 GB, free: 61.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/0.9712, allocations: 1.45 MB / 1.097 GB, free: 60.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.9737, allocations: 1.147 MB / 1.098 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.9738, allocations: 4.031 kB / 1.098 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008597/0.9824, allocations: 3.267 MB / 1.101 GB, free: 58.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.9825, allocations: 16.27 kB / 1.101 GB, free: 58.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.9825, allocations: 22.47 kB / 1.101 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.9858, allocations: 0.7373 MB / 1.102 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.9879, allocations: 392.5 kB / 1.102 GB, free: 58.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/1.006, allocations: 16.04 MB / 1.118 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.008, allocations: 98.62 kB / 1.118 GB, free: 44.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/1.008, allocations: 72.91 kB / 1.118 GB, free: 44.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002801/1.011, allocations: 1.313 MB / 1.119 GB, free: 43.81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/1.012, allocations: 204 kB / 1.12 GB, free: 43.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006518/1.018, allocations: 2.781 MB / 1.122 GB, free: 42.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.018, allocations: 12.56 kB / 1.122 GB, free: 42.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/1.018, allocations: 11.62 kB / 1.122 GB, free: 42.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/1.018, allocations: 7.969 kB / 1.122 GB, free: 42.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.033, allocations: 6.203 MB / 1.128 GB, free: 38.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.033, allocations: 8.172 kB / 1.128 GB, free: 38.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.034, allocations: 233.9 kB / 1.129 GB, free: 38.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/1.037, allocations: 0.6712 MB / 1.129 GB, free: 38.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/1.038, allocations: 32.34 kB / 1.129 GB, free: 38.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/1.055, allocations: 15.78 MB / 1.145 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/1.055, allocations: 9.344 kB / 1.145 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/1.063, allocations: 4.333 MB / 1.149 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.064, allocations: 453.4 kB / 1.149 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/1.065, allocations: 35.42 kB / 1.149 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.066, allocations: 85.55 kB / 1.15 GB, free: 20.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/1.066, allocations: 114.1 kB / 1.15 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.067, allocations: 42.67 kB / 1.15 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001601/1.068, allocations: 0.9806 MB / 1.151 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.57e-07/1.068, allocations: 0 / 1.151 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003047/1.071, allocations: 0.6865 MB / 1.151 GB, free: 19.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002992/1.072, allocations: 158.5 kB / 1.151 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006066/1.078, allocations: 3.487 MB / 1.155 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.435e-06/1.078, allocations: 4.812 kB / 1.155 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003979/1.082, allocations: 2.29 MB / 1.157 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/1.085, allocations: 0.5944 MB / 1.158 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.106, allocations: 7.832 MB / 1.165 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/1.11, allocations: 2.73 MB / 1.168 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00216/1.112, allocations: 477.4 kB / 1.168 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/1.112, allocations: 123.4 kB / 1.169 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of SimCode: time 1.729e-06/1.112, allocations: 0 / 1.169 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of Templates: time 0.07962/1.192, allocations: 31.19 MB / 1.199 GB, free: 4.66 MB / 0.7136 GB