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.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.007375/0.007375, allocations: 236.2 kB / 15.8 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.002086/0.002085, allocations: 180.5 kB / 16.69 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 3.811/3.811, 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 4.816/4.816, allocations: 472.3 MB / 0.9023 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006851/0.0006852, allocations: 12 kB / 1.008 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.23, allocations: 98.71 MB / 1.105 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.008847/0.2389, allocations: 4.566 MB / 1.109 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008053/0.247, allocations: 3.478 MB / 1.112 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.2476, allocations: 15.94 kB / 1.112 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.2487, allocations: 202.9 kB / 1.113 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.2502, allocations: 370.1 kB / 1.113 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.2512, allocations: 183.4 kB / 1.113 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.2529, allocations: 0.7515 MB / 1.114 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.2549, allocations: 0.7393 MB / 1.115 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.2554, allocations: 199.2 kB / 1.115 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.256, allocations: 255 kB / 1.115 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.2561, allocations: 24 kB / 1.115 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.2573, allocations: 327.5 kB / 1.115 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.2575, allocations: 143.5 kB / 1.116 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2577, allocations: 109.5 kB / 1.116 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.2591, allocations: 0.7484 MB / 1.116 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.2592, allocations: 4 kB / 1.116 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2592, allocations: 3.938 kB / 1.116 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.2592, allocations: 4 kB / 1.116 GB, free: 7.699 MB / 0.7605 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.002125/0.2613, allocations: 0.7556 MB / 1.117 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.2614, allocations: 8.031 kB / 1.117 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/0.2668, allocations: 0.7287 MB / 1.118 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.2687, allocations: 0.5304 MB / 1.118 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.2688, allocations: 28.59 kB / 1.118 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.2689, allocations: 39.89 kB / 1.118 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.2719, allocations: 0.8395 MB / 1.119 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.2719, allocations: 3.938 kB / 1.119 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.272, allocations: 19.98 kB / 1.119 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003685/0.2724, allocations: 68.56 kB / 1.119 GB, free: 4.555 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.2765, allocations: 0.9429 MB / 1.12 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00735/0.2839, allocations: 2.938 MB / 1.123 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.2871, allocations: 0.5727 MB / 1.124 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.2886, allocations: 321 kB / 1.124 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.2888, allocations: 93.2 kB / 1.124 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.2889, allocations: 38.75 kB / 1.124 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 3.667e-06/0.2889, allocations: 0 / 1.124 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.02736/0.3163, allocations: 4.071 MB / 1.128 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.3164, allocations: 81.11 kB / 1.128 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/0.3173, allocations: 457.5 kB / 1.129 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.3175, allocations: 37.7 kB / 1.129 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.3178, allocations: 236.2 kB / 1.129 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.318, allocations: 122.2 kB / 1.129 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.318, allocations: 4 kB / 1.129 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3182, allocations: 354.8 kB / 1.129 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.3202, allocations: 448.5 kB / 1.13 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.3222, allocations: 0.5251 MB / 1.13 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.3242, allocations: 485.3 kB / 1.131 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3243, allocations: 0 / 1.131 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.01154/0.3358, allocations: 1.92 MB / 1.133 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.336, allocations: 160.1 kB / 1.133 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.336, allocations: 3.984 kB / 1.133 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009384/0.3454, allocations: 1.102 MB / 1.134 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.3467, allocations: 123.8 kB / 1.134 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/0.3653, allocations: 6.38 MB / 1.14 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.3674, allocations: 115.9 kB / 1.14 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.3675, allocations: 19.98 kB / 1.14 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3676, allocations: 7.938 kB / 1.14 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01352/0.3811, allocations: 1.632 MB / 1.142 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.3812, allocations: 4 kB / 1.142 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008806/0.39, allocations: 0.8015 MB / 1.143 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.3917, allocations: 147.7 kB / 1.143 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.4113, allocations: 5.542 MB / 1.148 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.4134, allocations: 116.2 kB / 1.148 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.4135, allocations: 19.98 kB / 1.148 GB, free: 5.832 MB / 0.7917 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 (29): * Single equations (assignments): 27 * 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 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008585/0.4144, allocations: 344.9 kB / 1.149 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.4147, allocations: 43.61 kB / 1.149 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.4291, allocations: 1.836 MB / 1.151 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.4292, allocations: 7.953 kB / 1.151 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4292, allocations: 0 / 1.151 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/0.4299, allocations: 192.6 kB / 1.151 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.4302, allocations: 12 kB / 1.151 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/0.4318, allocations: 91.86 kB / 1.151 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.4322, allocations: 47.91 kB / 1.151 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0114/0.4436, allocations: 1.614 MB / 1.152 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005458/0.4491, allocations: 1.476 MB / 1.154 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001639/0.4508, allocations: 435.4 kB / 1.154 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006981/0.4515, allocations: 335.1 kB / 1.155 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of Backend: time 5.72e-07/0.4515, allocations: 4 kB / 1.155 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01183/0.4634, allocations: 2.409 MB / 1.157 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of SimCode: time 0.003445/0.4669, allocations: 1.796 MB / 1.159 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.5747/1.042, allocations: 18.68 MB / 1.177 GB, free: 270.2 MB / 0.8073 GB