Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.011/0.011, allocations: 108.4 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.001204/0.001204, allocations: 179.5 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.052/2.052, allocations: 194.6 MB / 211.3 MB, free: 10.94 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.394/2.394, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7236, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01344/0.7371, allocations: 8.743 MB / 0.692 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007717/0.7448, allocations: 3.065 MB / 0.695 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.7462, allocations: 24.19 kB / 0.695 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/0.7471, allocations: 183 kB / 0.6952 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.7497, allocations: 0.4894 MB / 0.6957 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.7523, allocations: 0.516 MB / 0.6962 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003696/0.7561, allocations: 1.443 MB / 0.6976 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.7625, allocations: 2.705 MB / 0.7002 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.7647, allocations: 0.8041 MB / 0.701 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.7673, allocations: 1 MB / 0.702 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.7679, allocations: 112.4 kB / 0.7021 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.7693, allocations: 224.2 kB / 0.7023 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.7709, allocations: 0.847 MB / 0.7031 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.7718, allocations: 388.1 kB / 0.7035 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.7763, allocations: 2.956 MB / 0.7064 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7764, allocations: 1.062 kB / 0.7064 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7764, allocations: 0 / 0.7064 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001175/0.7765, allocations: 0 / 0.7064 GB, free: 2.531 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006662/0.7832, allocations: 1.772 MB / 0.7081 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.7833, allocations: 12.56 kB / 0.7081 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001471/0.7848, allocations: 261.3 kB / 0.7084 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02055/0.8054, allocations: 1.438 MB / 0.7098 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005622/0.8111, allocations: 1.215 MB / 0.711 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.8113, allocations: 110.7 kB / 0.7111 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.8124, allocations: 145.7 kB / 0.7112 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.8233, allocations: 3.415 MB / 0.7145 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.706e-05/0.8234, allocations: 6.703 kB / 0.7145 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.8238, allocations: 62.53 kB / 0.7146 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004821/0.8243, allocations: 208 kB / 0.7148 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009546/0.8338, allocations: 3.12 MB / 0.7179 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03167/0.8656, allocations: 13.57 MB / 0.7311 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.8701, allocations: 1.725 MB / 0.7328 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.8703, allocations: 9 kB / 0.7328 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.8703, allocations: 43.56 kB / 0.7328 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=104): time 4.077e-06/0.8703, allocations: 0 / 0.7328 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=183): time 0.2877/1.158, allocations: 35.95 MB / 0.768 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/1.158, allocations: 73.41 kB / 0.768 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/1.161, allocations: 1.042 MB / 0.769 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006469/1.161, allocations: 53.7 kB / 0.7691 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008575/1.162, allocations: 0.7951 MB / 0.7699 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/1.164, allocations: 0.62 MB / 0.7705 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/1.165, allocations: 36 kB / 0.7705 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003824/1.165, allocations: 385.9 kB / 0.7709 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007797/1.173, allocations: 1.928 MB / 0.7728 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008779/1.182, allocations: 2.273 MB / 0.775 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009153/1.191, allocations: 2.215 MB / 0.7771 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/1.191, allocations: 0 / 0.7771 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.05859/1.25, allocations: 8.998 MB / 0.7859 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/1.25, allocations: 14.22 kB / 0.7859 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/1.25, allocations: 12 kB / 0.786 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0519/1.302, allocations: 4.969 MB / 0.7908 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.304, allocations: 191.6 kB / 0.791 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1172/1.422, allocations: 36.85 MB / 0.827 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.425, allocations: 107.8 kB / 0.8271 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005685/1.426, allocations: 71.98 kB / 0.8271 GB, free: 9.113 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002553/1.428, allocations: 0.7947 MB / 0.8279 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/1.429, allocations: 142.2 kB / 0.8281 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03879/1.468, allocations: 8.879 MB / 0.8367 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/1.468, allocations: 20 kB / 0.8367 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/1.468, allocations: 35.95 kB / 0.8368 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/1.468, allocations: 11.95 kB / 0.8368 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05914/1.527, allocations: 13.13 MB / 0.8496 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/1.527, allocations: 4 kB / 0.8496 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.528, allocations: 127.8 kB / 0.8497 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03211/1.56, allocations: 4.743 MB / 0.8544 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000558/1.561, allocations: 36 kB / 0.8544 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1126/1.674, allocations: 33 MB / 0.8866 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.674, allocations: 8 kB / 0.8866 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03767/1.711, allocations: 8.557 MB / 0.895 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002703/1.714, allocations: 0.6124 MB / 0.8956 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007744/1.715, allocations: 36 kB / 0.8956 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.718, allocations: 99.88 kB / 0.8957 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00155/1.719, allocations: 157.7 kB / 0.8959 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003697/1.72, allocations: 44 kB / 0.8959 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00183/1.721, allocations: 0.7304 MB / 0.8966 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.721, allocations: 0 / 0.8966 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005958/1.727, allocations: 0.9922 MB / 0.8976 GB, free: 15.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.039/1.767, allocations: 10.19 MB / 0.9076 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.5609/2.327, allocations: 5.823 MB / 0.9132 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/2.328, allocations: 2.312 kB / 0.9132 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01476/2.342, allocations: 3.775 MB / 0.9169 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/2.345, allocations: 200.8 kB / 0.9171 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07262/2.417, allocations: 26.67 MB / 0.9432 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/2.421, allocations: 1.892 MB / 0.945 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001656/2.423, allocations: 343.4 kB / 0.9453 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/2.424, allocations: 0.609 MB / 0.9459 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.283e-06/2.424, allocations: 0 / 0.9459 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/2.575, allocations: 69.73 MB / 1.014 GB, free: 132.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/2.576, allocations: 235 kB / 1.014 GB, free: 132.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/6.464, allocations: 0 / 1.014 GB, free: 132.1 MB / 0.7292 GB