Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.01051/0.01051, allocations: 107.3 kB / 15.05 MB, free: 5.934 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.001171/0.001171, allocations: 181.1 kB / 15.94 MB, free: 5.898 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.988/1.988, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.207/2.207, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.000636, allocations: 8 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7076, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/1.011, allocations: 150.2 MB / 0.8301 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/1.011, allocations: 99.94 kB / 0.8302 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1528/1.164, allocations: 37.11 MB / 0.8664 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.966e-06/1.164, allocations: 0 / 0.8664 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.122e-05/1.164, allocations: 27.92 kB / 0.8665 GB, free: 2.246 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00276/1.167, allocations: 1.045 MB / 0.8675 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.167, allocations: 8.031 kB / 0.8675 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002738/1.167, allocations: 130.4 kB / 0.8676 GB, free: 1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/1.17, allocations: 234.7 kB / 0.8678 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.171, allocations: 0.547 MB / 0.8684 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/1.171, allocations: 46 kB / 0.8684 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/1.171, allocations: 75.97 kB / 0.8685 GB, free: 64 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/1.174, allocations: 1.134 MB / 0.8696 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/1.174, allocations: 4 kB / 0.8696 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.174, allocations: 28 kB / 0.8696 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/1.174, allocations: 61.23 kB / 0.8697 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/1.176, allocations: 0.7503 MB / 0.8704 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008893/1.185, allocations: 5.912 MB / 0.8762 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.187, allocations: 0.5516 MB / 0.8767 GB, free: 7.043 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/1.187, allocations: 4.438 kB / 0.8767 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/1.187, allocations: 38.94 kB / 0.8768 GB, free: 6.992 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/1.187, allocations: 4 kB / 0.8768 GB, free: 6.988 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.006789/1.194, allocations: 1.976 MB / 0.8787 GB, free: 4.918 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/1.194, allocations: 63.83 kB / 0.8788 GB, free: 4.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/1.195, allocations: 499.3 kB / 0.8792 GB, free: 4.348 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.721e-05/1.195, allocations: 33.7 kB / 0.8793 GB, free: 4.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/1.196, allocations: 403.1 kB / 0.8797 GB, free: 3.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/1.196, allocations: 169.6 kB / 0.8798 GB, free: 3.742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/1.196, allocations: 16 kB / 0.8798 GB, free: 3.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.196, allocations: 374.8 kB / 0.8802 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/1.197, allocations: 269.2 kB / 0.8804 GB, free: 3.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/1.198, allocations: 462.8 kB / 0.8809 GB, free: 2.555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008824/1.199, allocations: 338 kB / 0.8812 GB, free: 2.223 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.199, allocations: 7.938 kB / 0.8812 GB, free: 2.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003185/1.202, allocations: 1.056 MB / 0.8823 GB, free: 1.141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.202, allocations: 9.406 kB / 0.8823 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.202, allocations: 4 kB / 0.8823 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.204, allocations: 279.3 kB / 0.8825 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/1.205, allocations: 119.8 kB / 0.8826 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009759/1.214, allocations: 6.705 MB / 0.8892 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.215, allocations: 39.95 kB / 0.8892 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/1.216, allocations: 27.98 kB / 0.8893 GB, free: 9.422 MB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005869/1.216, allocations: 249.7 kB / 0.8895 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.216, allocations: 71.16 kB / 0.8896 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/1.219, allocations: 0.8964 MB / 0.8904 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.219, allocations: 8 kB / 0.8904 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.219, allocations: 4 kB / 0.8905 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.219, allocations: 0 / 0.8905 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/1.224, allocations: 1.713 MB / 0.8921 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.224, allocations: 4 kB / 0.8921 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/1.225, allocations: 63.89 kB / 0.8922 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/1.226, allocations: 267.4 kB / 0.8924 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.226, allocations: 19.92 kB / 0.8925 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/1.236, allocations: 6.685 MB / 0.899 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.237, allocations: 7.969 kB / 0.899 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/1.239, allocations: 1.044 MB / 0.9 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/1.24, allocations: 188.7 kB / 0.9002 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/1.24, allocations: 11.95 kB / 0.9002 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/1.241, allocations: 39.95 kB / 0.9002 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.241, allocations: 39.89 kB / 0.9003 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/1.241, allocations: 16 kB / 0.9003 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007373/1.242, allocations: 387.1 kB / 0.9007 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.11e-07/1.242, allocations: 0 / 0.9007 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001228/1.243, allocations: 236 kB / 0.9009 GB, free: 12.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/1.246, allocations: 2.024 MB / 0.9029 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003211/1.25, allocations: 1.263 MB / 0.9041 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.25, allocations: 0 / 0.9041 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/1.252, allocations: 0.8894 MB / 0.905 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.253, allocations: 196.6 kB / 0.9052 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5744/1.828, allocations: 8.318 MB / 0.9133 GB, free: 190 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/1.829, allocations: 1.025 MB / 0.9143 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008043/1.83, allocations: 119.3 kB / 0.9144 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/1.83, allocations: 253.7 kB / 0.9146 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.283e-06/1.83, allocations: 0.9375 kB / 0.9146 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06028/1.89, allocations: 16.38 MB / 0.9306 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.891, allocations: 222.1 kB / 0.9308 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.782, allocations: 1.25 kB / 0.9308 GB, free: 188.4 MB / 0.7292 GB