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/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,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 3.836/3.836, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.594e-05, allocations: 5.672 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1973, allocations: 98.71 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8719/1.069, allocations: 157.3 MB / 0.7884 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.07, allocations: 94.92 kB / 0.7885 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6754/1.745, allocations: 181.6 MB / 0.9658 GB, free: 240 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.386e-06/1.745, allocations: 0 / 0.9658 GB, free: 240 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003984/1.746, allocations: 128 kB / 0.9659 GB, free: 112 kB / 0.6823 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.01473/1.76, allocations: 4.148 MB / 0.97 GB, free: 11.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.76, allocations: 12.03 kB / 0.97 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008279/1.769, allocations: 1.012 MB / 0.971 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009851/1.779, allocations: 3.217 MB / 0.9741 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/1.779, allocations: 353.7 kB / 0.9745 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/1.781, allocations: 484 kB / 0.9749 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/1.803, allocations: 7.41 MB / 0.9822 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/1.803, allocations: 27.72 kB / 0.9822 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/1.805, allocations: 219.9 kB / 0.9824 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004038/1.805, allocations: 269.2 kB / 0.9827 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/1.821, allocations: 5.307 MB / 0.9878 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05465/1.875, allocations: 36.26 MB / 1.023 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/1.88, allocations: 2.113 MB / 1.025 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002878/1.883, allocations: 1.459 MB / 1.027 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/1.883, allocations: 21.27 kB / 1.027 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/1.883, allocations: 51.88 kB / 1.027 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=157): time 5.015e-06/1.883, allocations: 0 / 1.027 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160): time 0.01241/1.896, allocations: 4.981 MB / 1.032 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.896, allocations: 64.72 kB / 1.032 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/1.899, allocations: 1.539 MB / 1.033 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000296/1.899, allocations: 53.7 kB / 1.033 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.901, allocations: 2.096 MB / 1.035 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00082/1.902, allocations: 0.5546 MB / 1.036 GB, free: 4.488 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/1.902, allocations: 40 kB / 1.036 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002648/1.903, allocations: 394.1 kB / 1.036 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/1.905, allocations: 0.996 MB / 1.037 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/1.908, allocations: 1.713 MB / 1.039 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.911, allocations: 1.289 MB / 1.04 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/1.911, allocations: 7.938 kB / 1.04 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.009125/1.92, allocations: 3.772 MB / 1.044 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.92, allocations: 16 kB / 1.044 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/1.92, allocations: 20 kB / 1.044 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/1.923, allocations: 0.9122 MB / 1.045 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.925, allocations: 415.2 kB / 1.045 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/1.953, allocations: 21 MB / 1.066 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.956, allocations: 127.9 kB / 1.066 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/1.956, allocations: 92 kB / 1.066 GB, free: 3.688 MB / 0.7917 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.0005486/1.957, allocations: 240.3 kB / 1.066 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/1.957, allocations: 260.9 kB / 1.066 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007649/1.965, allocations: 3.236 MB / 1.07 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.965, allocations: 12 kB / 1.07 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.965, allocations: 12 kB / 1.07 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.965, allocations: 7.969 kB / 1.07 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.984, allocations: 7.475 MB / 1.077 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.984, allocations: 4 kB / 1.077 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.986, allocations: 224.2 kB / 1.077 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003373/1.989, allocations: 0.8765 MB / 1.078 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/1.989, allocations: 31.98 kB / 1.078 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5022/2.492, allocations: 20.95 MB / 1.098 GB, free: 170.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/2.492, allocations: 6.844 kB / 1.098 GB, free: 170.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007727/2.499, allocations: 3.666 MB / 1.102 GB, free: 169.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/2.501, allocations: 0.5364 MB / 1.103 GB, free: 169.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007166/2.502, allocations: 41.45 kB / 1.103 GB, free: 169.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/2.504, allocations: 92.69 kB / 1.103 GB, free: 169.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/2.504, allocations: 135.9 kB / 1.103 GB, free: 169.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/2.505, allocations: 48.38 kB / 1.103 GB, free: 169.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002622/2.507, allocations: 1.159 MB / 1.104 GB, free: 169.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.057e-06/2.507, allocations: 4.375 kB / 1.104 GB, free: 169.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004957/2.512, allocations: 0.9369 MB / 1.105 GB, free: 169.4 MB / 0.8073 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.0005478/2.513, allocations: 162.5 kB / 1.105 GB, free: 169.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008446/2.521, allocations: 4.286 MB / 1.109 GB, free: 168 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/2.521, allocations: 1.219 kB / 1.109 GB, free: 168 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.009077/2.531, allocations: 2.953 MB / 1.112 GB, free: 166.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007082/2.538, allocations: 0.7104 MB / 1.113 GB, free: 166.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/2.564, allocations: 5.973 MB / 1.119 GB, free: 165.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/2.575, allocations: 3.29 MB / 1.122 GB, free: 164.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005289/2.58, allocations: 0.5159 MB / 1.122 GB, free: 164.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/2.581, allocations: 144.9 kB / 1.123 GB, free: 164.3 MB / 0.8073 GB Notification: Performance of SimCode: time 3.4e-06/2.582, allocations: 0.8438 kB / 1.123 GB, free: 164.3 MB / 0.8073 GB Notification: Performance of Templates: time 0.09849/2.68, allocations: 38.86 MB / 1.16 GB, free: 163.1 MB / 0.8073 GB