Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadModel(Buildings): time 4.168/4.168, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.163e-05, allocations: 6.203 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1735, allocations: 98.72 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6681/0.8416, allocations: 157.6 MB / 0.7886 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.8419, allocations: 92.52 kB / 0.7887 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6653/1.507, allocations: 199.2 MB / 0.9832 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/1.507, allocations: 0 / 0.9832 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004042/1.508, allocations: 135.9 kB / 0.9834 GB, free: 14.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01648/1.524, allocations: 4.451 MB / 0.9877 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.524, allocations: 8.031 kB / 0.9877 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009387/1.534, allocations: 1.051 MB / 0.9887 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/1.544, allocations: 3.407 MB / 0.9921 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005758/1.545, allocations: 411.1 kB / 0.9925 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/1.548, allocations: 0.5388 MB / 0.993 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/1.575, allocations: 8.485 MB / 1.001 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/1.575, allocations: 31.77 kB / 1.001 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002109/1.577, allocations: 244 kB / 1.002 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004956/1.578, allocations: 318.8 kB / 1.002 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/1.596, allocations: 6.039 MB / 1.008 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06344/1.66, allocations: 40.1 MB / 1.047 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005673/1.665, allocations: 3.071 MB / 1.05 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/1.669, allocations: 1.956 MB / 1.052 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/1.67, allocations: 21.98 kB / 1.052 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/1.67, allocations: 52.56 kB / 1.052 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=179): time 5.646e-06/1.67, allocations: 0 / 1.052 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=182): time 0.01562/1.685, allocations: 6.027 MB / 1.058 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/1.686, allocations: 69.41 kB / 1.058 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/1.688, allocations: 1.291 MB / 1.059 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/1.689, allocations: 61.7 kB / 1.059 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.691, allocations: 2.238 MB / 1.061 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.692, allocations: 0.6316 MB / 1.062 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/1.692, allocations: 40 kB / 1.062 GB, free: 9.078 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003047/1.693, allocations: 390.3 kB / 1.062 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/1.695, allocations: 1.148 MB / 1.063 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/1.699, allocations: 1.831 MB / 1.065 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/1.702, allocations: 1.497 MB / 1.067 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/1.702, allocations: 4 kB / 1.067 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.6015/2.304, allocations: 4.495 MB / 1.071 GB, free: 156.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/2.304, allocations: 13.44 kB / 1.071 GB, free: 156.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/2.304, allocations: 22.19 kB / 1.071 GB, free: 156.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00596/2.31, allocations: 1.58 MB / 1.073 GB, free: 156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/2.312, allocations: 351.7 kB / 1.073 GB, free: 156 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02992/2.342, allocations: 16.98 MB / 1.09 GB, free: 150.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/2.344, allocations: 119.4 kB / 1.09 GB, free: 150.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/2.345, allocations: 94.98 kB / 1.09 GB, free: 150.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005096/2.345, allocations: 235.7 kB / 1.09 GB, free: 150.8 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/2.346, allocations: 224.8 kB / 1.09 GB, free: 150.8 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009893/2.356, allocations: 4.056 MB / 1.094 GB, free: 150.6 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/2.356, allocations: 15.19 kB / 1.094 GB, free: 150.6 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-05/2.356, allocations: 19.38 kB / 1.094 GB, free: 150.6 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/2.356, allocations: 6.938 kB / 1.094 GB, free: 150.6 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/2.378, allocations: 9.369 MB / 1.103 GB, free: 149.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/2.378, allocations: 12.64 kB / 1.103 GB, free: 149.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/2.38, allocations: 184.9 kB / 1.104 GB, free: 149.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/2.384, allocations: 1.347 MB / 1.105 GB, free: 149.4 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003339/2.384, allocations: 37.22 kB / 1.105 GB, free: 149.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02436/2.409, allocations: 15.87 MB / 1.12 GB, free: 144.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.447e-06/2.409, allocations: 11.27 kB / 1.12 GB, free: 144.3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/2.417, allocations: 4.319 MB / 1.125 GB, free: 143.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/2.419, allocations: 0.5293 MB / 1.125 GB, free: 143.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/2.42, allocations: 39.11 kB / 1.125 GB, free: 143.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/2.422, allocations: 82.91 kB / 1.125 GB, free: 143.2 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006769/2.423, allocations: 172.4 kB / 1.125 GB, free: 143.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/2.423, allocations: 45.62 kB / 1.126 GB, free: 143.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001899/2.425, allocations: 0.9708 MB / 1.126 GB, free: 143.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.96e-07/2.425, allocations: 0 / 1.126 GB, free: 143.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004901/2.43, allocations: 1.032 MB / 1.127 GB, free: 143.1 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004742/2.43, allocations: 155.9 kB / 1.128 GB, free: 143 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008296/2.439, allocations: 4.187 MB / 1.132 GB, free: 142.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.435e-06/2.439, allocations: 0 / 1.132 GB, free: 142.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005366/2.444, allocations: 2.611 MB / 1.134 GB, free: 141.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/2.448, allocations: 0.6691 MB / 1.135 GB, free: 141.7 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/2.465, allocations: 6.898 MB / 1.142 GB, free: 140.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00771/2.473, allocations: 3.664 MB / 1.145 GB, free: 139.4 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002276/2.475, allocations: 471.2 kB / 1.146 GB, free: 139.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/2.476, allocations: 112.3 kB / 1.146 GB, free: 139.3 MB / 0.7917 GB Notification: Performance of SimCode: time 1.997e-06/2.476, allocations: 0 / 1.146 GB, free: 139.3 MB / 0.7917 GB Notification: Performance of Templates: time 0.1009/2.577, allocations: 41.14 MB / 1.186 GB, free: 137.8 MB / 0.7917 GB