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.01652/0.01652, allocations: 222.5 kB / 15.17 MB, free: 5.992 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.001203/0.001203, allocations: 180.2 kB / 16.06 MB, free: 5.871 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 3.922/3.922, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.454/4.454, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12 kB / 1.008 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6359, allocations: 98.72 MB / 1.104 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02907/0.6651, allocations: 9.056 MB / 1.113 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007557/0.6727, allocations: 3.032 MB / 1.116 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.6739, allocations: 24.38 kB / 1.116 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.6747, allocations: 172.8 kB / 1.116 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.6775, allocations: 0.6394 MB / 1.117 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.6801, allocations: 0.5238 MB / 1.117 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.006469/0.6866, allocations: 3.506 MB / 1.121 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00679/0.6935, allocations: 2.707 MB / 1.123 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.696, allocations: 0.9457 MB / 1.124 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.6998, allocations: 1.437 MB / 1.126 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007871/0.7006, allocations: 112 kB / 1.126 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.7024, allocations: 251.7 kB / 1.126 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.7046, allocations: 0.9237 MB / 1.127 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.7056, allocations: 376.8 kB / 1.127 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.7109, allocations: 3.009 MB / 1.13 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.7109, allocations: 0 / 1.13 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.711, allocations: 0 / 1.13 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001031/0.7111, allocations: 0 / 1.13 GB, free: 15.91 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006263/0.7173, allocations: 1.776 MB / 1.132 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.7174, allocations: 8.031 kB / 1.132 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/0.7185, allocations: 265 kB / 1.132 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.7351, allocations: 1.453 MB / 1.134 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.7394, allocations: 1.223 MB / 1.135 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.7396, allocations: 118.9 kB / 1.135 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008414/0.7404, allocations: 148 kB / 1.135 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.7511, allocations: 3.425 MB / 1.138 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.018e-05/0.7512, allocations: 11.89 kB / 1.138 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006849/0.7519, allocations: 63.97 kB / 1.138 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004635/0.7524, allocations: 203.1 kB / 1.139 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.7626, allocations: 3.112 MB / 1.142 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03302/0.7956, allocations: 13.58 MB / 1.155 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004811/0.8005, allocations: 1.717 MB / 1.157 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003889/0.8045, allocations: 1.44 MB / 1.158 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.8047, allocations: 9 kB / 1.158 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.8048, allocations: 39.56 kB / 1.158 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=104): time 3.817e-06/0.8048, allocations: 0 / 1.158 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of matching and sorting (n=183): time 0.3016/1.106, allocations: 35.93 MB / 1.193 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/1.107, allocations: 73.41 kB / 1.193 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.109, allocations: 1.042 MB / 1.194 GB, free: 13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005349/1.109, allocations: 57.7 kB / 1.194 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008711/1.11, allocations: 0.7873 MB / 1.195 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.112, allocations: 0.6199 MB / 1.196 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/1.112, allocations: 36 kB / 1.196 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002589/1.112, allocations: 385.9 kB / 1.196 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005434/1.118, allocations: 1.924 MB / 1.198 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/1.124, allocations: 2.277 MB / 1.2 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/1.13, allocations: 2.214 MB / 1.202 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.13, allocations: 4 kB / 1.202 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.03849/1.168, allocations: 8.979 MB / 1.211 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/1.168, allocations: 11.95 kB / 1.211 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/1.168, allocations: 12 kB / 1.211 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03296/1.201, allocations: 4.977 MB / 1.216 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.203, allocations: 191.7 kB / 1.216 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09955/1.303, allocations: 35.09 MB / 1.25 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.306, allocations: 99.89 kB / 1.251 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005412/1.307, allocations: 64 kB / 1.251 GB, free: 2.527 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.002452/1.309, allocations: 0.8055 MB / 1.251 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006027/1.31, allocations: 142.3 kB / 1.252 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03807/1.348, allocations: 8.871 MB / 1.26 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/1.348, allocations: 16 kB / 1.26 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001193/1.348, allocations: 32 kB / 1.26 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.811e-05/1.348, allocations: 7.969 kB / 1.26 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05092/1.399, allocations: 13.24 MB / 1.273 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/1.399, allocations: 12.03 kB / 1.273 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/1.4, allocations: 111.9 kB / 1.273 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04278/1.443, allocations: 4.763 MB / 1.278 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006515/1.444, allocations: 35.95 kB / 1.278 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7368/2.18, allocations: 31.39 MB / 1.309 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/2.18, allocations: 10.91 kB / 1.309 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03225/2.213, allocations: 8.376 MB / 1.317 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/2.215, allocations: 0.6175 MB / 1.317 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007203/2.216, allocations: 39.98 kB / 1.318 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/2.218, allocations: 87.89 kB / 1.318 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/2.22, allocations: 160.4 kB / 1.318 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003486/2.22, allocations: 50.06 kB / 1.318 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001413/2.222, allocations: 0.7343 MB / 1.319 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/2.222, allocations: 0 / 1.319 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004728/2.226, allocations: 0.9949 MB / 1.319 GB, free: 147.7 MB / 0.6823 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,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0344/2.261, allocations: 8.961 MB / 1.328 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0159/2.277, allocations: 5.833 MB / 1.334 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.277, allocations: 0 / 1.334 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01276/2.29, allocations: 3.809 MB / 1.338 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/2.292, allocations: 219.4 kB / 1.338 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06022/2.352, allocations: 20.65 MB / 1.358 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/2.355, allocations: 1.885 MB / 1.36 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001498/2.356, allocations: 356.1 kB / 1.36 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/2.357, allocations: 0.6086 MB / 1.361 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/2.358, allocations: 0 / 1.361 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2248/2.582, allocations: 69.68 MB / 1.429 GB, free: 35.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/2.583, allocations: 237.1 kB / 1.429 GB, free: 35.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.003/6.586, allocations: 7.438 kB / 1.429 GB, free: 35.17 MB / 0.6823 GB