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.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01081/0.01081, allocations: 223 kB / 15.17 MB, free: 5.93 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.0011/0.0011, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.791/3.791, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.135/4.135, allocations: 472.3 MB / 0.9018 GB, free: 13.36 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 12 kB / 1.008 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5197, allocations: 98.71 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01572/0.5355, allocations: 13.24 MB / 1.117 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02571/0.5612, allocations: 9.665 MB / 1.126 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.5635, allocations: 47.69 kB / 1.126 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.5649, allocations: 250 kB / 1.127 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008427/0.5734, allocations: 1.456 MB / 1.128 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.5766, allocations: 0.5199 MB / 1.129 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006274/0.5829, allocations: 2.908 MB / 1.131 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006264/0.5892, allocations: 1.806 MB / 1.133 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.5927, allocations: 1.265 MB / 1.134 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.5957, allocations: 1.044 MB / 1.135 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.5961, allocations: 68 kB / 1.136 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.5984, allocations: 436.9 kB / 1.136 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008861/0.5993, allocations: 498.3 kB / 1.136 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008137/0.6002, allocations: 356.7 kB / 1.137 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.6045, allocations: 2.131 MB / 1.139 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.6045, allocations: 4 kB / 1.139 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.536e-06/0.6046, allocations: 0 / 1.139 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.529e-05/0.6046, allocations: 0 / 1.139 GB, free: 148.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006425/0.6111, allocations: 1.859 MB / 1.141 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6111, allocations: 12.03 kB / 1.141 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02644/0.6376, allocations: 2.214 MB / 1.143 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.6418, allocations: 1.162 MB / 1.144 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.6419, allocations: 86.31 kB / 1.144 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.6422, allocations: 124.8 kB / 1.144 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009443/0.6516, allocations: 2.687 MB / 1.147 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/0.6518, allocations: 3.938 kB / 1.147 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/0.6522, allocations: 55.98 kB / 1.147 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/0.6534, allocations: 191.7 kB / 1.147 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.665, allocations: 2.831 MB / 1.15 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.6811, allocations: 10.56 MB / 1.16 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/0.6882, allocations: 2.385 MB / 1.162 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/0.6918, allocations: 1.305 MB / 1.164 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.088e-05/0.6919, allocations: 12.98 kB / 1.164 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.692, allocations: 43.16 kB / 1.164 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=89): time 4.191e-06/0.692, allocations: 4 kB / 1.164 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=153): time 0.0647/0.7567, allocations: 16.52 MB / 1.18 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7568, allocations: 68.72 kB / 1.18 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.7585, allocations: 1.156 MB / 1.181 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.7587, allocations: 49.7 kB / 1.181 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.7592, allocations: 0.7514 MB / 1.182 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.7597, allocations: 0.512 MB / 1.182 GB, free: 103 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.7599, allocations: 32 kB / 1.182 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.76, allocations: 361.9 kB / 1.183 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004003/0.764, allocations: 1.522 MB / 1.184 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/0.7682, allocations: 1.799 MB / 1.186 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.7725, allocations: 1.646 MB / 1.188 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.696e-06/0.7725, allocations: 0 / 1.188 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01488/0.7874, allocations: 5.292 MB / 1.193 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.7875, allocations: 8 kB / 1.193 GB, free: 92.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.7875, allocations: 14.73 kB / 1.193 GB, free: 92.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008234/0.7958, allocations: 1.888 MB / 1.195 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.798, allocations: 431.2 kB / 1.195 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/0.8286, allocations: 22.14 MB / 1.217 GB, free: 66.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.8314, allocations: 315.6 kB / 1.217 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.8317, allocations: 72.84 kB / 1.217 GB, free: 66.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.8327, allocations: 461.5 kB / 1.217 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.8331, allocations: 175.9 kB / 1.218 GB, free: 65.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.8491, allocations: 5.346 MB / 1.223 GB, free: 60.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.8492, allocations: 16 kB / 1.223 GB, free: 60.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/0.8492, allocations: 22 kB / 1.223 GB, free: 60.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.8493, allocations: 7.969 kB / 1.223 GB, free: 60.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/0.8748, allocations: 7.451 MB / 1.23 GB, free: 52.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.8749, allocations: 7.984 kB / 1.23 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.8768, allocations: 363.7 kB / 1.231 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007228/0.8841, allocations: 1.702 MB / 1.232 GB, free: 50.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/0.8844, allocations: 43.97 kB / 1.232 GB, free: 50.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02849/0.9129, allocations: 21.34 MB / 1.253 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.9129, allocations: 7.938 kB / 1.253 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/0.9263, allocations: 4.906 MB / 1.258 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.9275, allocations: 0.4947 MB / 1.258 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.9279, allocations: 30.16 kB / 1.258 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/0.9302, allocations: 331.5 kB / 1.259 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004924/0.9307, allocations: 149 kB / 1.259 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.9309, allocations: 55.97 kB / 1.259 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001201/0.9321, allocations: 0.7821 MB / 1.26 GB, free: 21.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.89e-07/0.9321, allocations: 0 / 1.26 GB, free: 21.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002456/0.9346, allocations: 0.6562 MB / 1.26 GB, free: 20.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/0.9349, allocations: 142.9 kB / 1.26 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01336/0.9483, allocations: 5.184 MB / 1.266 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.9484, allocations: 4 kB / 1.266 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008501/0.9569, allocations: 3.356 MB / 1.269 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.9599, allocations: 0.5167 MB / 1.269 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.97, allocations: 4.868 MB / 1.274 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.9714, allocations: 1.607 MB / 1.276 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002256/0.9737, allocations: 383.4 kB / 1.276 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.9742, allocations: 111.4 kB / 1.276 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of SimCode: time 1.374e-06/0.9742, allocations: 0 / 1.276 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of Templates: time 0.5869/1.561, allocations: 41.44 MB / 1.317 GB, free: 141.5 MB / 0.6823 GB