Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.004337/0.004336, allocations: 234.8 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.00112/0.00112, allocations: 178.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.061/4.061, 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.529/4.529, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006586/0.000659, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1835, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006413/0.19, allocations: 4.478 MB / 1.109 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.1958, allocations: 3.086 MB / 1.112 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.1963, allocations: 11.94 kB / 1.112 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.1969, allocations: 155.1 kB / 1.112 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1981, allocations: 306 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.1989, allocations: 181 kB / 1.113 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.2001, allocations: 0.704 MB / 1.113 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.2018, allocations: 0.7329 MB / 1.114 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.2022, allocations: 199.2 kB / 1.114 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.2027, allocations: 256.5 kB / 1.114 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.2028, allocations: 20 kB / 1.114 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.2036, allocations: 235.6 kB / 1.115 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.2038, allocations: 135.6 kB / 1.115 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.204, allocations: 105.5 kB / 1.115 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009465/0.2049, allocations: 0.7056 MB / 1.116 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2049, allocations: 3.188 kB / 1.116 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2049, allocations: 3.938 kB / 1.116 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.205, allocations: 0 / 1.116 GB, free: 30.84 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001848/0.2068, allocations: 0.7435 MB / 1.116 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2069, allocations: 8.031 kB / 1.116 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.2131, allocations: 0.7084 MB / 1.117 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.2147, allocations: 490.5 kB / 1.118 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.2147, allocations: 24.66 kB / 1.118 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2149, allocations: 38.98 kB / 1.118 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.2184, allocations: 0.8351 MB / 1.118 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.2185, allocations: 0 / 1.118 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.2186, allocations: 19.94 kB / 1.118 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005001/0.2191, allocations: 70.44 kB / 1.118 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005497/0.2246, allocations: 0.9393 MB / 1.119 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/0.2328, allocations: 2.924 MB / 1.122 GB, free: 23.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.2367, allocations: 0.5605 MB / 1.123 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.2387, allocations: 324.6 kB / 1.123 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.2389, allocations: 85.28 kB / 1.123 GB, free: 22.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2389, allocations: 35.45 kB / 1.123 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 4.248e-06/0.239, allocations: 0 / 1.123 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.03047/0.2695, allocations: 3.654 MB / 1.127 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2696, allocations: 81.11 kB / 1.127 GB, free: 18.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.2705, allocations: 416.4 kB / 1.127 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.2707, allocations: 33.7 kB / 1.127 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2709, allocations: 235.4 kB / 1.128 GB, free: 18.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.2711, allocations: 110.4 kB / 1.128 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.2712, allocations: 8 kB / 1.128 GB, free: 18.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2714, allocations: 346.8 kB / 1.128 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.2736, allocations: 398.1 kB / 1.128 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.2759, allocations: 489.2 kB / 1.129 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.2783, allocations: 434.4 kB / 1.129 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2783, allocations: 0 / 1.129 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.01333/0.2917, allocations: 1.728 MB / 1.131 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2918, allocations: 149.1 kB / 1.131 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.2919, allocations: 4 kB / 1.131 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009022/0.3009, allocations: 0.9844 MB / 1.132 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3021, allocations: 127.8 kB / 1.132 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.3146, allocations: 6.414 MB / 1.138 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.3161, allocations: 118.9 kB / 1.139 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.3162, allocations: 19.98 kB / 1.139 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3162, allocations: 4 kB / 1.139 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008564/0.3248, allocations: 1.65 MB / 1.14 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3248, allocations: 10.89 kB / 1.14 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/0.3305, allocations: 0.7181 MB / 1.141 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.3317, allocations: 134.7 kB / 1.141 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008958/0.3407, allocations: 5.443 MB / 1.146 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3422, allocations: 107.3 kB / 1.146 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/0.3424, allocations: 19.98 kB / 1.146 GB, free: 14.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006841/0.3431, allocations: 321.6 kB / 1.147 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3432, allocations: 35.62 kB / 1.147 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009654/0.3529, allocations: 1.632 MB / 1.148 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.353, allocations: 3.984 kB / 1.148 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.353, allocations: 0 / 1.148 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.3536, allocations: 184.5 kB / 1.149 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.3537, allocations: 11.94 kB / 1.149 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.3549, allocations: 90.64 kB / 1.149 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.3551, allocations: 35.94 kB / 1.149 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007348/0.3625, allocations: 1.393 MB / 1.15 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004667/0.3672, allocations: 1.305 MB / 1.151 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001446/0.3687, allocations: 376.6 kB / 1.152 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000604/0.3693, allocations: 309.3 kB / 1.152 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of Backend: time 5.31e-07/0.3693, allocations: 0 / 1.152 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007691/0.377, allocations: 2.111 MB / 1.154 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00341/0.3805, allocations: 1.659 MB / 1.156 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of Templates: time 0.5922/0.9727, allocations: 16.27 MB / 1.172 GB, free: 80.54 MB / 0.6198 GB