Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01037/0.01037, allocations: 89.2 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001188/0.001188, allocations: 168.7 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.149/2.149, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.298/2.298, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005155, allocations: 15.44 kB / 0.6243 GB, free: 28.22 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2148, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02771/0.2425, allocations: 12.49 MB / 0.7403 GB, free: 13.61 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.2637, allocations: 9.454 MB / 0.7495 GB, free: 4.129 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2652, allocations: 47.62 kB / 0.7495 GB, free: 4.082 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.2663, allocations: 266.2 kB / 0.7498 GB, free: 3.82 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.2725, allocations: 1.454 MB / 0.7512 GB, free: 2.367 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.275, allocations: 0.5262 MB / 0.7517 GB, free: 1.84 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004607/0.2796, allocations: 1.753 MB / 0.7534 GB, free: 88 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004727/0.2844, allocations: 1.794 MB / 0.7552 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.2874, allocations: 1.196 MB / 0.7564 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.2896, allocations: 0.8522 MB / 0.7572 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.29, allocations: 72 kB / 0.7573 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2915, allocations: 383.5 kB / 0.7576 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0006913/0.2922, allocations: 466.5 kB / 0.7581 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005593/0.2927, allocations: 356.8 kB / 0.7584 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.2961, allocations: 2.084 MB / 0.7605 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2962, allocations: 0 / 0.7605 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2962, allocations: 0 / 0.7605 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.453e-05/0.2962, allocations: 0 / 0.7605 GB, free: 8.844 MB / 0.5886 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.005358/0.3016, allocations: 1.835 MB / 0.7622 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3017, allocations: 12.03 kB / 0.7623 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004887/0.3022, allocations: 194.2 kB / 0.7624 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/0.3229, allocations: 2.186 MB / 0.7646 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.3271, allocations: 1.163 MB / 0.7657 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.3272, allocations: 98.2 kB / 0.7658 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004637/0.3277, allocations: 119.9 kB / 0.7659 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.3381, allocations: 2.671 MB / 0.7685 GB, free: 304 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.577e-05/0.3382, allocations: 11.94 kB / 0.7685 GB, free: 292 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/0.3385, allocations: 55.97 kB / 0.7686 GB, free: 236 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/0.3397, allocations: 194.1 kB / 0.7688 GB, free: 40 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.3545, allocations: 2.838 MB / 0.7716 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.3806, allocations: 10.55 MB / 0.7819 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.3931, allocations: 2.387 MB / 0.7842 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.3933, allocations: 13 kB / 0.7842 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.3934, allocations: 55.42 kB / 0.7843 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=89): time 4.058e-06/0.3934, allocations: 0 / 0.7843 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=153): time 0.1109/0.5043, allocations: 16.49 MB / 0.8004 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.5044, allocations: 68.72 kB / 0.8004 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.5067, allocations: 1.164 MB / 0.8016 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003733/0.5071, allocations: 53.7 kB / 0.8016 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007664/0.5079, allocations: 0.7436 MB / 0.8023 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007815/0.5087, allocations: 0.512 MB / 0.8028 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.5089, allocations: 32 kB / 0.8029 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5091, allocations: 365.9 kB / 0.8032 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006556/0.5157, allocations: 1.518 MB / 0.8047 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/0.5227, allocations: 1.791 MB / 0.8065 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.5299, allocations: 1.642 MB / 0.8081 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.5299, allocations: 4 kB / 0.8081 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02511/0.5551, allocations: 5.292 MB / 0.8132 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.5551, allocations: 8 kB / 0.8132 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.5552, allocations: 8 kB / 0.8132 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/0.5677, allocations: 1.892 MB / 0.8151 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/0.5715, allocations: 427.2 kB / 0.8155 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04734/0.6189, allocations: 22.85 MB / 0.8378 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/0.6235, allocations: 319.6 kB / 0.8381 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/0.6238, allocations: 67.95 kB / 0.8382 GB, free: 6.914 MB / 0.6667 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.001428/0.6252, allocations: 465.5 kB / 0.8386 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006454/0.6259, allocations: 173.9 kB / 0.8388 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/0.6519, allocations: 5.344 MB / 0.844 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/0.652, allocations: 12 kB / 0.844 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001534/0.6522, allocations: 20 kB / 0.844 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/0.6523, allocations: 11.91 kB / 0.844 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7795/1.432, allocations: 7.447 MB / 0.8513 GB, free: 109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/1.432, allocations: 9.641 kB / 0.8513 GB, free: 109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004929/1.437, allocations: 366.1 kB / 0.8517 GB, free: 109 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/1.448, allocations: 1.696 MB / 0.8533 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004407/1.449, allocations: 44.14 kB / 0.8534 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04274/1.491, allocations: 22.05 MB / 0.8749 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/1.491, allocations: 2.344 kB / 0.8749 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02216/1.514, allocations: 5.066 MB / 0.8799 GB, free: 92.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.515, allocations: 493.4 kB / 0.8803 GB, free: 92.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000666/1.516, allocations: 32.55 kB / 0.8804 GB, free: 92.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.52, allocations: 331.1 kB / 0.8807 GB, free: 92 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009425/1.521, allocations: 148.4 kB / 0.8808 GB, free: 91.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/1.522, allocations: 52.95 kB / 0.8809 GB, free: 91.97 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001718/1.523, allocations: 0.7779 MB / 0.8816 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.61e-07/1.523, allocations: 3.062 kB / 0.8816 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003771/1.527, allocations: 0.6577 MB / 0.8823 GB, free: 91.59 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.0225/1.55, allocations: 6.399 MB / 0.8885 GB, free: 88.01 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.569, allocations: 5.183 MB / 0.8936 GB, free: 84.85 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.569, allocations: 0 / 0.8936 GB, free: 84.85 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01164/1.58, allocations: 3.36 MB / 0.8969 GB, free: 82.61 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.584, allocations: 0.5004 MB / 0.8974 GB, free: 82.38 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06969/1.654, allocations: 20.6 MB / 0.9175 GB, free: 61.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/1.656, allocations: 1.606 MB / 0.919 GB, free: 60.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004234/1.661, allocations: 385.7 kB / 0.9194 GB, free: 59.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/1.663, allocations: 0.6633 MB / 0.9201 GB, free: 59.16 MB / 0.6667 GB Notification: Performance of SimCode: time 2.094e-06/1.663, allocations: 0 / 0.9201 GB, free: 59.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/1.814, allocations: 56.14 MB / 0.9749 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/1.814, allocations: 235 kB / 0.9751 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.674/6.488, allocations: 4 kB / 0.9751 GB, free: 3.328 MB / 0.6667 GB