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.01127/0.01127, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001224/0.001224, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.011/2.011, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.477/2.477, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004884, allocations: 8 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6631, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02058/0.6838, allocations: 12.49 MB / 0.6956 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.7047, allocations: 9.43 MB / 0.7048 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.7069, allocations: 54.44 kB / 0.7049 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.7084, allocations: 266 kB / 0.7051 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.007016/0.7155, allocations: 1.457 MB / 0.7066 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.7183, allocations: 0.5214 MB / 0.7071 GB, free: 188 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005118/0.7234, allocations: 1.753 MB / 0.7088 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005463/0.729, allocations: 1.811 MB / 0.7106 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.7327, allocations: 1.194 MB / 0.7117 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.7356, allocations: 0.8556 MB / 0.7126 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.7363, allocations: 69.66 kB / 0.7126 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.7387, allocations: 386.6 kB / 0.713 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.7399, allocations: 466.3 kB / 0.7134 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009867/0.7409, allocations: 357.5 kB / 0.7138 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.7455, allocations: 2.077 MB / 0.7158 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7456, allocations: 4 kB / 0.7158 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7456, allocations: 0 / 0.7158 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.71e-05/0.7457, allocations: 0 / 0.7158 GB, free: 10.69 MB / 0.5417 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.006515/0.7523, allocations: 1.844 MB / 0.7176 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.7523, allocations: 12.97 kB / 0.7176 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008545/0.7532, allocations: 194.7 kB / 0.7178 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.775, allocations: 2.188 MB / 0.7199 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/0.7796, allocations: 1.163 MB / 0.7211 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.7798, allocations: 93.23 kB / 0.7212 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000696/0.7805, allocations: 117.9 kB / 0.7213 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.792, allocations: 2.676 MB / 0.7239 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.704e-05/0.7922, allocations: 8 kB / 0.7239 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.7925, allocations: 63.84 kB / 0.724 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00128/0.7938, allocations: 194.1 kB / 0.7241 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/0.8091, allocations: 2.834 MB / 0.7269 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/0.8352, allocations: 10.56 MB / 0.7372 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/0.8478, allocations: 2.387 MB / 0.7396 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.848, allocations: 9 kB / 0.7396 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.8481, allocations: 47.56 kB / 0.7396 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=89): time 3.597e-06/0.8481, allocations: 0 / 0.7396 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of matching and sorting (n=153): time 0.1147/0.9628, allocations: 16.5 MB / 0.7557 GB, free: 3.184 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.9629, allocations: 72.72 kB / 0.7558 GB, free: 3.102 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.9653, allocations: 1.16 MB / 0.7569 GB, free: 1.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000412/0.9657, allocations: 49.7 kB / 0.757 GB, free: 1.875 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.9665, allocations: 0.7436 MB / 0.7577 GB, free: 1.125 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/0.9674, allocations: 0.5121 MB / 0.7582 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.9676, allocations: 28 kB / 0.7582 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9678, allocations: 365.9 kB / 0.7586 GB, free: 220 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00678/0.9746, allocations: 1.53 MB / 0.7601 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007025/0.9817, allocations: 1.784 MB / 0.7618 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.9888, allocations: 1.65 MB / 0.7634 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.9889, allocations: 0 / 0.7634 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02565/1.015, allocations: 5.297 MB / 0.7686 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.015, allocations: 12 kB / 0.7686 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.015, allocations: 8 kB / 0.7686 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/1.028, allocations: 1.888 MB / 0.7705 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/1.032, allocations: 431.3 kB / 0.7709 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04941/1.081, allocations: 22.86 MB / 0.7932 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/1.086, allocations: 311.5 kB / 0.7935 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003953/1.086, allocations: 68.03 kB / 0.7936 GB, free: 11.18 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.001405/1.088, allocations: 461.4 kB / 0.794 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.088, allocations: 173.9 kB / 0.7942 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02571/1.114, allocations: 5.351 MB / 0.7994 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/1.114, allocations: 20 kB / 0.7994 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.646e-05/1.114, allocations: 20 kB / 0.7994 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/1.114, allocations: 3.984 kB / 0.7994 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03139/1.146, allocations: 7.449 MB / 0.8067 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.146, allocations: 4 kB / 0.8067 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003401/1.149, allocations: 367.7 kB / 0.8071 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/1.161, allocations: 1.691 MB / 0.8087 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/1.161, allocations: 47.97 kB / 0.8088 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04668/1.208, allocations: 22.05 MB / 0.8303 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.208, allocations: 4 kB / 0.8303 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02363/1.232, allocations: 5.078 MB / 0.8353 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/1.234, allocations: 494.8 kB / 0.8357 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007765/1.234, allocations: 32 kB / 0.8358 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004646/1.239, allocations: 331.5 kB / 0.8361 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008534/1.24, allocations: 150 kB / 0.8362 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/1.24, allocations: 59.95 kB / 0.8363 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002382/1.243, allocations: 0.7743 MB / 0.837 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/1.243, allocations: 0 / 0.837 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004795/1.248, allocations: 0.6562 MB / 0.8377 GB, free: 12.56 MB / 0.6667 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.03278/1.28, allocations: 6.382 MB / 0.8439 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02758/1.308, allocations: 5.195 MB / 0.849 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.308, allocations: 0 / 0.849 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01687/1.325, allocations: 3.363 MB / 0.8523 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.329, allocations: 499.3 kB / 0.8527 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0644/1.393, allocations: 20.6 MB / 0.8729 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/1.395, allocations: 1.603 MB / 0.8744 GB, free: 5.816 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002903/1.398, allocations: 378.4 kB / 0.8748 GB, free: 5.441 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.4, allocations: 0.6633 MB / 0.8754 GB, free: 4.777 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/1.4, allocations: 0 / 0.8754 GB, free: 4.777 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7489/2.149, allocations: 56.15 MB / 0.9303 GB, free: 201.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/2.149, allocations: 227.3 kB / 0.9305 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/6.515, allocations: 3.125 kB / 0.9305 GB, free: 200.9 MB / 0.7292 GB