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_RL_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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01854/0.01854, allocations: 222.1 kB / 15.17 MB, free: 6 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.001862/0.001862, allocations: 180.9 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.988/3.988, allocations: 389.1 MB / 405.9 MB, free: 13.36 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.101/4.101, allocations: 472.3 MB / 0.9018 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008323/0.0008327, allocations: 12 kB / 1.008 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.583/0.5838, allocations: 98.7 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02248/0.6063, allocations: 18.35 MB / 1.122 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.618, allocations: 6.149 MB / 1.128 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.6203, allocations: 71.12 kB / 1.128 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.6217, allocations: 376.4 kB / 1.128 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.6256, allocations: 1.043 MB / 1.129 GB, free: 196.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.629, allocations: 0.7765 MB / 1.13 GB, free: 195.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00789/0.6369, allocations: 5.507 MB / 1.136 GB, free: 193.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01344/0.6504, allocations: 6.369 MB / 1.142 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.6539, allocations: 1.487 MB / 1.143 GB, free: 191.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.6581, allocations: 1.976 MB / 1.145 GB, free: 190.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007667/0.6589, allocations: 178.9 kB / 1.145 GB, free: 190.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.6613, allocations: 482.1 kB / 1.146 GB, free: 190.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.6639, allocations: 1.339 MB / 1.147 GB, free: 190 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.6654, allocations: 0.6469 MB / 1.148 GB, free: 189.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007432/0.6729, allocations: 5.37 MB / 1.153 GB, free: 186.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.688e-06/0.6729, allocations: 0.9375 kB / 1.153 GB, free: 186.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.189e-06/0.6729, allocations: 5.031 kB / 1.153 GB, free: 186.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001784/0.6731, allocations: 0 / 1.153 GB, free: 186.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007415/0.6805, allocations: 2.846 MB / 1.156 GB, free: 184.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6806, allocations: 9.688 kB / 1.156 GB, free: 184.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/0.6856, allocations: 0.6595 MB / 1.156 GB, free: 184.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.6906, allocations: 1.905 MB / 1.158 GB, free: 182.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.6909, allocations: 222.3 kB / 1.158 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009694/0.6919, allocations: 296.5 kB / 1.159 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.7028, allocations: 4.869 MB / 1.164 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.703, allocations: 12.47 kB / 1.164 GB, free: 177.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.7035, allocations: 128 kB / 1.164 GB, free: 177.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000444/0.7039, allocations: 230 kB / 1.164 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008744/0.7127, allocations: 3.73 MB / 1.167 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.7373, allocations: 21.61 MB / 1.189 GB, free: 149.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.7395, allocations: 1.299 MB / 1.19 GB, free: 148.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.7413, allocations: 1.042 MB / 1.191 GB, free: 147.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.248e-05/0.7414, allocations: 12.28 kB / 1.191 GB, free: 147.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.7415, allocations: 51.5 kB / 1.191 GB, free: 147.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=107): time 4.837e-06/0.7415, allocations: 0 / 1.191 GB, free: 147.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138): time 0.02749/0.769, allocations: 8.67 MB / 1.199 GB, free: 138.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7691, allocations: 64.72 kB / 1.199 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7707, allocations: 1.122 MB / 1.201 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.771, allocations: 45.7 kB / 1.201 GB, free: 137.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/0.7717, allocations: 1.296 MB / 1.202 GB, free: 136.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.7721, allocations: 485.1 kB / 1.202 GB, free: 135.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.7723, allocations: 28 kB / 1.202 GB, free: 135.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7724, allocations: 373.9 kB / 1.203 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.774, allocations: 0.9018 MB / 1.204 GB, free: 134.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.7758, allocations: 1.322 MB / 1.205 GB, free: 132.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.7777, allocations: 1.135 MB / 1.206 GB, free: 131.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.7777, allocations: 4 kB / 1.206 GB, free: 131.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007138/0.7849, allocations: 3.445 MB / 1.209 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.785, allocations: 12 kB / 1.209 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.785, allocations: 15.28 kB / 1.209 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.789, allocations: 1.185 MB / 1.211 GB, free: 127.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7903, allocations: 263.5 kB / 1.211 GB, free: 126.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.8088, allocations: 12.7 MB / 1.223 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.8106, allocations: 87.97 kB / 1.223 GB, free: 113.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.8109, allocations: 75.05 kB / 1.223 GB, free: 113.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00234/0.8132, allocations: 1.11 MB / 1.224 GB, free: 112.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.8136, allocations: 162.1 kB / 1.225 GB, free: 112.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006507/0.8202, allocations: 3.161 MB / 1.228 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.8202, allocations: 12 kB / 1.228 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/0.8203, allocations: 15.94 kB / 1.228 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.8203, allocations: 7.969 kB / 1.228 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.8332, allocations: 6.23 MB / 1.234 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.8333, allocations: 8.094 kB / 1.234 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.834, allocations: 147.8 kB / 1.234 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/0.8376, allocations: 1.071 MB / 1.235 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/0.8379, allocations: 28 kB / 1.235 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.8558, allocations: 12.43 MB / 1.247 GB, free: 88.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.64e-06/0.8558, allocations: 8.641 kB / 1.247 GB, free: 88.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/0.862, allocations: 3.139 MB / 1.25 GB, free: 85.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.8632, allocations: 427 kB / 1.251 GB, free: 85.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/0.8636, allocations: 28 kB / 1.251 GB, free: 84.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8648, allocations: 83.89 kB / 1.251 GB, free: 84.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.8651, allocations: 130.4 kB / 1.251 GB, free: 84.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.8653, allocations: 36 kB / 1.251 GB, free: 84.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001174/0.8665, allocations: 0.7554 MB / 1.252 GB, free: 83.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.878e-06/0.8665, allocations: 0 / 1.252 GB, free: 83.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00279/0.8693, allocations: 0.6639 MB / 1.252 GB, free: 83.33 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002719/0.8696, allocations: 161 kB / 1.252 GB, free: 83.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005604/0.8752, allocations: 3.115 MB / 1.255 GB, free: 80.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.8753, allocations: 4 kB / 1.255 GB, free: 80.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/0.8789, allocations: 1.956 MB / 1.257 GB, free: 78.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.8818, allocations: 470.3 kB / 1.258 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.8924, allocations: 6.461 MB / 1.264 GB, free: 71.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/0.8955, allocations: 2.395 MB / 1.267 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00151/0.897, allocations: 354.7 kB / 1.267 GB, free: 68.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.8973, allocations: 90.91 kB / 1.267 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.878e-06/0.8973, allocations: 0 / 1.267 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.0677/0.965, allocations: 30.19 MB / 1.296 GB, free: 39.16 MB / 0.7292 GB