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.01775/0.01775, allocations: 108.2 kB / 15.06 MB, free: 5.949 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.00134/0.00134, allocations: 185.6 kB / 15.95 MB, free: 5.902 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 2.061/2.061, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.315/2.315, allocations: 236.1 MB / 492.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.0006431, allocations: 8 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.6469, allocations: 98.7 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009221/0.6561, allocations: 5.782 MB / 0.6891 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006552/0.6627, allocations: 2.909 MB / 0.6919 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.6638, allocations: 24.16 kB / 0.6919 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.6643, allocations: 119.2 kB / 0.6921 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.6662, allocations: 422.8 kB / 0.6925 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.6681, allocations: 340.5 kB / 0.6928 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.6702, allocations: 0.7488 MB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.6727, allocations: 0.9296 MB / 0.6944 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.6738, allocations: 348.5 kB / 0.6948 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.6749, allocations: 405.8 kB / 0.6951 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.6751, allocations: 35.06 kB / 0.6952 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007678/0.6758, allocations: 146.6 kB / 0.6953 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.6763, allocations: 245.6 kB / 0.6955 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.6766, allocations: 181.7 kB / 0.6957 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.6785, allocations: 0.8653 MB / 0.6966 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6785, allocations: 1.125 kB / 0.6966 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6785, allocations: 0 / 0.6966 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.6786, allocations: 0 / 0.6966 GB, free: 8.863 MB / 0.5261 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.002856/0.6814, allocations: 1.006 MB / 0.6976 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6815, allocations: 9.844 kB / 0.6976 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003281/0.6818, allocations: 125.1 kB / 0.6977 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.684, allocations: 219.8 kB / 0.6979 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.6855, allocations: 0.5416 MB / 0.6984 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.6855, allocations: 47.42 kB / 0.6985 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6857, allocations: 69.23 kB / 0.6985 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.688, allocations: 1.069 MB / 0.6996 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.6881, allocations: 6.5 kB / 0.6996 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.6882, allocations: 33.23 kB / 0.6996 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/0.6885, allocations: 89.27 kB / 0.6997 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.6906, allocations: 0.7475 MB / 0.7004 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007355/0.6979, allocations: 5.898 MB / 0.7062 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6995, allocations: 0.5534 MB / 0.7067 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.035e-05/0.6996, allocations: 4.375 kB / 0.7067 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.6997, allocations: 38.66 kB / 0.7068 GB, free: 460 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.888e-06/0.6997, allocations: 0 / 0.7068 GB, free: 460 kB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.006525/0.7062, allocations: 1.982 MB / 0.7087 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.7063, allocations: 61.47 kB / 0.7088 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.7074, allocations: 0.5499 MB / 0.7093 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.7075, allocations: 40.03 kB / 0.7093 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.7079, allocations: 416.1 kB / 0.7097 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.7082, allocations: 176.6 kB / 0.7099 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.7082, allocations: 11.06 kB / 0.7099 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.7084, allocations: 377.8 kB / 0.7103 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007446/0.7092, allocations: 272.3 kB / 0.7105 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009428/0.7102, allocations: 492.5 kB / 0.711 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.7111, allocations: 342.9 kB / 0.7113 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.7111, allocations: 14.83 kB / 0.7113 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00321/0.7143, allocations: 1.069 MB / 0.7124 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.7144, allocations: 10.09 kB / 0.7124 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.7144, allocations: 14.3 kB / 0.7124 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.7159, allocations: 277.9 kB / 0.7127 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/0.7169, allocations: 121.3 kB / 0.7128 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009712/0.7266, allocations: 6.707 MB / 0.7193 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.7278, allocations: 38.3 kB / 0.7194 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.7279, allocations: 31.59 kB / 0.7194 GB, free: 6.055 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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.0005972/0.7285, allocations: 250.9 kB / 0.7196 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.7287, allocations: 73.12 kB / 0.7197 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.7314, allocations: 0.8841 MB / 0.7206 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7314, allocations: 5.719 kB / 0.7206 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.7314, allocations: 7.688 kB / 0.7206 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7315, allocations: 7.922 kB / 0.7206 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.7362, allocations: 1.72 MB / 0.7223 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.7362, allocations: 1.281 kB / 0.7223 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.7368, allocations: 68.56 kB / 0.7223 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.7382, allocations: 269.6 kB / 0.7226 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/0.7383, allocations: 8.062 kB / 0.7226 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009891/0.7482, allocations: 6.69 MB / 0.7291 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.7483, allocations: 4.125 kB / 0.7291 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.7512, allocations: 1.056 MB / 0.7302 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/0.7518, allocations: 192.2 kB / 0.7304 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.752, allocations: 15.94 kB / 0.7304 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/0.7527, allocations: 27.97 kB / 0.7304 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.7529, allocations: 43.94 kB / 0.7304 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.7529, allocations: 12 kB / 0.7305 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007234/0.7537, allocations: 387.1 kB / 0.7308 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7537, allocations: 4 kB / 0.7308 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001386/0.7551, allocations: 220 kB / 0.731 GB, free: 11.35 MB / 0.5573 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%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003231/0.7583, allocations: 2.021 MB / 0.733 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003278/0.7617, allocations: 1.271 MB / 0.7343 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.7617, allocations: 0 / 0.7343 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.7638, allocations: 0.8854 MB / 0.7351 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.7656, allocations: 196.9 kB / 0.7353 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.7782, allocations: 8.946 MB / 0.744 GB, free: 13.63 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.7791, allocations: 1.032 MB / 0.7451 GB, free: 12.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008182/0.78, allocations: 118 kB / 0.7452 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.7805, allocations: 255.3 kB / 0.7454 GB, free: 12.21 MB / 0.573 GB Notification: Performance of SimCode: time 9.92e-07/0.7805, allocations: 0 / 0.7454 GB, free: 12.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07432/0.8548, allocations: 16.33 MB / 0.7614 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/0.8552, allocations: 226.8 kB / 0.7616 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.815, allocations: 0 / 0.7616 GB, free: 11.84 MB / 0.5886 GB