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.00428/0.004285, allocations: 233.3 kB / 15.82 MB, free: 6.297 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.001191/0.001191, allocations: 177.5 kB / 16.71 MB, free: 5.453 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 3.877/3.877, allocations: 389 MB / 406.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.171/4.171, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007127/0.0007129, allocations: 12.2 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1874, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8359/1.023, allocations: 176.2 MB / 1.277 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/1.024, allocations: 95.17 kB / 1.277 GB, free: 14.65 MB / 0.6511 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 0.6148/1.639, allocations: 149.1 MB / 1.422 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.905e-06/1.639, allocations: 0 / 1.422 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0004676/1.639, allocations: 79.92 kB / 1.422 GB, free: 2.777 MB / 0.7761 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.01839/1.658, allocations: 4.209 MB / 1.427 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.658, allocations: 12.03 kB / 1.427 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/1.686, allocations: 3.222 MB / 1.43 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/1.699, allocations: 2.592 MB / 1.432 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007019/1.7, allocations: 461.7 kB / 1.433 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/1.701, allocations: 239.9 kB / 1.433 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/1.723, allocations: 4.825 MB / 1.438 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.863e-05/1.724, allocations: 11.94 kB / 1.438 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009944/1.725, allocations: 104 kB / 1.438 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002942/1.725, allocations: 144.8 kB / 1.438 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.752, allocations: 5.292 MB / 1.443 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04223/1.794, allocations: 14.89 MB / 1.458 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.814, allocations: 3.625 MB / 1.461 GB, free: 9.574 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00774/1.822, allocations: 1.596 MB / 1.463 GB, free: 7.98 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/1.822, allocations: 25.3 kB / 1.463 GB, free: 7.957 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008574/1.831, allocations: 1.911 MB / 1.465 GB, free: 5.984 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 5.62e-06/1.831, allocations: 4 kB / 1.465 GB, free: 5.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.827/2.658, allocations: 34.33 MB / 1.498 GB, free: 187.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003039/2.658, allocations: 0.8971 MB / 1.499 GB, free: 186.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/2.663, allocations: 2.288 MB / 1.501 GB, free: 186.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007419/2.664, allocations: 82.09 kB / 1.501 GB, free: 186.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001669/2.665, allocations: 1.43 MB / 1.503 GB, free: 186.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/2.667, allocations: 0.8232 MB / 1.503 GB, free: 185.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/2.667, allocations: 48.12 kB / 1.504 GB, free: 185.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001742/2.667, allocations: 400.5 kB / 1.504 GB, free: 185.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/2.678, allocations: 2.111 MB / 1.506 GB, free: 185.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/2.689, allocations: 2.508 MB / 1.508 GB, free: 184.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/2.7, allocations: 2.315 MB / 1.511 GB, free: 184.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/2.7, allocations: 2.219 kB / 1.511 GB, free: 184.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03624/2.737, allocations: 6.905 MB / 1.517 GB, free: 184.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/2.737, allocations: 153 kB / 1.518 GB, free: 183.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/2.737, allocations: 6.406 kB / 1.518 GB, free: 183.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01852/2.755, allocations: 2.954 MB / 1.52 GB, free: 183.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005425/2.761, allocations: 0.5788 MB / 1.521 GB, free: 183.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06342/2.824, allocations: 17.32 MB / 1.538 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00752/2.832, allocations: 427.9 kB / 1.538 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/2.832, allocations: 88.5 kB / 1.538 GB, free: 180.8 MB / 0.823 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.00243/2.835, allocations: 0.7215 MB / 1.539 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/2.836, allocations: 336.8 kB / 1.539 GB, free: 180.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009175/2.837, allocations: 383.3 kB / 1.54 GB, free: 180.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/2.837, allocations: 23.5 kB / 1.54 GB, free: 180.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.252e-05/2.837, allocations: 10.94 kB / 1.54 GB, free: 180.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/2.837, allocations: 11.06 kB / 1.54 GB, free: 180.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/2.844, allocations: 3.664 MB / 1.543 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/2.844, allocations: 1.688 kB / 1.543 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004759/2.849, allocations: 0.5055 MB / 1.544 GB, free: 180.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/2.865, allocations: 2.866 MB / 1.547 GB, free: 180 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006157/2.866, allocations: 53.14 kB / 1.547 GB, free: 180 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06217/2.928, allocations: 17.17 MB / 1.564 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.928, allocations: 0 / 1.564 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03161/2.96, allocations: 6.548 MB / 1.57 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/2.963, allocations: 0.7079 MB / 1.571 GB, free: 169.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/2.964, allocations: 45.94 kB / 1.571 GB, free: 169.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006765/2.971, allocations: 426.6 kB / 1.571 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001865/2.973, allocations: 365.5 kB / 1.571 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003993/2.973, allocations: 69.53 kB / 1.571 GB, free: 169 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003245/2.976, allocations: 1.52 MB / 1.573 GB, free: 168.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.21e-07/2.976, allocations: 1.406 kB / 1.573 GB, free: 168.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005161/2.982, allocations: 1.064 MB / 1.574 GB, free: 168.4 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) * 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.0008004/2.982, allocations: 194.9 kB / 1.574 GB, free: 168.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.04192/3.024, allocations: 6.842 MB / 1.581 GB, free: 165.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/3.024, allocations: 0 / 1.581 GB, free: 165.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.03134/3.056, allocations: 4.215 MB / 1.585 GB, free: 164.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008265/3.064, allocations: 1.06 MB / 1.586 GB, free: 164.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/3.088, allocations: 7.738 MB / 1.594 GB, free: 160.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/3.091, allocations: 2.3 MB / 1.596 GB, free: 159.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004216/3.095, allocations: 0.5129 MB / 1.596 GB, free: 159.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/3.097, allocations: 175.7 kB / 1.597 GB, free: 159.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.944e-06/3.097, allocations: 0 / 1.597 GB, free: 159.3 MB / 0.823 GB Notification: Performance of Templates: time 0.1704/3.267, allocations: 71.34 MB / 1.666 GB, free: 111.3 MB / 0.823 GB