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_L_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_L_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.228/4.228, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.689e-05, allocations: 4.125 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8484/1.069, allocations: 157.6 MB / 0.7886 GB, free: 58.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/1.069, allocations: 93.09 kB / 0.7887 GB, free: 58.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7776/1.847, allocations: 199.2 MB / 0.9832 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/1.847, allocations: 0 / 0.9832 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004895/1.848, allocations: 131.9 kB / 0.9834 GB, free: 14.42 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02136/1.869, allocations: 4.454 MB / 0.9877 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.636e-05/1.869, allocations: 8.031 kB / 0.9877 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004585/1.874, allocations: 0.8049 MB / 0.9885 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/1.885, allocations: 1.055 MB / 0.9895 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/1.899, allocations: 3.395 MB / 0.9929 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006695/1.9, allocations: 411.1 kB / 0.9932 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003012/1.903, allocations: 0.5388 MB / 0.9938 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04004/1.943, allocations: 8.488 MB / 1.002 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/1.943, allocations: 23.78 kB / 1.002 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002236/1.946, allocations: 248 kB / 1.002 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008322/1.947, allocations: 318.7 kB / 1.003 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/1.976, allocations: 6.039 MB / 1.009 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07511/2.051, allocations: 40.11 MB / 1.048 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006921/2.058, allocations: 3.061 MB / 1.051 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/2.063, allocations: 1.96 MB / 1.053 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/2.063, allocations: 18 kB / 1.053 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/2.063, allocations: 56.5 kB / 1.053 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=179): time 5.07e-06/2.063, allocations: 0 / 1.053 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of matching and sorting (n=182): time 0.01864/2.082, allocations: 6.028 MB / 1.059 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/2.082, allocations: 73.41 kB / 1.059 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/2.085, allocations: 1.287 MB / 1.06 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004977/2.085, allocations: 53.7 kB / 1.06 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/2.088, allocations: 2.242 MB / 1.062 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/2.089, allocations: 0.6238 MB / 1.063 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/2.089, allocations: 44 kB / 1.063 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002667/2.089, allocations: 398.3 kB / 1.063 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/2.092, allocations: 1.152 MB / 1.064 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/2.096, allocations: 1.819 MB / 1.066 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/2.1, allocations: 1.505 MB / 1.068 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/2.1, allocations: 4 kB / 1.068 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01395/2.114, allocations: 4.5 MB / 1.072 GB, free: 14.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/2.114, allocations: 12 kB / 1.072 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.327e-05/2.114, allocations: 24 kB / 1.072 GB, free: 14.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007027/2.121, allocations: 1.572 MB / 1.073 GB, free: 13.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/2.124, allocations: 355.3 kB / 1.074 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6412/2.765, allocations: 16.98 MB / 1.09 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/2.768, allocations: 119.6 kB / 1.091 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004573/2.769, allocations: 93.44 kB / 1.091 GB, free: 181.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005673/2.769, allocations: 231.6 kB / 1.091 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/2.77, allocations: 231.4 kB / 1.091 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/2.783, allocations: 4.047 MB / 1.095 GB, free: 180.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/2.783, allocations: 18.66 kB / 1.095 GB, free: 180.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.659e-05/2.784, allocations: 16.97 kB / 1.095 GB, free: 180.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-05/2.784, allocations: 8.812 kB / 1.095 GB, free: 180.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02967/2.813, allocations: 9.366 MB / 1.104 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/2.813, allocations: 4.875 kB / 1.104 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/2.815, allocations: 193 kB / 1.104 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00648/2.822, allocations: 1.344 MB / 1.106 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004216/2.822, allocations: 35.09 kB / 1.106 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/2.853, allocations: 15.88 MB / 1.121 GB, free: 174.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/2.853, allocations: 9.344 kB / 1.121 GB, free: 174.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/2.864, allocations: 4.314 MB / 1.125 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.866, allocations: 0.53 MB / 1.126 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008301/2.867, allocations: 37.47 kB / 1.126 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/2.869, allocations: 88.92 kB / 1.126 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007886/2.87, allocations: 159.6 kB / 1.126 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/2.87, allocations: 49.38 kB / 1.126 GB, free: 173.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002177/2.873, allocations: 0.9688 MB / 1.127 GB, free: 173.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.112e-06/2.873, allocations: 2.062 kB / 1.127 GB, free: 173.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005979/2.879, allocations: 1.036 MB / 1.128 GB, free: 173.5 MB / 0.823 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/2.891, allocations: 6.075 MB / 1.134 GB, free: 170.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01103/2.902, allocations: 4.18 MB / 1.138 GB, free: 170.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.902, allocations: 0 / 1.138 GB, free: 170.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007633/2.909, allocations: 2.618 MB / 1.141 GB, free: 169.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/2.915, allocations: 0.6762 MB / 1.141 GB, free: 169.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/2.941, allocations: 8.274 MB / 1.15 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007809/2.948, allocations: 3.657 MB / 1.153 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002684/2.951, allocations: 470.2 kB / 1.154 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003653/2.955, allocations: 1.79 MB / 1.155 GB, free: 167.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/2.955, allocations: 0 / 1.155 GB, free: 167.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2013/3.156, allocations: 71.85 MB / 1.225 GB, free: 158.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/3.157, allocations: 196.9 kB / 1.226 GB, free: 158.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.32/7.477, allocations: 0 / 1.226 GB, free: 158.5 MB / 0.823 GB