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.004247/0.004252, allocations: 234.9 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.001159/0.001159, allocations: 175.1 kB / 16.7 MB, free: 5.457 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.844/3.844, allocations: 389.1 MB / 406.5 MB, free: 11.82 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 3.928/3.928, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008763/0.0008765, allocations: 12 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2596, allocations: 98.72 MB / 1.105 GB, free: 10.72 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8519/1.112, allocations: 176.1 MB / 1.277 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/1.112, allocations: 98.62 kB / 1.277 GB, free: 3.648 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.6577/1.77, allocations: 147.5 MB / 1.421 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.897e-06/1.77, allocations: 0 / 1.421 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005594/1.77, allocations: 75.98 kB / 1.421 GB, free: 7.879 MB / 0.7917 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.01817/1.789, allocations: 3.944 MB / 1.425 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.789, allocations: 8.75 kB / 1.425 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02906/1.818, allocations: 3.23 MB / 1.428 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/1.828, allocations: 2.319 MB / 1.43 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/1.829, allocations: 184.7 kB / 1.43 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/1.83, allocations: 232 kB / 1.43 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/1.852, allocations: 4.708 MB / 1.435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.542e-05/1.853, allocations: 0 / 1.435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007101/1.853, allocations: 99.98 kB / 1.435 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002915/1.854, allocations: 152.8 kB / 1.435 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/1.88, allocations: 5.218 MB / 1.44 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04161/1.922, allocations: 14.39 MB / 1.454 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/1.944, allocations: 3.799 MB / 1.458 GB, free: 76 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5756/2.52, allocations: 1.509 MB / 1.46 GB, free: 189.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/2.52, allocations: 26.64 kB / 1.46 GB, free: 189.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00852/2.529, allocations: 1.829 MB / 1.461 GB, free: 189.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 7.013e-06/2.529, allocations: 0 / 1.461 GB, free: 189.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.2477/2.776, allocations: 33.6 MB / 1.494 GB, free: 187.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000309/2.777, allocations: 0.9035 MB / 1.495 GB, free: 186.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/2.783, allocations: 2.288 MB / 1.497 GB, free: 186.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007191/2.784, allocations: 84.05 kB / 1.497 GB, free: 186.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/2.786, allocations: 1.428 MB / 1.499 GB, free: 185.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/2.787, allocations: 0.8162 MB / 1.5 GB, free: 185.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/2.788, allocations: 48.19 kB / 1.5 GB, free: 185.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002/2.788, allocations: 403.5 kB / 1.5 GB, free: 185.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009995/2.798, allocations: 1.92 MB / 1.502 GB, free: 185 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/2.808, allocations: 2.325 MB / 1.504 GB, free: 184.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009623/2.818, allocations: 2.148 MB / 1.506 GB, free: 184.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/2.818, allocations: 1.594 kB / 1.506 GB, free: 184.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02936/2.848, allocations: 6.183 MB / 1.512 GB, free: 183.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/2.848, allocations: 407.7 kB / 1.513 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/2.848, allocations: 5.875 kB / 1.513 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/2.859, allocations: 1.85 MB / 1.515 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005551/2.865, allocations: 0.5863 MB / 1.515 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03418/2.899, allocations: 14.16 MB / 1.529 GB, free: 180.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007211/2.906, allocations: 404.2 kB / 1.529 GB, free: 180.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006562/2.907, allocations: 93.28 kB / 1.529 GB, free: 180.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/2.907, allocations: 7.875 kB / 1.529 GB, free: 180.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0259/2.933, allocations: 5.765 MB / 1.535 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/2.933, allocations: 6.625 kB / 1.535 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009147/2.942, allocations: 1.826 MB / 1.537 GB, free: 179.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/2.948, allocations: 0.6115 MB / 1.537 GB, free: 179.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03245/2.98, allocations: 13.43 MB / 1.551 GB, free: 174.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007138/2.988, allocations: 418.9 kB / 1.551 GB, free: 174.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006407/2.988, allocations: 86.45 kB / 1.551 GB, free: 174.1 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 (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.002839/2.991, allocations: 0.7937 MB / 1.552 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/2.992, allocations: 335.8 kB / 1.552 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/2.993, allocations: 395.7 kB / 1.553 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/2.993, allocations: 26.47 kB / 1.553 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-05/2.994, allocations: 7.312 kB / 1.553 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/2.994, allocations: 14.44 kB / 1.553 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/3, allocations: 3.199 MB / 1.556 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/3, allocations: 2.531 kB / 1.556 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004972/3.005, allocations: 0.523 MB / 1.556 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/3.017, allocations: 1.727 MB / 1.558 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006577/3.017, allocations: 51.16 kB / 1.558 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03472/3.052, allocations: 13.92 MB / 1.572 GB, free: 164 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/3.052, allocations: 0 / 1.572 GB, free: 164 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02738/3.079, allocations: 5.79 MB / 1.577 GB, free: 162.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/3.082, allocations: 0.6724 MB / 1.578 GB, free: 161.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/3.084, allocations: 53.58 kB / 1.578 GB, free: 161.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006732/3.091, allocations: 412.4 kB / 1.578 GB, free: 161.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001597/3.092, allocations: 318.3 kB / 1.579 GB, free: 161.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004623/3.093, allocations: 68.55 kB / 1.579 GB, free: 161.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003727/3.097, allocations: 1.52 MB / 1.58 GB, free: 161 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.61e-07/3.097, allocations: 4 kB / 1.58 GB, free: 161 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008675/3.105, allocations: 1.654 MB / 1.582 GB, free: 160.9 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 (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.0009198/3.106, allocations: 191.7 kB / 1.582 GB, free: 160.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.04113/3.148, allocations: 10.09 MB / 1.592 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/3.148, allocations: 4.281 kB / 1.592 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01459/3.162, allocations: 3.494 MB / 1.595 GB, free: 155.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008687/3.171, allocations: 1.067 MB / 1.596 GB, free: 155.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/3.194, allocations: 7.567 MB / 1.604 GB, free: 149.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/3.198, allocations: 2.373 MB / 1.606 GB, free: 147.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005443/3.203, allocations: 0.6352 MB / 1.607 GB, free: 146.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/3.205, allocations: 189.7 kB / 1.607 GB, free: 146.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/3.205, allocations: 4 kB / 1.607 GB, free: 146.8 MB / 0.823 GB Notification: Performance of Templates: time 0.18/3.385, allocations: 75.41 MB / 1.68 GB, free: 85.52 MB / 0.823 GB