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/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.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.917/3.917, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.851e-05, allocations: 5.234 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.216, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7623/0.9784, allocations: 196.1 MB / 0.8262 GB, free: 51.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.9787, allocations: 93.28 kB / 0.8263 GB, free: 51.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2931/1.272, allocations: 85.38 MB / 0.9097 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.178e-06/1.272, allocations: 0 / 0.9097 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001332/1.272, allocations: 51.86 kB / 0.9097 GB, free: 8.867 MB / 0.6511 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.0037/1.276, allocations: 1.617 MB / 0.9113 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.276, allocations: 8.031 kB / 0.9113 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/1.289, allocations: 1.966 MB / 0.9132 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006367/1.296, allocations: 2.067 MB / 0.9153 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/1.296, allocations: 86.3 kB / 0.9153 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003942/1.296, allocations: 119.3 kB / 0.9155 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/1.301, allocations: 2.222 MB / 0.9176 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-05/1.301, allocations: 15.86 kB / 0.9176 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/1.302, allocations: 52.67 kB / 0.9177 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/1.302, allocations: 85.42 kB / 0.9178 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/1.31, allocations: 1.855 MB / 0.9196 GB, free: 396 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0256/1.335, allocations: 10.74 MB / 0.9301 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/1.339, allocations: 1.507 MB / 0.9315 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/1.341, allocations: 0.8946 MB / 0.9324 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.027e-05/1.341, allocations: 8.781 kB / 0.9324 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/1.341, allocations: 47.34 kB / 0.9325 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 4.461e-06/1.341, allocations: 4 kB / 0.9325 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.06388/1.405, allocations: 13.68 MB / 0.9458 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/1.405, allocations: 226.9 kB / 0.946 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/1.408, allocations: 1.007 MB / 0.947 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005159/1.408, allocations: 49.7 kB / 0.9471 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.409, allocations: 0.7361 MB / 0.9478 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.411, allocations: 0.5121 MB / 0.9483 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/1.411, allocations: 28 kB / 0.9483 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003729/1.411, allocations: 365.9 kB / 0.9487 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/1.416, allocations: 1.129 MB / 0.9498 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004877/1.421, allocations: 1.403 MB / 0.9511 GB, free: 456 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/1.426, allocations: 1.246 MB / 0.9524 GB, free: 15.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/1.426, allocations: 11.92 kB / 0.9524 GB, free: 15.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02681/1.453, allocations: 4.575 MB / 0.9568 GB, free: 10.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/1.453, allocations: 8 kB / 0.9568 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.453, allocations: 11.98 kB / 0.9569 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02185/1.475, allocations: 2.128 MB / 0.9589 GB, free: 8.406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004764/1.48, allocations: 415.3 kB / 0.9593 GB, free: 8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06162/1.541, allocations: 22.49 MB / 0.9813 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/1.544, allocations: 327.5 kB / 0.9816 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/1.545, allocations: 63.97 kB / 0.9817 GB, free: 60 kB / 0.7136 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.0005426/1.545, allocations: 176.8 kB / 0.9818 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006416/1.546, allocations: 185.9 kB / 0.982 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/1.56, allocations: 4.653 MB / 0.9866 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.56, allocations: 12 kB / 0.9866 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.833e-05/1.56, allocations: 20 kB / 0.9866 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/1.561, allocations: 8.156 kB / 0.9866 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/1.58, allocations: 6.899 MB / 0.9933 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.58, allocations: 4 kB / 0.9933 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.582, allocations: 359.6 kB / 0.9937 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/1.593, allocations: 1.99 MB / 0.9956 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/1.593, allocations: 47.92 kB / 0.9957 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0562/1.649, allocations: 21.67 MB / 1.017 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/1.649, allocations: 3.938 kB / 1.017 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/1.67, allocations: 4.415 MB / 1.021 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/1.672, allocations: 0.5143 MB / 1.022 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/1.672, allocations: 28 kB / 1.022 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.675, allocations: 335.5 kB / 1.022 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/1.676, allocations: 141 kB / 1.022 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/1.676, allocations: 59.92 kB / 1.022 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00162/1.678, allocations: 0.7807 MB / 1.023 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.069e-06/1.678, allocations: 0 / 1.023 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003104/1.681, allocations: 0.7226 MB / 1.024 GB, free: 3.617 MB / 0.7605 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.0006427/1.682, allocations: 223 kB / 1.024 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.692, allocations: 4.339 MB / 1.028 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.161e-06/1.692, allocations: 3.938 kB / 1.028 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007367/1.7, allocations: 2.951 MB / 1.031 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.703, allocations: 0.4991 MB / 1.031 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/1.712, allocations: 3.18 MB / 1.035 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.714, allocations: 1.596 MB / 1.036 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002548/1.717, allocations: 398.7 kB / 1.037 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/1.717, allocations: 119.4 kB / 1.037 GB, free: 6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.834e-06/1.717, allocations: 0 / 1.037 GB, free: 6 MB / 0.7761 GB Notification: Performance of Templates: time 0.1331/1.85, allocations: 44.29 MB / 1.08 GB, free: 10.04 MB / 0.823 GB