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.DCLinesLinearized.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.264/4.264, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.854e-05, allocations: 4.672 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1745, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7639/0.9385, allocations: 176.1 MB / 0.8067 GB, free: 56.03 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.9388, allocations: 86.55 kB / 0.8068 GB, free: 56.03 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.5233/1.462, allocations: 149.2 MB / 0.9524 GB, free: 15.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/1.462, allocations: 0 / 0.9524 GB, free: 15.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000387/1.463, allocations: 79.86 kB / 0.9525 GB, free: 15.07 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01292/1.475, allocations: 3.683 MB / 0.9561 GB, free: 11.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.476, allocations: 11.97 kB / 0.9561 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/1.499, allocations: 3.218 MB / 0.9592 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009802/1.508, allocations: 2.561 MB / 0.9617 GB, free: 5.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/1.509, allocations: 465.7 kB / 0.9622 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/1.51, allocations: 232 kB / 0.9624 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/1.522, allocations: 3.944 MB / 0.9663 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-05/1.522, allocations: 0 / 0.9663 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005569/1.523, allocations: 104 kB / 0.9664 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000261/1.523, allocations: 148.8 kB / 0.9665 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/1.533, allocations: 3.6 MB / 0.97 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03396/1.567, allocations: 14.86 MB / 0.9845 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/1.576, allocations: 2.683 MB / 0.9871 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/1.578, allocations: 1.112 MB / 0.9882 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.579, allocations: 29.28 kB / 0.9883 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003177/1.582, allocations: 1.425 MB / 0.9897 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 5.815e-06/1.582, allocations: 0 / 0.9897 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.1472/1.729, allocations: 29.56 MB / 1.019 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005941/1.73, allocations: 0.9022 MB / 1.019 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/1.734, allocations: 1.951 MB / 1.021 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006354/1.735, allocations: 85.69 kB / 1.021 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001896/1.737, allocations: 1.426 MB / 1.023 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.738, allocations: 0.8201 MB / 1.024 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/1.739, allocations: 48 kB / 1.024 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.739, allocations: 402.6 kB / 1.024 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/1.743, allocations: 1.414 MB / 1.025 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/1.747, allocations: 1.797 MB / 1.027 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/1.751, allocations: 1.611 MB / 1.029 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.751, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01794/1.769, allocations: 5.475 MB / 1.034 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.769, allocations: 149.9 kB / 1.034 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.769, allocations: 4 kB / 1.034 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/1.783, allocations: 2.883 MB / 1.037 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/1.787, allocations: 0.5812 MB / 1.038 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05132/1.838, allocations: 16.97 MB / 1.054 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.844, allocations: 419.5 kB / 1.055 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/1.845, allocations: 91.97 kB / 1.055 GB, free: 3.883 MB / 0.7917 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 (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.0008314/1.845, allocations: 255.3 kB / 1.055 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.846, allocations: 332.1 kB / 1.055 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.847, allocations: 388 kB / 1.056 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.847, allocations: 24 kB / 1.056 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/1.848, allocations: 12 kB / 1.056 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/1.848, allocations: 15.95 kB / 1.056 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007992/1.856, allocations: 3.655 MB / 1.059 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/1.856, allocations: 0 / 1.059 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003495/1.859, allocations: 0.4955 MB / 1.06 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/1.872, allocations: 2.804 MB / 1.062 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006121/1.873, allocations: 51.97 kB / 1.062 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04811/1.921, allocations: 16.8 MB / 1.079 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.921, allocations: 4 kB / 1.079 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/1.937, allocations: 5.121 MB / 1.084 GB, free: 5.543 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.94, allocations: 0.7039 MB / 1.085 GB, free: 4.816 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/1.941, allocations: 55.94 kB / 1.085 GB, free: 4.762 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004697/1.946, allocations: 419.5 kB / 1.085 GB, free: 4.352 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003055/1.949, allocations: 370.7 kB / 1.085 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008851/1.95, allocations: 71.97 kB / 1.085 GB, free: 3.918 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007776/1.958, allocations: 1.49 MB / 1.087 GB, free: 2.426 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.949e-06/1.958, allocations: 0 / 1.087 GB, free: 2.426 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009562/1.967, allocations: 1.066 MB / 1.088 GB, free: 1.359 MB / 0.823 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 (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.00137/1.969, allocations: 187.4 kB / 1.088 GB, free: 1.164 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.5463/2.515, allocations: 5.383 MB / 1.093 GB, free: 206.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.515, allocations: 2.625 kB / 1.093 GB, free: 206.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01706/2.532, allocations: 3.471 MB / 1.097 GB, free: 205.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00642/2.539, allocations: 0.9984 MB / 1.098 GB, free: 205.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/2.554, allocations: 5.023 MB / 1.103 GB, free: 204.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003766/2.558, allocations: 2.299 MB / 1.105 GB, free: 204.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003982/2.562, allocations: 0.5146 MB / 1.105 GB, free: 204.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.563, allocations: 179.4 kB / 1.106 GB, free: 204.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.894e-06/2.563, allocations: 0 / 1.106 GB, free: 204.1 MB / 0.823 GB Notification: Performance of Templates: time 0.1567/2.72, allocations: 71.3 MB / 1.175 GB, free: 201.5 MB / 0.823 GB