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.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadModel(Buildings): time 3.955/3.955, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.673e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5349, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7678/1.303, allocations: 195.4 MB / 0.8197 GB, free: 84.08 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.303, allocations: 97.34 kB / 0.8198 GB, free: 84.08 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3277/1.631, allocations: 84.9 MB / 0.9028 GB, free: 58.28 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.029e-06/1.631, allocations: 0 / 0.9028 GB, free: 58.28 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001218/1.631, allocations: 46.92 kB / 0.9028 GB, free: 58.27 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003501/1.634, allocations: 1.618 MB / 0.9044 GB, free: 57.19 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.634, allocations: 7.625 kB / 0.9044 GB, free: 57.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/1.649, allocations: 1.96 MB / 0.9063 GB, free: 56.32 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006389/1.656, allocations: 2.066 MB / 0.9083 GB, free: 54.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/1.656, allocations: 47.94 kB / 0.9084 GB, free: 54.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/1.656, allocations: 70.59 kB / 0.9084 GB, free: 54.87 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003425/1.66, allocations: 1.653 MB / 0.91 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/1.663, allocations: 2.047 MB / 0.912 GB, free: 51.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.363e-05/1.663, allocations: 7.938 kB / 0.9121 GB, free: 51.69 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/1.664, allocations: 4 kB / 0.9121 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/1.664, allocations: 90.28 kB / 0.9121 GB, free: 51.59 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/1.68, allocations: 10.45 MB / 0.9223 GB, free: 40.57 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/1.683, allocations: 1.479 MB / 0.9238 GB, free: 39.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.684, allocations: 0.8666 MB / 0.9246 GB, free: 38.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/1.684, allocations: 12.77 kB / 0.9247 GB, free: 38.18 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.685, allocations: 51.34 kB / 0.9247 GB, free: 38.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 4.8e-06/1.685, allocations: 0 / 0.9247 GB, free: 38.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.01966/1.704, allocations: 6.899 MB / 0.9314 GB, free: 31.19 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.704, allocations: 222.9 kB / 0.9317 GB, free: 30.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.706, allocations: 0.8013 MB / 0.9324 GB, free: 30.11 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003126/1.706, allocations: 29.7 kB / 0.9325 GB, free: 30.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/1.707, allocations: 0.7464 MB / 0.9332 GB, free: 29.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/1.707, allocations: 0.4887 MB / 0.9337 GB, free: 28.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/1.707, allocations: 4 kB / 0.9337 GB, free: 28.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.707, allocations: 369.9 kB / 0.934 GB, free: 28.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/1.709, allocations: 1.093 MB / 0.9351 GB, free: 27.36 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/1.711, allocations: 1.368 MB / 0.9364 GB, free: 25.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/1.714, allocations: 1.264 MB / 0.9377 GB, free: 24.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.106e-06/1.714, allocations: 4 kB / 0.9377 GB, free: 24.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01239/1.726, allocations: 4.435 MB / 0.942 GB, free: 20.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.726, allocations: 8 kB / 0.942 GB, free: 20.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.726, allocations: 12.02 kB / 0.942 GB, free: 20.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/1.737, allocations: 2.084 MB / 0.9441 GB, free: 18.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/1.739, allocations: 423.3 kB / 0.9445 GB, free: 17.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03314/1.772, allocations: 21.74 MB / 0.9657 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/1.776, allocations: 299.5 kB / 0.966 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/1.776, allocations: 67.97 kB / 0.966 GB, free: 10.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004892/1.777, allocations: 133.2 kB / 0.9662 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/1.777, allocations: 162.1 kB / 0.9663 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.791, allocations: 4.511 MB / 0.9707 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.791, allocations: 20 kB / 0.9707 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-05/1.791, allocations: 16 kB / 0.9708 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/1.791, allocations: 11.97 kB / 0.9708 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.811, allocations: 6.571 MB / 0.9772 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.811, allocations: 8.281 kB / 0.9772 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.813, allocations: 367.3 kB / 0.9775 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/1.824, allocations: 1.94 MB / 0.9794 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003487/1.824, allocations: 23.95 kB / 0.9795 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0376/1.862, allocations: 20.9 MB / 0.9999 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.862, allocations: 4 kB / 0.9999 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.876, allocations: 4.31 MB / 1.004 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.878, allocations: 0.4989 MB / 1.005 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005281/1.878, allocations: 8 kB / 1.005 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/1.881, allocations: 303.5 kB / 1.005 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006485/1.882, allocations: 145 kB / 1.005 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.882, allocations: 59.92 kB / 1.005 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001345/1.883, allocations: 0.6057 MB / 1.006 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.037e-06/1.884, allocations: 0 / 1.006 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003373/1.887, allocations: 0.6328 MB / 1.006 GB, free: 144 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006777/1.888, allocations: 180.4 kB / 1.006 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.898, allocations: 4.182 MB / 1.011 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.757e-06/1.898, allocations: 0 / 1.011 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007302/1.905, allocations: 2.833 MB / 1.013 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.908, allocations: 437.5 kB / 1.014 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008555/1.917, allocations: 3.092 MB / 1.017 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.919, allocations: 1.599 MB / 1.018 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002464/1.921, allocations: 381.4 kB / 1.019 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/1.922, allocations: 111.3 kB / 1.019 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of SimCode: time 1.734e-06/1.922, allocations: 0 / 1.019 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of Templates: time 0.0971/2.019, allocations: 40.83 MB / 1.059 GB, free: 10.52 MB / 0.7761 GB