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.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009188/0.009187, 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.001154/0.001154, 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.936/1.936, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.141/2.141, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004754, allocations: 16 kB / 0.5869 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.5362, allocations: 98.7 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.7822, allocations: 176.1 MB / 0.8553 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.7826, allocations: 91.95 kB / 0.8554 GB, free: 13.99 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.015/1.797, allocations: 148 MB / 1 GB, free: 149 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.919e-06/1.798, allocations: 0 / 1 GB, free: 149 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003391/1.798, allocations: 79.92 kB / 1 GB, free: 148.9 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.01094/1.809, allocations: 3.944 MB / 1.004 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.809, allocations: 8.031 kB / 1.004 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02007/1.829, allocations: 3.229 MB / 1.007 GB, free: 141.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007052/1.836, allocations: 2.319 MB / 1.009 GB, free: 139.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/1.836, allocations: 176.7 kB / 1.009 GB, free: 139 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/1.837, allocations: 236 kB / 1.01 GB, free: 138.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/1.852, allocations: 4.685 MB / 1.014 GB, free: 134 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/1.852, allocations: 0 / 1.014 GB, free: 134 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000789/1.852, allocations: 108 kB / 1.014 GB, free: 133.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/1.853, allocations: 144.8 kB / 1.015 GB, free: 133.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/1.87, allocations: 5.222 MB / 1.02 GB, free: 128.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/1.896, allocations: 14.39 MB / 1.034 GB, free: 112.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/1.909, allocations: 3.787 MB / 1.037 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/1.909, allocations: 33.27 kB / 1.037 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004967/1.914, allocations: 1.818 MB / 1.039 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 6.261e-06/1.915, allocations: 0 / 1.039 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.1396/2.054, allocations: 33.5 MB / 1.072 GB, free: 73.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/2.054, allocations: 0.9022 MB / 1.073 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/2.058, allocations: 1.985 MB / 1.075 GB, free: 70.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005547/2.059, allocations: 89.62 kB / 1.075 GB, free: 70.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/2.06, allocations: 1.43 MB / 1.076 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/2.061, allocations: 0.8163 MB / 1.077 GB, free: 67.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/2.062, allocations: 44 kB / 1.077 GB, free: 67.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001475/2.062, allocations: 394.7 kB / 1.077 GB, free: 67.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005822/2.068, allocations: 1.929 MB / 1.079 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006327/2.074, allocations: 2.316 MB / 1.082 GB, free: 63.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006188/2.08, allocations: 2.144 MB / 1.084 GB, free: 60.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/2.08, allocations: 0 / 1.084 GB, free: 60.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.04351/2.124, allocations: 6.13 MB / 1.09 GB, free: 54.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000961/2.125, allocations: 2.462 MB / 1.092 GB, free: 52.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/2.125, allocations: 4 kB / 1.092 GB, free: 52.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/2.141, allocations: 1.793 MB / 1.094 GB, free: 50.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007773/2.149, allocations: 0.5929 MB / 1.094 GB, free: 49.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/2.174, allocations: 9.517 MB / 1.104 GB, free: 39.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004604/2.179, allocations: 419.4 kB / 1.104 GB, free: 39.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/2.179, allocations: 87.97 kB / 1.104 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/2.18, allocations: 4 kB / 1.104 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01697/2.196, allocations: 5.726 MB / 1.11 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/2.197, allocations: 11.92 kB / 1.11 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/2.203, allocations: 1.798 MB / 1.112 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/2.206, allocations: 0.6124 MB / 1.112 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/2.232, allocations: 14.02 MB / 1.126 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/2.237, allocations: 411.6 kB / 1.126 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/2.237, allocations: 91.97 kB / 1.126 GB, free: 16.42 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002368/2.24, allocations: 0.7844 MB / 1.127 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/2.241, allocations: 344 kB / 1.127 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/2.242, allocations: 392.1 kB / 1.128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/2.242, allocations: 24 kB / 1.128 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/2.242, allocations: 8 kB / 1.128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/2.242, allocations: 15.95 kB / 1.128 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/2.248, allocations: 3.192 MB / 1.131 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/2.248, allocations: 0 / 1.131 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/2.252, allocations: 0.5228 MB / 1.131 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007319/2.259, allocations: 1.688 MB / 1.133 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004718/2.259, allocations: 55.92 kB / 1.133 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02968/2.289, allocations: 14.55 MB / 1.147 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.74e-06/2.289, allocations: 3.953 kB / 1.147 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/2.309, allocations: 5.76 MB / 1.153 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/2.311, allocations: 0.6727 MB / 1.154 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009895/2.312, allocations: 52.73 kB / 1.154 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0042/2.316, allocations: 411.4 kB / 1.154 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/2.318, allocations: 310.6 kB / 1.154 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/2.318, allocations: 67.97 kB / 1.154 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003615/2.321, allocations: 1.521 MB / 1.156 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.89e-07/2.322, allocations: 0 / 1.156 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006439/2.328, allocations: 1.59 MB / 1.157 GB, free: 80 kB / 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006427/2.329, allocations: 187 kB / 1.158 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0299/2.359, allocations: 9.694 MB / 1.167 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.359, allocations: 8.062 kB / 1.167 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01107/2.37, allocations: 3.502 MB / 1.171 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/2.376, allocations: 1.007 MB / 1.172 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/2.395, allocations: 7.558 MB / 1.179 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/2.399, allocations: 2.323 MB / 1.181 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004774/2.404, allocations: 0.6504 MB / 1.182 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/2.405, allocations: 183.4 kB / 1.182 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of SimCode: time 4.346e-06/2.405, allocations: 0 / 1.182 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of Templates: time 0.6654/3.07, allocations: 72.49 MB / 1.253 GB, free: 214 MB / 0.8073 GB