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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006454/0.00646, allocations: 238 kB / 15.81 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.00182/0.00182, allocations: 182.6 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 4.207/4.207, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.359/4.359, allocations: 472.3 MB / 0.9024 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005189, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1827, allocations: 98.72 MB / 1.105 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04646/0.2292, allocations: 34.2 MB / 1.138 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.2573, allocations: 12.4 MB / 1.15 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004335/0.2617, allocations: 143.1 kB / 1.15 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003671/0.2654, allocations: 0.6978 MB / 1.151 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009257/0.2747, allocations: 2.231 MB / 1.153 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007739/0.2825, allocations: 1.646 MB / 1.155 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.5878/0.8703, allocations: 10.65 MB / 1.165 GB, free: 41.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02824/0.8987, allocations: 11.41 MB / 1.176 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008183/0.9069, allocations: 2.9 MB / 1.179 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.917, allocations: 3.768 MB / 1.183 GB, free: 40.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.9193, allocations: 321.1 kB / 1.183 GB, free: 40.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005412/0.9248, allocations: 0.7724 MB / 1.184 GB, free: 40.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005207/0.93, allocations: 2.434 MB / 1.186 GB, free: 40.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003831/0.9339, allocations: 1.169 MB / 1.187 GB, free: 39.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.9492, allocations: 9.735 MB / 1.197 GB, free: 39.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.9492, allocations: 1.156 kB / 1.197 GB, free: 39.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9493, allocations: 6.422 kB / 1.197 GB, free: 39.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000412/0.9497, allocations: 0 / 1.197 GB, free: 39.44 MB / 0.6198 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.02066/0.9703, allocations: 5.201 MB / 1.202 GB, free: 37.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.9704, allocations: 7.969 kB / 1.202 GB, free: 37.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.9858, allocations: 1.362 MB / 1.203 GB, free: 36.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.9982, allocations: 3.471 MB / 1.207 GB, free: 36.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005682/0.9989, allocations: 380.5 kB / 1.207 GB, free: 36.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/1.002, allocations: 0.4924 MB / 1.208 GB, free: 36.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/1.031, allocations: 8.852 MB / 1.216 GB, free: 34.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/1.032, allocations: 26.12 kB / 1.216 GB, free: 34.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002036/1.034, allocations: 221.8 kB / 1.216 GB, free: 34.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004037/1.038, allocations: 0.63 MB / 1.217 GB, free: 34.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/1.06, allocations: 6.983 MB / 1.224 GB, free: 31.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07634/1.137, allocations: 40.38 MB / 1.263 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/1.144, allocations: 2.886 MB / 1.266 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/1.151, allocations: 2.663 MB / 1.269 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/1.152, allocations: 30.03 kB / 1.269 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.69e-05/1.152, allocations: 64.66 kB / 1.269 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=265): time 7.414e-06/1.152, allocations: 0 / 1.269 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=424): time 0.593/1.745, allocations: 77.41 MB / 1.344 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/1.745, allocations: 98.73 kB / 1.344 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/1.751, allocations: 2.332 MB / 1.347 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.752, allocations: 97.7 kB / 1.347 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002506/1.755, allocations: 2.336 MB / 1.349 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002857/1.757, allocations: 1.437 MB / 1.351 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009033/1.758, allocations: 84 kB / 1.351 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004473/1.759, allocations: 483.3 kB / 1.351 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008916/1.768, allocations: 2.988 MB / 1.354 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009809/1.778, allocations: 3.824 MB / 1.358 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.788, allocations: 3.55 MB / 1.361 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/1.788, allocations: 4 kB / 1.361 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05481/1.843, allocations: 12.5 MB / 1.373 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/1.843, allocations: 12 kB / 1.373 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.088e-05/1.843, allocations: 24 kB / 1.373 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04403/1.887, allocations: 6.025 MB / 1.379 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006754/1.894, allocations: 499.2 kB / 1.38 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1654/2.059, allocations: 67.19 MB / 1.445 GB, free: 13.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/2.066, allocations: 215.8 kB / 1.446 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/2.068, allocations: 152 kB / 1.446 GB, free: 12.78 MB / 0.823 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.006699/2.074, allocations: 1.992 MB / 1.448 GB, free: 10.78 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001794/2.076, allocations: 399.3 kB / 1.448 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05574/2.132, allocations: 12.18 MB / 1.46 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001316/2.132, allocations: 19.92 kB / 1.46 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/2.132, allocations: 6.953 kB / 1.46 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004698/2.137, allocations: 1.098 MB / 1.461 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/2.139, allocations: 72 kB / 1.461 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00611/2.145, allocations: 183.8 kB / 1.461 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002191/2.148, allocations: 0.514 MB / 1.462 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.6335/2.781, allocations: 12.72 MB / 1.474 GB, free: 269.5 MB / 0.8386 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03267/2.814, allocations: 10.67 MB / 1.485 GB, free: 269.1 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00914/2.823, allocations: 3.484 MB / 1.488 GB, free: 269 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004007/2.827, allocations: 1.528 MB / 1.49 GB, free: 268.5 MB / 0.8386 GB Notification: Performance of Backend: time 8.82e-07/2.827, allocations: 7.031 kB / 1.49 GB, free: 268.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.03384/2.861, allocations: 10.11 MB / 1.499 GB, free: 263 MB / 0.8386 GB Notification: Performance of SimCode: time 0.03443/2.895, allocations: 15.88 MB / 1.515 GB, free: 255.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.2549/3.15, allocations: 100.4 MB / 1.613 GB, free: 187 MB / 0.8386 GB