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.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01473/0.01473, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001717/0.001717, allocations: 179.3 kB / 15.94 MB, free: 5.93 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.867/1.867, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.244/2.244, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004545, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5979, allocations: 98.7 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.8451, allocations: 176.2 MB / 0.8554 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.8454, allocations: 91.94 kB / 0.8555 GB, free: 13.94 MB / 0.6823 GB [/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 1.005/1.85, allocations: 149.6 MB / 1.002 GB, free: 147.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.931e-06/1.85, allocations: 0 / 1.002 GB, free: 147.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003433/1.851, allocations: 79.98 kB / 1.002 GB, free: 147.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.02346/1.874, allocations: 4.209 MB / 1.006 GB, free: 143 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.874, allocations: 16.03 kB / 1.006 GB, free: 143 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04613/1.92, allocations: 3.229 MB / 1.009 GB, free: 139.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0178/1.938, allocations: 2.58 MB / 1.011 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007801/1.939, allocations: 469.7 kB / 1.012 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/1.941, allocations: 228 kB / 1.012 GB, free: 136.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/1.956, allocations: 4.817 MB / 1.017 GB, free: 131.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.559e-05/1.956, allocations: 4.344 kB / 1.017 GB, free: 131.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008042/1.957, allocations: 107.9 kB / 1.017 GB, free: 131.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/1.957, allocations: 148.8 kB / 1.017 GB, free: 131.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/1.974, allocations: 5.296 MB / 1.022 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/2.002, allocations: 14.89 MB / 1.037 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/2.014, allocations: 3.624 MB / 1.04 GB, free: 106.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/2.014, allocations: 21.3 kB / 1.04 GB, free: 106.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005208/2.019, allocations: 1.927 MB / 1.042 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 5.626e-06/2.02, allocations: 0 / 1.042 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.1879/2.207, allocations: 34.33 MB / 1.076 GB, free: 69.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/2.208, allocations: 0.8983 MB / 1.077 GB, free: 68.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/2.211, allocations: 1.985 MB / 1.079 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005904/2.212, allocations: 81.7 kB / 1.079 GB, free: 66.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/2.213, allocations: 1.43 MB / 1.08 GB, free: 64.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/2.215, allocations: 0.8163 MB / 1.081 GB, free: 64.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/2.215, allocations: 48 kB / 1.081 GB, free: 64.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001464/2.215, allocations: 390.7 kB / 1.081 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006539/2.222, allocations: 2.116 MB / 1.083 GB, free: 61.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/2.229, allocations: 2.499 MB / 1.086 GB, free: 58.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/2.235, allocations: 2.304 MB / 1.088 GB, free: 56.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/2.235, allocations: 0 / 1.088 GB, free: 56.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02236/2.258, allocations: 6.911 MB / 1.095 GB, free: 49.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/2.258, allocations: 148.5 kB / 1.095 GB, free: 49.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/2.258, allocations: 4 kB / 1.095 GB, free: 49.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/2.27, allocations: 2.962 MB / 1.098 GB, free: 46.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/2.274, allocations: 0.5735 MB / 1.098 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04622/2.32, allocations: 18.16 MB / 1.116 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/2.325, allocations: 427.5 kB / 1.116 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007817/2.326, allocations: 87.97 kB / 1.117 GB, free: 26.91 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002555/2.328, allocations: 0.7229 MB / 1.117 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009587/2.329, allocations: 332.1 kB / 1.118 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009342/2.33, allocations: 384 kB / 1.118 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/2.33, allocations: 27.98 kB / 1.118 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/2.33, allocations: 15.95 kB / 1.118 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/2.33, allocations: 11.95 kB / 1.118 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006456/2.337, allocations: 3.655 MB / 1.122 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/2.337, allocations: 7.953 kB / 1.122 GB, free: 21.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/2.34, allocations: 0.4994 MB / 1.122 GB, free: 21.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01182/2.352, allocations: 2.871 MB / 1.125 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/2.353, allocations: 55.91 kB / 1.125 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04475/2.397, allocations: 17.99 MB / 1.143 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.092e-06/2.397, allocations: 0 / 1.143 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/2.422, allocations: 6.541 MB / 1.149 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/2.424, allocations: 0.7116 MB / 1.15 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/2.426, allocations: 48 kB / 1.15 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004961/2.431, allocations: 423.5 kB / 1.15 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001776/2.432, allocations: 362.6 kB / 1.15 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005251/2.433, allocations: 71.97 kB / 1.15 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003984/2.437, allocations: 1.521 MB / 1.152 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.19e-07/2.437, allocations: 0 / 1.152 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00486/2.442, allocations: 1.066 MB / 1.153 GB, free: 5.207 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007649/2.443, allocations: 179 kB / 1.153 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02936/2.472, allocations: 6.833 MB / 1.16 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.799e-06/2.472, allocations: 4 kB / 1.16 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.02112/2.493, allocations: 4.213 MB / 1.164 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006166/2.5, allocations: 1.008 MB / 1.165 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/2.521, allocations: 7.753 MB / 1.172 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/2.525, allocations: 2.297 MB / 1.175 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003865/2.529, allocations: 0.5136 MB / 1.175 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/2.53, allocations: 171.4 kB / 1.175 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of SimCode: time 4.02e-06/2.53, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of Templates: time 0.6706/3.2, allocations: 71.26 MB / 1.245 GB, free: 207.4 MB / 0.8073 GB