Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009143/0.009143, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001166/0.001165, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.953/1.953, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.235/2.235, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5431, allocations: 98.72 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.7768, allocations: 166.9 MB / 0.8464 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.7771, allocations: 95.95 kB / 0.8465 GB, free: 7.184 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1552/0.9324, allocations: 36.93 MB / 0.8825 GB, free: 1.719 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.378e-06/0.9324, allocations: 0 / 0.8825 GB, free: 1.719 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.423e-05/0.9325, allocations: 16 kB / 0.8825 GB, free: 1.703 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002179/0.9347, allocations: 0.9969 MB / 0.8835 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9347, allocations: 12.03 kB / 0.8835 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/0.939, allocations: 0.631 MB / 0.8841 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.9407, allocations: 0.5869 MB / 0.8847 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.9408, allocations: 41.31 kB / 0.8848 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.941, allocations: 51.98 kB / 0.8848 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.9438, allocations: 1.01 MB / 0.8858 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.9438, allocations: 7.938 kB / 0.8858 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.944, allocations: 24 kB / 0.8858 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.058e-05/0.944, allocations: 37.3 kB / 0.8859 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.9472, allocations: 1.016 MB / 0.8869 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006084/0.9533, allocations: 3.556 MB / 0.8903 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.9552, allocations: 0.5061 MB / 0.8908 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.9553, allocations: 8 kB / 0.8908 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.9554, allocations: 38.55 kB / 0.8909 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.202e-06/0.9554, allocations: 0 / 0.8909 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.008756/0.9641, allocations: 2.29 MB / 0.8931 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.9643, allocations: 132.5 kB / 0.8932 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.9652, allocations: 0.511 MB / 0.8937 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.9653, allocations: 37.64 kB / 0.8938 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.9657, allocations: 348.2 kB / 0.8941 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.9659, allocations: 153.8 kB / 0.8942 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.9659, allocations: 8 kB / 0.8942 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.9662, allocations: 374.7 kB / 0.8946 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/0.9671, allocations: 276.9 kB / 0.8949 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.9681, allocations: 396.4 kB / 0.8952 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/0.9691, allocations: 313.4 kB / 0.8955 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.021e-06/0.9691, allocations: 0 / 0.8955 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003182/0.9723, allocations: 0.9589 MB / 0.8965 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006544/0.973, allocations: 1.221 MB / 0.8977 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.973, allocations: 0 / 0.8977 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.9744, allocations: 264.9 kB / 0.8979 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.9752, allocations: 131.8 kB / 0.8981 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.9818, allocations: 5.967 MB / 0.9039 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.9827, allocations: 56.02 kB / 0.9039 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.9828, allocations: 19.98 kB / 0.904 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9828, allocations: 4 kB / 0.904 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003071/0.9859, allocations: 1.073 MB / 0.905 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9859, allocations: 4 kB / 0.905 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009201/0.9869, allocations: 221.2 kB / 0.9052 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/0.9877, allocations: 131.8 kB / 0.9053 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008744/0.9965, allocations: 8.199 MB / 0.9134 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.454/1.451, allocations: 54.28 kB / 0.9134 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/1.451, allocations: 18.58 kB / 0.9134 GB, free: 188.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005725/1.451, allocations: 312.1 kB / 0.9137 GB, free: 188.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.451, allocations: 70.31 kB / 0.9138 GB, free: 188.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/1.452, allocations: 81.64 kB / 0.9139 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-06/1.452, allocations: 5.094 kB / 0.9139 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.452, allocations: 1.578 kB / 0.9139 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.727e-06/1.452, allocations: 3.094 kB / 0.9139 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.453, allocations: 0.6492 MB / 0.9145 GB, free: 188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.529e-06/1.453, allocations: 0 / 0.9145 GB, free: 188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/1.454, allocations: 99.58 kB / 0.9146 GB, free: 188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/1.455, allocations: 257.2 kB / 0.9148 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/1.455, allocations: 7.719 kB / 0.9149 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007436/1.463, allocations: 8.469 MB / 0.9231 GB, free: 180.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.068e-06/1.463, allocations: 3.281 kB / 0.9231 GB, free: 180.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/1.466, allocations: 0.9589 MB / 0.9241 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/1.466, allocations: 187.2 kB / 0.9242 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.466, allocations: 6.703 kB / 0.9242 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/1.467, allocations: 56.75 kB / 0.9243 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.467, allocations: 38.86 kB / 0.9243 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/1.467, allocations: 16.28 kB / 0.9244 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007305/1.468, allocations: 400 kB / 0.9247 GB, free: 180.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.26e-07/1.468, allocations: 0 / 0.9247 GB, free: 180.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001505/1.47, allocations: 297.1 kB / 0.925 GB, free: 180.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/1.47, allocations: 126.6 kB / 0.9251 GB, free: 180 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004655/1.475, allocations: 2.078 MB / 0.9272 GB, free: 179 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.649e-06/1.475, allocations: 0.8125 kB / 0.9272 GB, free: 179 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.476, allocations: 1.026 MB / 0.9282 GB, free: 178.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.478, allocations: 209.3 kB / 0.9284 GB, free: 178.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/1.481, allocations: 1.518 MB / 0.9299 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/1.482, allocations: 0.9887 MB / 0.9308 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009784/1.483, allocations: 150.6 kB / 0.931 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.483, allocations: 45.42 kB / 0.931 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of SimCode: time 2.911e-06/1.483, allocations: 2.344 kB / 0.931 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.03137/1.514, allocations: 12.39 MB / 0.9431 GB, free: 176.5 MB / 0.7292 GB