Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.999/3.999, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.108e-05, allocations: 5.094 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2182, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8776/1.096, allocations: 182.9 MB / 0.8133 GB, free: 46.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.096, allocations: 91.36 kB / 0.8134 GB, free: 46.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4124/1.509, allocations: 113.2 MB / 0.9239 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.134e-06/1.509, allocations: 0 / 0.9239 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002947/1.509, allocations: 75.91 kB / 0.924 GB, free: 6.055 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01151/1.521, allocations: 2.671 MB / 0.9266 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.521, allocations: 8.031 kB / 0.9266 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002091/1.523, allocations: 454.3 kB / 0.9271 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006908/1.53, allocations: 0.6635 MB / 0.9277 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007795/1.538, allocations: 2.062 MB / 0.9297 GB, free: 116 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/1.538, allocations: 229.1 kB / 0.9299 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/1.539, allocations: 287.8 kB / 0.9302 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/1.556, allocations: 4.564 MB / 0.9347 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/1.556, allocations: 19.83 kB / 0.9347 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009999/1.557, allocations: 131.3 kB / 0.9348 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003103/1.557, allocations: 169.8 kB / 0.935 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/1.569, allocations: 3.349 MB / 0.9382 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03894/1.608, allocations: 21.59 MB / 0.9593 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/1.611, allocations: 1.269 MB / 0.9606 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/1.614, allocations: 1.03 MB / 0.9616 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.614, allocations: 13 kB / 0.9616 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/1.614, allocations: 51.56 kB / 0.9616 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=107): time 3.767e-06/1.614, allocations: 0 / 0.9616 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138): time 0.03358/1.648, allocations: 6.652 MB / 0.9681 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.648, allocations: 68.72 kB / 0.9682 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.65, allocations: 0.9575 MB / 0.9691 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003132/1.65, allocations: 45.7 kB / 0.9692 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/1.652, allocations: 1.304 MB / 0.9704 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007959/1.652, allocations: 480.9 kB / 0.9709 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/1.653, allocations: 32 kB / 0.9709 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.653, allocations: 377.9 kB / 0.9713 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/1.655, allocations: 0.859 MB / 0.9721 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/1.659, allocations: 1.323 MB / 0.9734 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.662, allocations: 1.098 MB / 0.9745 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.662, allocations: 8 kB / 0.9745 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01042/1.672, allocations: 3.374 MB / 0.9778 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/1.672, allocations: 12 kB / 0.9778 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/1.672, allocations: 16 kB / 0.9778 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/1.678, allocations: 1.134 MB / 0.9789 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/1.68, allocations: 267.5 kB / 0.9792 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02698/1.707, allocations: 12.45 MB / 0.9914 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.709, allocations: 87.92 kB / 0.9914 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/1.709, allocations: 64.38 kB / 0.9915 GB, free: 14.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004642/1.71, allocations: 212.4 kB / 0.9917 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/1.71, allocations: 158.1 kB / 0.9918 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009842/1.72, allocations: 3.083 MB / 0.9949 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/1.72, allocations: 19.94 kB / 0.9949 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/1.72, allocations: 12 kB / 0.9949 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/1.72, allocations: 7.969 kB / 0.9949 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.739, allocations: 6.099 MB / 1.001 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/1.739, allocations: 8 kB / 1.001 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.74, allocations: 143.8 kB / 1.001 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/1.745, allocations: 1.023 MB / 1.002 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/1.746, allocations: 32 kB / 1.002 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02567/1.771, allocations: 12.13 MB / 1.014 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.771, allocations: 11.89 kB / 1.014 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009359/1.781, allocations: 3.328 MB / 1.017 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.782, allocations: 415 kB / 1.018 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/1.783, allocations: 32 kB / 1.018 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.784, allocations: 75.89 kB / 1.018 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005088/1.785, allocations: 124.7 kB / 1.018 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.785, allocations: 36 kB / 1.018 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001715/1.787, allocations: 0.7339 MB / 1.019 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.11e-07/1.787, allocations: 0 / 1.019 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003595/1.791, allocations: 0.6679 MB / 1.019 GB, free: 0.9531 MB / 0.7605 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/1.801, allocations: 5.102 MB / 1.024 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00835/1.809, allocations: 3.014 MB / 1.027 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.809, allocations: 8.062 kB / 1.027 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005522/1.815, allocations: 1.892 MB / 1.029 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.819, allocations: 428.5 kB / 1.029 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.835, allocations: 5.093 MB / 1.034 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004142/1.839, allocations: 2.394 MB / 1.037 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002038/1.841, allocations: 346.1 kB / 1.037 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002281/1.843, allocations: 0.9913 MB / 1.038 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of SimCode: time 1.693e-06/1.843, allocations: 0 / 1.038 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/2.004, allocations: 48.73 MB / 1.086 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/2.004, allocations: 202 kB / 1.086 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/5.692, allocations: 4 kB / 1.086 GB, free: 12.75 MB / 0.8386 GB