Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008898/0.008898, allocations: 109.7 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001119/0.001119, allocations: 183.2 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.869/1.869, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.11/2.11, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6647, allocations: 98.69 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2577/0.9225, allocations: 181.6 MB / 0.8607 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.9229, allocations: 95.94 kB / 0.8608 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9666/1.889, allocations: 146.4 MB / 1.004 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.451e-06/1.889, allocations: 8 kB / 1.004 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000276/1.89, allocations: 91.98 kB / 1.004 GB, free: 146.4 MB / 0.7292 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.01055/1.9, allocations: 3.506 MB / 1.007 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.9, allocations: 8.031 kB / 1.007 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/1.907, allocations: 0.8342 MB / 1.008 GB, free: 142 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006899/1.914, allocations: 2.557 MB / 1.011 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/1.915, allocations: 275.2 kB / 1.011 GB, free: 139.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/1.916, allocations: 379.9 kB / 1.011 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/1.931, allocations: 5.705 MB / 1.017 GB, free: 132.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/1.931, allocations: 19.78 kB / 1.017 GB, free: 132.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/1.932, allocations: 168 kB / 1.017 GB, free: 132.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/1.932, allocations: 211 kB / 1.017 GB, free: 132.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/1.943, allocations: 4.122 MB / 1.021 GB, free: 128.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03186/1.975, allocations: 27.67 MB / 1.048 GB, free: 97.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/1.977, allocations: 1.092 MB / 1.049 GB, free: 96.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/1.977, allocations: 17 kB / 1.049 GB, free: 96.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.977, allocations: 47.5 kB / 1.049 GB, free: 96.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 4.651e-06/1.977, allocations: 0 / 1.049 GB, free: 96.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=131): time 0.02488/2.002, allocations: 9.551 MB / 1.059 GB, free: 87.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/2.002, allocations: 64.72 kB / 1.059 GB, free: 86.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/2.004, allocations: 1.286 MB / 1.06 GB, free: 85.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/2.004, allocations: 45.7 kB / 1.06 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/2.005, allocations: 1.671 MB / 1.062 GB, free: 83.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000615/2.006, allocations: 469.3 kB / 1.062 GB, free: 83.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/2.006, allocations: 40 kB / 1.062 GB, free: 83.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001374/2.006, allocations: 369.9 kB / 1.062 GB, free: 83.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/2.008, allocations: 0.8745 MB / 1.063 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/2.01, allocations: 1.464 MB / 1.065 GB, free: 80.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/2.012, allocations: 1.123 MB / 1.066 GB, free: 79.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/2.012, allocations: 4 kB / 1.066 GB, free: 79.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007001/2.019, allocations: 3.227 MB / 1.069 GB, free: 76.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/2.019, allocations: 13.25 kB / 1.069 GB, free: 76.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/2.019, allocations: 20 kB / 1.069 GB, free: 76.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/2.022, allocations: 0.7145 MB / 1.07 GB, free: 75.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/2.024, allocations: 399.4 kB / 1.07 GB, free: 74.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/2.041, allocations: 15.87 MB / 1.086 GB, free: 57.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/2.043, allocations: 99.91 kB / 1.086 GB, free: 57.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/2.043, allocations: 76.06 kB / 1.086 GB, free: 57.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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.002949/2.046, allocations: 1.319 MB / 1.087 GB, free: 56.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005342/2.047, allocations: 201.6 kB / 1.087 GB, free: 56.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/2.053, allocations: 2.745 MB / 1.09 GB, free: 53.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/2.053, allocations: 12 kB / 1.09 GB, free: 53.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/2.053, allocations: 8 kB / 1.09 GB, free: 53.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/2.053, allocations: 7.969 kB / 1.09 GB, free: 53.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/2.067, allocations: 6.076 MB / 1.096 GB, free: 47.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/2.067, allocations: 4 kB / 1.096 GB, free: 47.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.068, allocations: 243.6 kB / 1.096 GB, free: 46.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/2.071, allocations: 0.6441 MB / 1.097 GB, free: 46.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/2.071, allocations: 28 kB / 1.097 GB, free: 46.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/2.086, allocations: 15.59 MB / 1.112 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.193e-06/2.086, allocations: 11.94 kB / 1.112 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007431/2.094, allocations: 4.261 MB / 1.116 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/2.095, allocations: 450.5 kB / 1.117 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/2.095, allocations: 32 kB / 1.117 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/2.097, allocations: 83.89 kB / 1.117 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/2.097, allocations: 116.7 kB / 1.117 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/2.097, allocations: 40 kB / 1.117 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001796/2.099, allocations: 0.9708 MB / 1.118 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.4e-07/2.099, allocations: 0 / 1.118 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003474/2.102, allocations: 0.7031 MB / 1.118 GB, free: 22.46 MB / 0.7292 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.000398/2.103, allocations: 163.8 kB / 1.119 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006035/2.109, allocations: 3.433 MB / 1.122 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.885e-06/2.109, allocations: 11.88 kB / 1.122 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003979/2.113, allocations: 2.257 MB / 1.124 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/2.116, allocations: 0.5658 MB / 1.125 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/2.13, allocations: 7.829 MB / 1.132 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/2.134, allocations: 2.726 MB / 1.135 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002285/2.137, allocations: 481 kB / 1.136 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/2.137, allocations: 111.4 kB / 1.136 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of SimCode: time 1.687e-06/2.137, allocations: 0 / 1.136 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of Templates: time 0.08038/2.218, allocations: 30.23 MB / 1.165 GB, free: 6.68 MB / 0.7605 GB