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_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadModel(Buildings): time 4.108/4.108, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.289e-05, allocations: 4.969 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1858, allocations: 98.73 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8804/1.066, allocations: 158 MB / 0.789 GB, free: 58.19 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.067, allocations: 94.31 kB / 0.7891 GB, free: 58.19 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7267/1.793, allocations: 201.3 MB / 0.9857 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.404e-06/1.793, allocations: 0 / 0.9857 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004722/1.794, allocations: 148 kB / 0.9859 GB, free: 11.62 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01848/1.812, allocations: 4.867 MB / 0.9906 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.812, allocations: 12.03 kB / 0.9907 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/1.822, allocations: 1.129 MB / 0.9918 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/1.834, allocations: 3.693 MB / 0.9954 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006012/1.834, allocations: 431.6 kB / 0.9958 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/1.837, allocations: 0.5468 MB / 0.9963 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/1.865, allocations: 8.715 MB / 1.005 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002663/1.865, allocations: 15.88 kB / 1.005 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002266/1.867, allocations: 267.9 kB / 1.005 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/1.868, allocations: 295 kB / 1.005 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/1.887, allocations: 6.329 MB / 1.012 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0651/1.952, allocations: 41.46 MB / 1.052 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/1.959, allocations: 3.073 MB / 1.055 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004402/1.963, allocations: 2.133 MB / 1.057 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.964, allocations: 29.98 kB / 1.057 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.964, allocations: 56.56 kB / 1.057 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=209): time 6.079e-06/1.964, allocations: 0 / 1.057 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=212): time 0.01652/1.98, allocations: 6.585 MB / 1.064 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.98, allocations: 73.41 kB / 1.064 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/1.984, allocations: 1.645 MB / 1.065 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004175/1.984, allocations: 65.7 kB / 1.065 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.987, allocations: 2.369 MB / 1.068 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.988, allocations: 0.7317 MB / 1.068 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/1.988, allocations: 52 kB / 1.068 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003097/1.988, allocations: 411.1 kB / 1.069 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/1.991, allocations: 1.297 MB / 1.07 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004027/1.995, allocations: 2.078 MB / 1.072 GB, free: 14.49 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/1.999, allocations: 1.669 MB / 1.074 GB, free: 12.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.569e-05/1.999, allocations: 8 kB / 1.074 GB, free: 12.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01905/2.018, allocations: 4.922 MB / 1.079 GB, free: 7.867 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/2.018, allocations: 19.98 kB / 1.079 GB, free: 7.848 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.096e-05/2.019, allocations: 27.94 kB / 1.079 GB, free: 7.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009567/2.028, allocations: 1.526 MB / 1.08 GB, free: 6.285 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/2.033, allocations: 447.2 kB / 1.081 GB, free: 5.848 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6633/2.696, allocations: 16.94 MB / 1.097 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/2.699, allocations: 148.5 kB / 1.097 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005982/2.7, allocations: 107.8 kB / 1.097 GB, free: 178.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005939/2.7, allocations: 257.9 kB / 1.098 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/2.701, allocations: 289.6 kB / 1.098 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/2.711, allocations: 4.409 MB / 1.102 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/2.711, allocations: 25.56 kB / 1.102 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/2.712, allocations: 15.19 kB / 1.102 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/2.712, allocations: 11.83 kB / 1.102 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/2.736, allocations: 9.605 MB / 1.112 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/2.736, allocations: 3.875 kB / 1.112 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/2.737, allocations: 239.4 kB / 1.112 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/2.742, allocations: 1.4 MB / 1.113 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003895/2.742, allocations: 40.95 kB / 1.113 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03315/2.775, allocations: 16.97 MB / 1.13 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/2.775, allocations: 5.281 kB / 1.13 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/2.788, allocations: 4.838 MB / 1.135 GB, free: 171.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/2.79, allocations: 0.6375 MB / 1.135 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008209/2.791, allocations: 37 kB / 1.135 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/2.793, allocations: 115.2 kB / 1.135 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/2.794, allocations: 182.8 kB / 1.135 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/2.794, allocations: 55.28 kB / 1.136 GB, free: 171.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002535/2.796, allocations: 1.241 MB / 1.137 GB, free: 171.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.026e-06/2.796, allocations: 0 / 1.137 GB, free: 171.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005317/2.802, allocations: 1.176 MB / 1.138 GB, free: 171.2 MB / 0.823 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005759/2.802, allocations: 173.4 kB / 1.138 GB, free: 171.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009311/2.812, allocations: 4.537 MB / 1.142 GB, free: 170.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.812, allocations: 3.75 kB / 1.142 GB, free: 170.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006209/2.818, allocations: 2.87 MB / 1.145 GB, free: 169.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/2.823, allocations: 0.764 MB / 1.146 GB, free: 169.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/2.84, allocations: 7.459 MB / 1.153 GB, free: 168.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007037/2.848, allocations: 3.79 MB / 1.157 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003085/2.851, allocations: 0.5427 MB / 1.158 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/2.851, allocations: 147.2 kB / 1.158 GB, free: 167.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.109e-06/2.851, allocations: 0 / 1.158 GB, free: 167.4 MB / 0.823 GB Notification: Performance of Templates: time 0.1143/2.966, allocations: 47.57 MB / 1.204 GB, free: 165.9 MB / 0.823 GB