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_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004352/0.004352, allocations: 237 kB / 15.81 MB, free: 6.316 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.0012/0.0012, allocations: 179.4 kB / 16.68 MB, free: 5.473 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.189/4.189, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.079/4.079, allocations: 472.3 MB / 0.9024 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.000477, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1709, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01493/0.1858, allocations: 10.76 MB / 1.115 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.196, allocations: 5.2 MB / 1.12 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1972, allocations: 31.88 kB / 1.12 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.1986, allocations: 306.6 kB / 1.121 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.2011, allocations: 0.6569 MB / 1.121 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.2037, allocations: 0.5944 MB / 1.122 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003904/0.2077, allocations: 2.934 MB / 1.125 GB, free: 21.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007228/0.2149, allocations: 3.851 MB / 1.128 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.2167, allocations: 0.7668 MB / 1.129 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.219, allocations: 1.081 MB / 1.13 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.2195, allocations: 104 kB / 1.13 GB, free: 16.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.221, allocations: 327 kB / 1.131 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009989/0.222, allocations: 0.7365 MB / 1.131 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.2226, allocations: 364.9 kB / 1.132 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004145/0.2267, allocations: 3.265 MB / 1.135 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2268, allocations: 0 / 1.135 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2268, allocations: 0 / 1.135 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.491e-05/0.2269, allocations: 0 / 1.135 GB, free: 11.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005572/0.2325, allocations: 1.769 MB / 1.137 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.2326, allocations: 11.97 kB / 1.137 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.2379, allocations: 0.7676 MB / 1.137 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.2414, allocations: 1.234 MB / 1.139 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.2416, allocations: 115.2 kB / 1.139 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007741/0.2424, allocations: 160 kB / 1.139 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.2527, allocations: 2.942 MB / 1.142 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.2529, allocations: 7.938 kB / 1.142 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005124/0.2534, allocations: 66.34 kB / 1.142 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009949/0.2544, allocations: 203 kB / 1.142 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009856/0.2643, allocations: 2.505 MB / 1.144 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/0.2958, allocations: 10.89 MB / 1.155 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/0.2994, allocations: 0.9252 MB / 1.156 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.3008, allocations: 0.5085 MB / 1.156 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.301, allocations: 97.41 kB / 1.157 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3011, allocations: 36.06 kB / 1.157 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 3.717e-06/0.3011, allocations: 2.312 kB / 1.157 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70): time 0.6582/0.9593, allocations: 8.965 MB / 1.165 GB, free: 80.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.9594, allocations: 87.7 kB / 1.165 GB, free: 80.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.9626, allocations: 0.9443 MB / 1.166 GB, free: 79.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/0.9629, allocations: 35.33 kB / 1.166 GB, free: 79.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.9641, allocations: 0.7717 MB / 1.167 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.9647, allocations: 246.9 kB / 1.167 GB, free: 79.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.965, allocations: 19.66 kB / 1.167 GB, free: 79.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003534/0.9653, allocations: 398 kB / 1.168 GB, free: 78.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00345/0.9688, allocations: 0.8006 MB / 1.169 GB, free: 78.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/0.9728, allocations: 1.168 MB / 1.17 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.9767, allocations: 0.9912 MB / 1.171 GB, free: 77.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/0.9768, allocations: 3.312 kB / 1.171 GB, free: 77.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.02629/1.003, allocations: 3.778 MB / 1.174 GB, free: 76.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003775/1.004, allocations: 411.5 kB / 1.175 GB, free: 76.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/1.004, allocations: 11.72 kB / 1.175 GB, free: 76.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02313/1.027, allocations: 2.164 MB / 1.177 GB, free: 75.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/1.029, allocations: 225 kB / 1.177 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03657/1.066, allocations: 10.26 MB / 1.187 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.069, allocations: 198.4 kB / 1.187 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/1.07, allocations: 47.23 kB / 1.187 GB, free: 70.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.07, allocations: 6.25 kB / 1.187 GB, free: 70.49 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02018/1.09, allocations: 3.073 MB / 1.19 GB, free: 69.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-05/1.09, allocations: 12.5 kB / 1.19 GB, free: 69.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01789/1.108, allocations: 1.37 MB / 1.192 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/1.111, allocations: 286.5 kB / 1.192 GB, free: 69.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03372/1.145, allocations: 6.151 MB / 1.198 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.147, allocations: 170 kB / 1.198 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/1.148, allocations: 47.27 kB / 1.198 GB, free: 66.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.01008/1.158, allocations: 0.8998 MB / 1.199 GB, free: 66.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/1.158, allocations: 89.39 kB / 1.199 GB, free: 66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02877/1.187, allocations: 3.325 MB / 1.202 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/1.187, allocations: 3.516 kB / 1.202 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.187, allocations: 0 / 1.202 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.189, allocations: 338.9 kB / 1.203 GB, free: 64.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/1.189, allocations: 15.45 kB / 1.203 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.193, allocations: 156.4 kB / 1.203 GB, free: 64.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008009/1.193, allocations: 78.3 kB / 1.203 GB, free: 64.86 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01915/1.213, allocations: 3.045 MB / 1.206 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008407/1.221, allocations: 2.487 MB / 1.208 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002739/1.224, allocations: 0.7941 MB / 1.209 GB, free: 62.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002165/1.226, allocations: 0.6723 MB / 1.21 GB, free: 61.74 MB / 0.6198 GB Notification: Performance of Backend: time 1.202e-06/1.226, allocations: 0 / 1.21 GB, free: 61.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01911/1.245, allocations: 3.488 MB / 1.213 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of SimCode: time 0.01187/1.257, allocations: 4.271 MB / 1.217 GB, free: 57.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.0747/1.332, allocations: 32.56 MB / 1.249 GB, free: 31.57 MB / 0.6198 GB