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_R_N.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01103/0.01103, allocations: 105.5 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001189/0.001189, allocations: 187.5 kB / 15.95 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.987/1.987, allocations: 194.6 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.222/2.222, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.6459, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/0.9203, allocations: 158.1 MB / 0.8378 GB, free: 12 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004038/0.9207, allocations: 96.02 kB / 0.8379 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.301/2.222, allocations: 202.2 MB / 1.035 GB, free: 111.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.607e-06/2.222, allocations: 7.984 kB / 1.035 GB, free: 111.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000478/2.223, allocations: 144 kB / 1.036 GB, free: 111.2 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02231/2.245, allocations: 5.242 MB / 1.041 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/2.245, allocations: 8.031 kB / 1.041 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004374/2.249, allocations: 0.8371 MB / 1.041 GB, free: 105 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/2.26, allocations: 1.148 MB / 1.043 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/2.273, allocations: 3.704 MB / 1.046 GB, free: 100.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005036/2.273, allocations: 427.6 kB / 1.047 GB, free: 99.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/2.276, allocations: 0.5468 MB / 1.047 GB, free: 99.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/2.305, allocations: 8.815 MB / 1.056 GB, free: 89.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/2.305, allocations: 27.73 kB / 1.056 GB, free: 89.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002427/2.308, allocations: 252 kB / 1.056 GB, free: 89.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/2.308, allocations: 299 kB / 1.056 GB, free: 89.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/2.328, allocations: 6.441 MB / 1.063 GB, free: 82.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06011/2.388, allocations: 41.46 MB / 1.103 GB, free: 37.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007041/2.396, allocations: 3.093 MB / 1.106 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/2.396, allocations: 29.92 kB / 1.106 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/2.396, allocations: 72.48 kB / 1.106 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=209): time 4.919e-06/2.396, allocations: 0 / 1.106 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=212): time 0.04024/2.436, allocations: 10.46 MB / 1.116 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/2.436, allocations: 73.41 kB / 1.116 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/2.439, allocations: 1.677 MB / 1.118 GB, free: 22.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004813/2.44, allocations: 65.64 kB / 1.118 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/2.441, allocations: 2.365 MB / 1.12 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009522/2.442, allocations: 0.7318 MB / 1.121 GB, free: 18.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/2.443, allocations: 48 kB / 1.121 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001685/2.443, allocations: 411.1 kB / 1.122 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/2.446, allocations: 1.317 MB / 1.123 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/2.449, allocations: 2.109 MB / 1.125 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/2.453, allocations: 1.681 MB / 1.127 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/2.453, allocations: 8 kB / 1.127 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01236/2.465, allocations: 4.975 MB / 1.131 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/2.465, allocations: 18.34 kB / 1.132 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.436e-05/2.466, allocations: 28.84 kB / 1.132 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00566/2.471, allocations: 1.536 MB / 1.133 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/2.475, allocations: 439.3 kB / 1.133 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03493/2.509, allocations: 17.68 MB / 1.151 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/2.513, allocations: 147.9 kB / 1.151 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006109/2.514, allocations: 108 kB / 1.151 GB, free: 3.496 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005975/2.52, allocations: 1.945 MB / 1.153 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/2.521, allocations: 288.7 kB / 1.153 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/2.535, allocations: 4.436 MB / 1.157 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/2.535, allocations: 24.08 kB / 1.157 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-05/2.535, allocations: 16 kB / 1.158 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.307e-05/2.535, allocations: 15.95 kB / 1.158 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/2.565, allocations: 9.633 MB / 1.167 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/2.565, allocations: 4 kB / 1.167 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/2.567, allocations: 240.4 kB / 1.167 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/2.573, allocations: 1.405 MB / 1.169 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004792/2.574, allocations: 48 kB / 1.169 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03746/2.611, allocations: 17.69 MB / 1.186 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/2.611, allocations: 7.938 kB / 1.186 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/2.624, allocations: 4.871 MB / 1.191 GB, free: 9.949 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/2.627, allocations: 0.6381 MB / 1.191 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000623/2.627, allocations: 39.95 kB / 1.191 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/2.63, allocations: 123.9 kB / 1.191 GB, free: 9.129 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007051/2.63, allocations: 177.6 kB / 1.192 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/2.63, allocations: 56 kB / 1.192 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002892/2.633, allocations: 1.26 MB / 1.193 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.01e-07/2.633, allocations: 4 kB / 1.193 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005506/2.639, allocations: 1.18 MB / 1.194 GB, free: 6.445 MB / 0.7917 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/2.653, allocations: 6.588 MB / 1.2 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01313/2.666, allocations: 4.607 MB / 1.205 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/2.666, allocations: 0 / 1.205 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008354/2.674, allocations: 2.935 MB / 1.208 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006202/2.681, allocations: 0.7589 MB / 1.209 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6633/3.344, allocations: 42.95 MB / 1.25 GB, free: 169.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/3.355, allocations: 3.782 MB / 1.254 GB, free: 169 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003959/3.359, allocations: 0.5385 MB / 1.255 GB, free: 169 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007693/3.367, allocations: 1.947 MB / 1.257 GB, free: 169 MB / 0.8073 GB Notification: Performance of SimCode: time 2.044e-06/3.367, allocations: 0 / 1.257 GB, free: 169 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/3.582, allocations: 81.21 MB / 1.336 GB, free: 155.4 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/3.582, allocations: 220.8 kB / 1.336 GB, free: 155.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.443/9.025, allocations: 0 / 1.336 GB, free: 155.2 MB / 0.8073 GB