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.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadModel(Buildings): time 4.127/4.127, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.161e-05, allocations: 4 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5593, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.801, allocations: 156.7 MB / 0.7819 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.8013, allocations: 91.94 kB / 0.782 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.052/1.853, allocations: 180.8 MB / 0.9586 GB, free: 17.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.319e-06/1.853, allocations: 0 / 0.9586 GB, free: 17.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003564/1.854, allocations: 127.9 kB / 0.9587 GB, free: 17.05 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01335/1.867, allocations: 4.151 MB / 0.9627 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.867, allocations: 16.25 kB / 0.9628 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007968/1.875, allocations: 1.009 MB / 0.9637 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00891/1.884, allocations: 3.214 MB / 0.9669 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/1.884, allocations: 156 kB / 0.967 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/1.886, allocations: 284 kB / 0.9673 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01299/1.899, allocations: 4.713 MB / 0.9719 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/1.92, allocations: 6.704 MB / 0.9785 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/1.92, allocations: 19.78 kB / 0.9785 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009829/1.921, allocations: 12 kB / 0.9785 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/1.921, allocations: 269.2 kB / 0.9787 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05281/1.974, allocations: 35.21 MB / 1.013 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/1.979, allocations: 2.051 MB / 1.015 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/1.982, allocations: 1.404 MB / 1.017 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/1.982, allocations: 21.3 kB / 1.017 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/1.982, allocations: 59.81 kB / 1.017 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 5.296e-06/1.982, allocations: 0 / 1.017 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=160): time 0.01239/1.994, allocations: 4.765 MB / 1.021 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/1.994, allocations: 68.72 kB / 1.021 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/1.997, allocations: 1.236 MB / 1.023 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000276/1.997, allocations: 25.7 kB / 1.023 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.999, allocations: 2.106 MB / 1.025 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008034/2, allocations: 0.5312 MB / 1.025 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/2, allocations: 0 / 1.025 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002767/2.001, allocations: 398 kB / 1.025 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/2.003, allocations: 0.9491 MB / 1.026 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/2.006, allocations: 1.667 MB / 1.028 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/2.009, allocations: 1.236 MB / 1.029 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/2.009, allocations: 11.94 kB / 1.029 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.008964/2.018, allocations: 3.487 MB / 1.033 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/2.018, allocations: 19.98 kB / 1.033 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/2.018, allocations: 24.91 kB / 1.033 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/2.021, allocations: 0.8805 MB / 1.034 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/2.023, allocations: 415.2 kB / 1.034 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02735/2.051, allocations: 20.19 MB / 1.054 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/2.053, allocations: 83.83 kB / 1.054 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/2.053, allocations: 100 kB / 1.054 GB, free: 9.82 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004954/2.054, allocations: 166.6 kB / 1.054 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/2.055, allocations: 233.3 kB / 1.054 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/2.062, allocations: 3.061 MB / 1.057 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/2.062, allocations: 19.95 kB / 1.057 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/2.062, allocations: 8 kB / 1.057 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/2.062, allocations: 7.969 kB / 1.057 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/2.079, allocations: 6.579 MB / 1.064 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/2.079, allocations: 4.062 kB / 1.064 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/2.08, allocations: 219.6 kB / 1.064 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/2.084, allocations: 0.8609 MB / 1.065 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/2.084, allocations: 8 kB / 1.065 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/2.112, allocations: 20.16 MB / 1.084 GB, free: 8.891 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/2.112, allocations: 8 kB / 1.084 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007829/2.119, allocations: 3.501 MB / 1.088 GB, free: 5.113 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/2.121, allocations: 0.5021 MB / 1.088 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/2.122, allocations: 8 kB / 1.088 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/2.123, allocations: 59.89 kB / 1.088 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/2.123, allocations: 141 kB / 1.089 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/2.124, allocations: 44 kB / 1.089 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001907/2.126, allocations: 0.9138 MB / 1.089 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.61e-07/2.126, allocations: 0 / 1.089 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004553/2.13, allocations: 0.8437 MB / 1.09 GB, free: 2.566 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004516/2.131, allocations: 141.2 kB / 1.09 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.4726/2.603, allocations: 4.057 MB / 1.094 GB, free: 185.1 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/2.603, allocations: 4.062 kB / 1.094 GB, free: 185.1 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005675/2.609, allocations: 2.821 MB / 1.097 GB, free: 183.9 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/2.613, allocations: 0.6485 MB / 1.098 GB, free: 183.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/2.63, allocations: 5.906 MB / 1.104 GB, free: 182.4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007139/2.637, allocations: 3.297 MB / 1.107 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002752/2.64, allocations: 0.4926 MB / 1.107 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/2.64, allocations: 128.5 kB / 1.107 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of SimCode: time 3.337e-06/2.641, allocations: 0 / 1.107 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.08601/2.727, allocations: 35.28 MB / 1.142 GB, free: 180.6 MB / 0.7917 GB