Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.008/4.008, allocations: 433.3 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.872e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5079, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.7797, allocations: 175.3 MB / 0.8002 GB, free: 104 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.7801, allocations: 91.94 kB / 0.8002 GB, free: 12 kB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.9517/1.732, allocations: 146.5 MB / 0.9433 GB, free: 34.69 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.569e-06/1.732, allocations: 4 kB / 0.9433 GB, free: 34.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003056/1.732, allocations: 75.92 kB / 0.9434 GB, free: 34.61 MB / 0.6667 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.008877/1.741, allocations: 3.418 MB / 0.9467 GB, free: 31.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.741, allocations: 16.02 kB / 0.9468 GB, free: 31.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/1.762, allocations: 3.203 MB / 0.9499 GB, free: 27.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/1.768, allocations: 2.307 MB / 0.9521 GB, free: 25.48 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.768, allocations: 76 kB / 0.9522 GB, free: 25.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006444/1.769, allocations: 140 kB / 0.9523 GB, free: 25.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007901/1.777, allocations: 3.383 MB / 0.9556 GB, free: 21.88 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008347/1.785, allocations: 3.478 MB / 0.959 GB, free: 18.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/1.786, allocations: 0 / 0.959 GB, free: 18.27 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004181/1.786, allocations: 4 kB / 0.959 GB, free: 18.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/1.786, allocations: 148.8 kB / 0.9592 GB, free: 18.12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/1.81, allocations: 13.86 MB / 0.9727 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008008/1.818, allocations: 2.764 MB / 0.9754 GB, free: 336 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/1.82, allocations: 1.003 MB / 0.9764 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/1.82, allocations: 29.2 kB / 0.9764 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002974/1.823, allocations: 1.3 MB / 0.9777 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.851e-06/1.823, allocations: 4 kB / 0.9777 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.02446/1.848, allocations: 7.538 MB / 0.9851 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005874/1.849, allocations: 0.8983 MB / 0.9859 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/1.852, allocations: 1.56 MB / 0.9875 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005577/1.853, allocations: 41.7 kB / 0.9875 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.854, allocations: 1.439 MB / 0.9889 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.856, allocations: 0.789 MB / 0.9897 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/1.856, allocations: 0 / 0.9897 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002884/1.856, allocations: 402.5 kB / 0.9901 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.859, allocations: 1.207 MB / 0.9912 GB, free: 15.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/1.863, allocations: 1.574 MB / 0.9928 GB, free: 14.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/1.866, allocations: 1.299 MB / 0.994 GB, free: 12.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.866, allocations: 0 / 0.994 GB, free: 12.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01286/1.879, allocations: 4.374 MB / 0.9983 GB, free: 8.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00139/1.88, allocations: 2.415 MB / 1.001 GB, free: 5.676 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.88, allocations: 4 kB / 1.001 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007957/1.888, allocations: 1.61 MB / 1.002 GB, free: 4.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/1.892, allocations: 0.5851 MB / 1.003 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/1.911, allocations: 8.988 MB / 1.012 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/1.916, allocations: 359.6 kB / 1.012 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004753/1.916, allocations: 91.97 kB / 1.012 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.916, allocations: 8 kB / 1.012 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009893/1.926, allocations: 3.676 MB / 1.016 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/1.926, allocations: 4 kB / 1.016 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005006/1.931, allocations: 1.41 MB / 1.017 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/1.935, allocations: 0.6359 MB / 1.018 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/1.959, allocations: 11.76 MB / 1.029 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004432/1.964, allocations: 367.4 kB / 1.029 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/1.964, allocations: 87.97 kB / 1.03 GB, free: 7.652 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 () * 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.0007633/1.965, allocations: 166.6 kB / 1.03 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007624/1.966, allocations: 304.4 kB / 1.03 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/1.967, allocations: 337.2 kB / 1.03 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/1.967, allocations: 27.95 kB / 1.03 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-05/1.967, allocations: 12 kB / 1.03 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/1.967, allocations: 11.95 kB / 1.03 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/1.973, allocations: 2.81 MB / 1.033 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.973, allocations: 0 / 1.033 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/1.976, allocations: 0.5189 MB / 1.034 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007627/1.984, allocations: 1.629 MB / 1.035 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004853/1.985, allocations: 15.97 kB / 1.035 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02865/2.013, allocations: 13.35 MB / 1.048 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.584e-06/2.013, allocations: 0 / 1.048 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/2.025, allocations: 4.179 MB / 1.052 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/2.027, allocations: 0.6379 MB / 1.053 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008873/2.028, allocations: 15.95 kB / 1.053 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004261/2.033, allocations: 367.5 kB / 1.053 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/2.034, allocations: 306.6 kB / 1.054 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/2.034, allocations: 67.97 kB / 1.054 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002702/2.037, allocations: 1.161 MB / 1.055 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.59e-07/2.037, allocations: 0 / 1.055 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005926/2.043, allocations: 1.41 MB / 1.056 GB, free: 11.99 MB / 0.7605 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) * 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.0005242/2.043, allocations: 147 kB / 1.056 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01874/2.062, allocations: 7.35 MB / 1.064 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.062, allocations: 8.062 kB / 1.064 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007291/2.07, allocations: 2.676 MB / 1.066 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/2.075, allocations: 0.8772 MB / 1.067 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/2.089, allocations: 4.772 MB / 1.072 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/2.092, allocations: 2.327 MB / 1.074 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005586/2.098, allocations: 0.7182 MB / 1.075 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009362/2.099, allocations: 143.4 kB / 1.075 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of SimCode: time 1.923e-06/2.099, allocations: 0 / 1.075 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of Templates: time 0.6853/2.784, allocations: 69.28 MB / 1.142 GB, free: 188.9 MB / 0.7917 GB