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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005009/0.005014, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.001193/0.001193, allocations: 184.2 kB / 16.69 MB, free: 5.449 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.785/3.785, allocations: 389.1 MB / 406.5 MB, free: 6.711 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 5.079/5.079, allocations: 472.3 MB / 0.9023 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006753/0.0006756, allocations: 19.98 kB / 1.008 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2816, allocations: 98.7 MB / 1.105 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01952/0.3012, allocations: 10.67 MB / 1.115 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3135, allocations: 4.99 MB / 1.12 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.3148, allocations: 31.88 kB / 1.12 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.3164, allocations: 301.9 kB / 1.12 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.3191, allocations: 0.6372 MB / 1.121 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.3218, allocations: 0.5612 MB / 1.121 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004683/0.3265, allocations: 2.817 MB / 1.124 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008425/0.3349, allocations: 3.61 MB / 1.128 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.3368, allocations: 0.7161 MB / 1.128 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.3392, allocations: 1.008 MB / 1.129 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/0.3397, allocations: 96 kB / 1.129 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.3413, allocations: 295.6 kB / 1.13 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.3427, allocations: 0.7209 MB / 1.13 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.3434, allocations: 348.9 kB / 1.131 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.3483, allocations: 3.012 MB / 1.134 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3483, allocations: 0 / 1.134 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.447e-06/0.3483, allocations: 0 / 1.134 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001003/0.3484, allocations: 0 / 1.134 GB, free: 5.953 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005625/0.3541, allocations: 1.648 MB / 1.135 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.3542, allocations: 8.031 kB / 1.135 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.3584, allocations: 497.5 kB / 1.136 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/0.3619, allocations: 1.135 MB / 1.137 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.3621, allocations: 111.1 kB / 1.137 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006466/0.3627, allocations: 152 kB / 1.137 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008166/0.3709, allocations: 2.739 MB / 1.14 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/0.371, allocations: 7.938 kB / 1.14 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.3713, allocations: 64 kB / 1.14 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006025/0.372, allocations: 170.9 kB / 1.14 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007373/0.3794, allocations: 2.295 MB / 1.142 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.4003, allocations: 10.53 MB / 1.153 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.4021, allocations: 0.5804 MB / 1.153 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4031, allocations: 384.6 kB / 1.154 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.4033, allocations: 93.08 kB / 1.154 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.4034, allocations: 38.56 kB / 1.154 GB, free: 448 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=36): time 3.517e-06/0.4034, allocations: 0 / 1.154 GB, free: 448 kB / 0.7917 GB Notification: Performance of matching and sorting (n=52): time 0.0376/0.441, allocations: 6.278 MB / 1.16 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.4411, allocations: 81.55 kB / 1.16 GB, free: 10 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.443, allocations: 0.8945 MB / 1.161 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.4432, allocations: 37.7 kB / 1.161 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.4439, allocations: 0.7538 MB / 1.161 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.4442, allocations: 197.3 kB / 1.162 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.4443, allocations: 16 kB / 1.162 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.4446, allocations: 382.8 kB / 1.162 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.4464, allocations: 0.6382 MB / 1.163 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.4485, allocations: 1.011 MB / 1.164 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.4507, allocations: 0.8179 MB / 1.164 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4508, allocations: 0 / 1.164 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01651/0.4673, allocations: 3.209 MB / 1.168 GB, free: 1.824 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.4677, allocations: 443.2 kB / 1.168 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.4678, allocations: 12 kB / 1.168 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5563/1.024, allocations: 1.844 MB / 1.17 GB, free: 268 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.026, allocations: 223.1 kB / 1.17 GB, free: 268 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/1.049, allocations: 10.22 MB / 1.18 GB, free: 263.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/1.051, allocations: 176 kB / 1.18 GB, free: 263.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.051, allocations: 42.62 kB / 1.18 GB, free: 263.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.051, allocations: 7.953 kB / 1.18 GB, free: 263.1 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/1.064, allocations: 2.617 MB / 1.183 GB, free: 263 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.6e-05/1.064, allocations: 13.41 kB / 1.183 GB, free: 263 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009813/1.074, allocations: 1.201 MB / 1.184 GB, free: 262.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/1.076, allocations: 261.6 kB / 1.184 GB, free: 262.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.088, allocations: 5.539 MB / 1.19 GB, free: 259.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.09, allocations: 147.7 kB / 1.19 GB, free: 259.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.091, allocations: 41.62 kB / 1.19 GB, free: 259.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001759/1.092, allocations: 0.8356 MB / 1.191 GB, free: 259 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/1.093, allocations: 83.09 kB / 1.191 GB, free: 259 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.107, allocations: 2.689 MB / 1.193 GB, free: 258.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/1.107, allocations: 3.359 kB / 1.193 GB, free: 258.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.107, allocations: 0 / 1.193 GB, free: 258.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/1.108, allocations: 285.8 kB / 1.194 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/1.108, allocations: 11.83 kB / 1.194 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.11, allocations: 131.5 kB / 1.194 GB, free: 258.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/1.11, allocations: 50.95 kB / 1.194 GB, free: 258.1 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01024/1.121, allocations: 2.249 MB / 1.196 GB, free: 257.5 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004933/1.126, allocations: 1.87 MB / 1.198 GB, free: 256.8 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001587/1.127, allocations: 0.567 MB / 1.198 GB, free: 256.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001484/1.129, allocations: 0.636 MB / 1.199 GB, free: 256.3 MB / 0.8073 GB Notification: Performance of Backend: time 9.82e-07/1.129, allocations: 0 / 1.199 GB, free: 256.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00924/1.138, allocations: 2.96 MB / 1.202 GB, free: 254.9 MB / 0.8073 GB Notification: Performance of SimCode: time 0.008782/1.147, allocations: 3.839 MB / 1.206 GB, free: 252.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.1232/1.27, allocations: 26.76 MB / 1.232 GB, free: 245.1 MB / 0.8073 GB