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.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.01887/0.01887, allocations: 225.4 kB / 15.18 MB, free: 5.922 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.001855/0.001854, allocations: 176.9 kB / 16.06 MB, free: 5.832 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 4.305/4.305, allocations: 389 MB / 405.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.332/4.332, allocations: 472.3 MB / 0.9018 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005299/0.0005302, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1981, allocations: 98.74 MB / 1.104 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01893/0.2171, allocations: 13.23 MB / 1.117 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.2354, allocations: 9.672 MB / 1.127 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.2373, allocations: 51.62 kB / 1.127 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.2388, allocations: 258 kB / 1.127 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006135/0.245, allocations: 1.464 MB / 1.128 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.2475, allocations: 0.5048 MB / 1.129 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005147/0.2526, allocations: 2.911 MB / 1.132 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.2573, allocations: 1.802 MB / 1.133 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.2602, allocations: 1.268 MB / 1.135 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.2627, allocations: 1.044 MB / 1.136 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.2631, allocations: 68 kB / 1.136 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.265, allocations: 439.2 kB / 1.136 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000752/0.2658, allocations: 498.3 kB / 1.137 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005987/0.2664, allocations: 352.8 kB / 1.137 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.27, allocations: 2.127 MB / 1.139 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.27, allocations: 0 / 1.139 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.066e-06/0.27, allocations: 3.562 kB / 1.139 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.961e-05/0.2702, allocations: 0 / 1.139 GB, free: 6.359 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005307/0.2755, allocations: 1.863 MB / 1.141 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2755, allocations: 8.031 kB / 1.141 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005787/0.2761, allocations: 197.7 kB / 1.141 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/0.2971, allocations: 2.212 MB / 1.143 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.3013, allocations: 1.17 MB / 1.144 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.253e-05/0.3014, allocations: 85.12 kB / 1.144 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.3019, allocations: 119.8 kB / 1.144 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.3128, allocations: 2.688 MB / 1.147 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/0.3129, allocations: 11.94 kB / 1.147 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.3132, allocations: 51.98 kB / 1.147 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.3145, allocations: 198.1 kB / 1.147 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.33, allocations: 2.83 MB / 1.15 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6176/0.9476, allocations: 10.56 MB / 1.16 GB, free: 78.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.9607, allocations: 2.379 MB / 1.163 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006437/0.9672, allocations: 1.298 MB / 1.164 GB, free: 78.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.9674, allocations: 11.94 kB / 1.164 GB, free: 78.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.9675, allocations: 43.19 kB / 1.164 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=89): time 3.977e-06/0.9675, allocations: 0 / 1.164 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=153): time 0.1145/1.082, allocations: 16.51 MB / 1.18 GB, free: 75.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.082, allocations: 67.94 kB / 1.18 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/1.084, allocations: 1.164 MB / 1.181 GB, free: 75.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004074/1.084, allocations: 55.3 kB / 1.181 GB, free: 75.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/1.085, allocations: 0.7377 MB / 1.182 GB, free: 74.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007077/1.086, allocations: 0.5134 MB / 1.183 GB, free: 74.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/1.086, allocations: 30.12 kB / 1.183 GB, free: 74.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.086, allocations: 370.2 kB / 1.183 GB, free: 74.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00632/1.093, allocations: 1.521 MB / 1.185 GB, free: 73.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/1.099, allocations: 1.797 MB / 1.186 GB, free: 72.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006645/1.106, allocations: 1.64 MB / 1.188 GB, free: 72.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.106, allocations: 6.062 kB / 1.188 GB, free: 72.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02404/1.13, allocations: 5.296 MB / 1.193 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.13, allocations: 6.594 kB / 1.193 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.13, allocations: 9.625 kB / 1.193 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/1.143, allocations: 1.896 MB / 1.195 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/1.147, allocations: 424.2 kB / 1.195 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04327/1.19, allocations: 22.13 MB / 1.217 GB, free: 54.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/1.195, allocations: 320.7 kB / 1.217 GB, free: 54.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/1.195, allocations: 65.72 kB / 1.217 GB, free: 54.56 MB / 0.6198 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001317/1.196, allocations: 471.4 kB / 1.218 GB, free: 54.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/1.197, allocations: 177.3 kB / 1.218 GB, free: 54.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02372/1.221, allocations: 5.335 MB / 1.223 GB, free: 51.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.221, allocations: 23.52 kB / 1.223 GB, free: 51.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-05/1.221, allocations: 20.38 kB / 1.223 GB, free: 51.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.221, allocations: 7.969 kB / 1.223 GB, free: 51.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02962/1.251, allocations: 7.457 MB / 1.23 GB, free: 46.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.251, allocations: 2.656 kB / 1.23 GB, free: 46.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/1.254, allocations: 368.1 kB / 1.231 GB, free: 46.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/1.265, allocations: 1.7 MB / 1.232 GB, free: 45.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/1.265, allocations: 42.19 kB / 1.233 GB, free: 45.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03663/1.302, allocations: 21.35 MB / 1.253 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.302, allocations: 0.6562 kB / 1.253 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/1.323, allocations: 4.914 MB / 1.258 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.325, allocations: 498.8 kB / 1.259 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/1.325, allocations: 27.28 kB / 1.259 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/1.329, allocations: 330.2 kB / 1.259 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006375/1.33, allocations: 149.8 kB / 1.259 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.33, allocations: 55.97 kB / 1.259 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001372/1.332, allocations: 0.7826 MB / 1.26 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.493e-06/1.332, allocations: 0 / 1.26 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003031/1.335, allocations: 0.6601 MB / 1.261 GB, free: 17.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02106/1.356, allocations: 5.5 MB / 1.266 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01873/1.375, allocations: 5.176 MB / 1.271 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.375, allocations: 4 kB / 1.271 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01164/1.386, allocations: 3.371 MB / 1.274 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/1.39, allocations: 0.5144 MB / 1.275 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06026/1.451, allocations: 16.14 MB / 1.291 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/1.453, allocations: 1.606 MB / 1.292 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003881/1.457, allocations: 393.8 kB / 1.293 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002322/1.459, allocations: 0.6555 MB / 1.293 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.513e-06/1.459, allocations: 0 / 1.293 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.239/1.698, allocations: 56.18 MB / 1.348 GB, free: 7.648 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/1.699, allocations: 246 kB / 1.348 GB, free: 7.406 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.692/6.391, allocations: 7.438 kB / 1.348 GB, free: 7.402 MB / 0.698 GB