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.ACLine_RLC.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.ACLine_RLC,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.01094/0.01095, allocations: 106 kB / 15.06 MB, free: 6.027 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.001239/0.001239, allocations: 182 kB / 15.95 MB, free: 5.953 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/2, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.282/2.282, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7324, allocations: 98.72 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.05435/0.7868, allocations: 32.65 MB / 0.7153 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03243/0.8193, allocations: 12.53 MB / 0.7276 GB, free: 376 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.8242, allocations: 138.2 kB / 0.7277 GB, free: 316 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.8283, allocations: 0.7452 MB / 0.7284 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009356/0.8377, allocations: 1.885 MB / 0.7303 GB, free: 14 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008185/0.846, allocations: 1.648 MB / 0.7319 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.8586, allocations: 4.817 MB / 0.7366 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02818/0.8868, allocations: 11.42 MB / 0.7477 GB, free: 12.35 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007173/0.8941, allocations: 2.62 MB / 0.7503 GB, free: 9.719 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007451/0.9016, allocations: 2.667 MB / 0.7529 GB, free: 7.043 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002207/0.9038, allocations: 316 kB / 0.7532 GB, free: 6.734 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004485/0.9083, allocations: 0.6556 MB / 0.7538 GB, free: 6.078 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.006041/0.9144, allocations: 2.245 MB / 0.756 GB, free: 3.828 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.9184, allocations: 1.171 MB / 0.7572 GB, free: 2.648 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.935, allocations: 9.574 MB / 0.7665 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9351, allocations: 4 kB / 0.7665 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9351, allocations: 0 / 0.7665 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004089/0.9355, allocations: 4 kB / 0.7665 GB, free: 9.043 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02002/0.9556, allocations: 5.15 MB / 0.7716 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9556, allocations: 8.031 kB / 0.7716 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003094/0.9587, allocations: 0.7517 MB / 0.7723 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.9716, allocations: 1.288 MB / 0.7736 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.9833, allocations: 3.468 MB / 0.7769 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000569/0.9839, allocations: 386.1 kB / 0.7773 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.9863, allocations: 0.4959 MB / 0.7778 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/1.014, allocations: 8.796 MB / 0.7864 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002296/1.014, allocations: 31.62 kB / 0.7864 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/1.015, allocations: 223.9 kB / 0.7866 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003942/1.019, allocations: 0.6342 MB / 0.7872 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/1.042, allocations: 6.975 MB / 0.7941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07814/1.12, allocations: 40.39 MB / 0.8335 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/1.127, allocations: 2.882 MB / 0.8363 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/1.128, allocations: 26.09 kB / 0.8363 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.074e-05/1.128, allocations: 60.66 kB / 0.8364 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=265): time 5.5e-06/1.128, allocations: 0 / 0.8364 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=424): time 1.166/2.293, allocations: 77.41 MB / 0.912 GB, free: 194.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/2.294, allocations: 97.59 kB / 0.9121 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/2.299, allocations: 2.329 MB / 0.9144 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/2.301, allocations: 97.64 kB / 0.9145 GB, free: 193.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/2.303, allocations: 2.34 MB / 0.9167 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/2.306, allocations: 1.437 MB / 0.9181 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006752/2.306, allocations: 85.66 kB / 0.9182 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003491/2.307, allocations: 486.8 kB / 0.9187 GB, free: 191.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009268/2.316, allocations: 2.979 MB / 0.9216 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/2.326, allocations: 3.816 MB / 0.9253 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009966/2.336, allocations: 3.549 MB / 0.9288 GB, free: 186 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.751e-05/2.336, allocations: 7.469 kB / 0.9288 GB, free: 186 MB / 0.7292 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05332/2.39, allocations: 12.5 MB / 0.941 GB, free: 181.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/2.39, allocations: 13.66 kB / 0.941 GB, free: 181.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.491e-05/2.39, allocations: 23.5 kB / 0.941 GB, free: 181.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0548/2.445, allocations: 6.013 MB / 0.9469 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/2.45, allocations: 0.4946 MB / 0.9474 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1287/2.579, allocations: 69.3 MB / 1.015 GB, free: 118.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006139/2.585, allocations: 215.8 kB / 1.015 GB, free: 118.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009302/2.586, allocations: 156 kB / 1.015 GB, free: 118.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008647/2.595, allocations: 1.989 MB / 1.017 GB, free: 116.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002425/2.597, allocations: 391.4 kB / 1.018 GB, free: 115.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07498/2.672, allocations: 12.19 MB / 1.03 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/2.672, allocations: 40 kB / 1.03 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003054/2.672, allocations: 48 kB / 1.03 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001306/2.673, allocations: 19.92 kB / 1.03 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07242/2.745, allocations: 19.12 MB / 1.048 GB, free: 84.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-05/2.745, allocations: 8 kB / 1.048 GB, free: 84.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/2.748, allocations: 283.6 kB / 1.049 GB, free: 83.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03636/2.785, allocations: 5.563 MB / 1.054 GB, free: 78.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000961/2.786, allocations: 83.98 kB / 1.054 GB, free: 78.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1206/2.906, allocations: 66.9 MB / 1.12 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/2.906, allocations: 12.16 kB / 1.12 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05494/2.961, allocations: 16.21 MB / 1.135 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004116/2.965, allocations: 1.047 MB / 1.136 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/2.967, allocations: 79.98 kB / 1.136 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005295/2.972, allocations: 215.7 kB / 1.137 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002495/2.975, allocations: 406.2 kB / 1.137 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006536/2.975, allocations: 112 kB / 1.137 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003651/2.979, allocations: 1.529 MB / 1.139 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.01e-07/2.979, allocations: 4 kB / 1.139 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009952/2.989, allocations: 1.844 MB / 1.14 GB, free: 2.141 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.059/3.048, allocations: 18.65 MB / 1.159 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.03691/3.085, allocations: 12.18 MB / 1.171 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/3.085, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.02652/3.112, allocations: 8.372 MB / 1.179 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008253/3.12, allocations: 1.039 MB / 1.18 GB, free: 8.945 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6913/3.811, allocations: 57.69 MB / 1.236 GB, free: 257.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008442/3.82, allocations: 4.191 MB / 1.24 GB, free: 256.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004368/3.824, allocations: 0.6703 MB / 1.241 GB, free: 256.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004341/3.829, allocations: 2.132 MB / 1.243 GB, free: 256.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.583e-06/3.829, allocations: 0.875 kB / 1.243 GB, free: 256.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3023/4.131, allocations: 143.8 MB / 1.383 GB, free: 140.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/4.131, allocations: 226 kB / 1.384 GB, free: 140.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/11.72, allocations: 0 / 1.384 GB, free: 140.2 MB / 0.823 GB