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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.196/4.196, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.965e-05, allocations: 4.812 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9037/1.123, allocations: 156.9 MB / 0.7822 GB, free: 61.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/1.123, allocations: 92.66 kB / 0.7822 GB, free: 61.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7732/1.896, allocations: 198.4 MB / 0.976 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/1.897, allocations: 0 / 0.976 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005027/1.897, allocations: 143.9 kB / 0.9761 GB, free: 10.31 MB / 0.7136 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.02025/1.917, allocations: 4.449 MB / 0.9805 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.917, allocations: 8.031 kB / 0.9805 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/1.928, allocations: 1.055 MB / 0.9815 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/1.941, allocations: 3.403 MB / 0.9848 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/1.942, allocations: 176 kB / 0.985 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/1.944, allocations: 331.8 kB / 0.9853 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01963/1.964, allocations: 5.442 MB / 0.9906 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/1.994, allocations: 7.674 MB / 0.9981 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003641/1.995, allocations: 31.77 kB / 0.9981 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002152/1.997, allocations: 12 kB / 0.9981 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006229/1.997, allocations: 318.7 kB / 0.9985 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07072/2.068, allocations: 38.95 MB / 1.036 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/2.075, allocations: 3.019 MB / 1.039 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004502/2.079, allocations: 1.891 MB / 1.041 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/2.08, allocations: 18 kB / 1.041 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/2.08, allocations: 52.56 kB / 1.041 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=179): time 5.31e-06/2.08, allocations: 0 / 1.041 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of matching and sorting (n=182): time 0.01749/2.097, allocations: 5.795 MB / 1.047 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/2.097, allocations: 73.41 kB / 1.047 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/2.1, allocations: 1.089 MB / 1.048 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004229/2.1, allocations: 25.7 kB / 1.048 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/2.103, allocations: 2.252 MB / 1.05 GB, free: 9.785 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/2.104, allocations: 0.6004 MB / 1.051 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/2.104, allocations: 0 / 1.051 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003148/2.105, allocations: 398.3 kB / 1.051 GB, free: 8.781 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/2.109, allocations: 1.105 MB / 1.052 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/2.113, allocations: 1.768 MB / 1.054 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/2.117, allocations: 1.442 MB / 1.056 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.683e-05/2.117, allocations: 8 kB / 1.056 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01347/2.13, allocations: 4.224 MB / 1.06 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/2.13, allocations: 14.81 kB / 1.06 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/2.13, allocations: 28 kB / 1.06 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006718/2.137, allocations: 1.444 MB / 1.061 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/2.14, allocations: 351.4 kB / 1.061 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03643/2.176, allocations: 16.4 MB / 1.077 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/2.179, allocations: 75.89 kB / 1.078 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000485/2.18, allocations: 92 kB / 1.078 GB, free: 13.04 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.0005406/2.18, allocations: 168.2 kB / 1.078 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01135/2.191, allocations: 3.671 MB / 1.081 GB, free: 9.168 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009718/2.193, allocations: 213.5 kB / 1.082 GB, free: 8.957 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/2.205, allocations: 3.845 MB / 1.085 GB, free: 5.082 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/2.205, allocations: 24 kB / 1.085 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-05/2.206, allocations: 19.98 kB / 1.085 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.495e-05/2.206, allocations: 11.91 kB / 1.085 GB, free: 5.027 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6184/2.824, allocations: 8.338 MB / 1.094 GB, free: 188.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/2.824, allocations: 5.031 kB / 1.094 GB, free: 188.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/2.826, allocations: 188 kB / 1.094 GB, free: 188.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006228/2.832, allocations: 1.327 MB / 1.095 GB, free: 188.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/2.833, allocations: 6.375 kB / 1.095 GB, free: 188.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03089/2.863, allocations: 15.31 MB / 1.11 GB, free: 183.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/2.864, allocations: 8.438 kB / 1.11 GB, free: 183.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/2.874, allocations: 4.156 MB / 1.114 GB, free: 182.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/2.876, allocations: 0.5088 MB / 1.115 GB, free: 182.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/2.876, allocations: 4.922 kB / 1.115 GB, free: 182.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/2.878, allocations: 64.81 kB / 1.115 GB, free: 182.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007099/2.879, allocations: 162.2 kB / 1.115 GB, free: 182.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/2.879, allocations: 51.02 kB / 1.115 GB, free: 182.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001664/2.881, allocations: 0.8065 MB / 1.116 GB, free: 182.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.51e-07/2.881, allocations: 0 / 1.116 GB, free: 182.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00504/2.886, allocations: 0.9274 MB / 1.117 GB, free: 182.4 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.01036/2.896, allocations: 5.875 MB / 1.122 GB, free: 179.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009523/2.906, allocations: 3.997 MB / 1.126 GB, free: 179.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.906, allocations: 0 / 1.126 GB, free: 179.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006703/2.913, allocations: 2.504 MB / 1.129 GB, free: 178.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/2.918, allocations: 0.6259 MB / 1.129 GB, free: 178.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/2.941, allocations: 8.103 MB / 1.137 GB, free: 177.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00723/2.948, allocations: 3.664 MB / 1.141 GB, free: 176.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002582/2.951, allocations: 453 kB / 1.141 GB, free: 176.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/2.955, allocations: 1.796 MB / 1.143 GB, free: 176.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.533e-06/2.955, allocations: 0 / 1.143 GB, free: 176.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1727/3.127, allocations: 68.29 MB / 1.21 GB, free: 173.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/3.128, allocations: 163 kB / 1.21 GB, free: 173.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/7.422, allocations: 0 / 1.21 GB, free: 173.5 MB / 0.823 GB