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.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadModel(Buildings): time 4.035/4.035, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.464e-05, allocations: 3.281 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7305/0.9037, allocations: 166.8 MB / 0.7976 GB, free: 58.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.9041, allocations: 88.12 kB / 0.7977 GB, free: 58.21 MB / 0.6511 GB [/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);. [/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.1262/1.03, allocations: 36.78 MB / 0.8337 GB, free: 53.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.896e-06/1.03, allocations: 0 / 0.8337 GB, free: 53.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.034e-05/1.03, allocations: 11.72 kB / 0.8337 GB, free: 53.07 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001583/1.032, allocations: 0.904 MB / 0.8345 GB, free: 52.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.032, allocations: 15.72 kB / 0.8346 GB, free: 52.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/1.036, allocations: 0.62 MB / 0.8352 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/1.038, allocations: 0.5907 MB / 0.8357 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/1.038, allocations: 39.28 kB / 0.8358 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.038, allocations: 49.14 kB / 0.8358 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.04, allocations: 0.8666 MB / 0.8367 GB, free: 51.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.04, allocations: 7.891 kB / 0.8367 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/1.04, allocations: 21.44 kB / 0.8367 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/1.04, allocations: 40.17 kB / 0.8367 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.041, allocations: 0.7377 MB / 0.8375 GB, free: 51.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/1.046, allocations: 3.558 MB / 0.8409 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.047, allocations: 391.8 kB / 0.8413 GB, free: 48.56 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/1.048, allocations: 176.4 kB / 0.8415 GB, free: 48.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/1.048, allocations: 3.844 kB / 0.8415 GB, free: 48.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/1.048, allocations: 42.41 kB / 0.8415 GB, free: 48.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.536e-06/1.048, allocations: 0 / 0.8415 GB, free: 48.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.005688/1.054, allocations: 1.594 MB / 0.8431 GB, free: 47.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.054, allocations: 136.4 kB / 0.8432 GB, free: 47.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/1.054, allocations: 0.4923 MB / 0.8437 GB, free: 47.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/1.055, allocations: 33.2 kB / 0.8437 GB, free: 47.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.055, allocations: 352.7 kB / 0.8441 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/1.055, allocations: 155.2 kB / 0.8442 GB, free: 47.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/1.055, allocations: 14.38 kB / 0.8442 GB, free: 47.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.055, allocations: 371.2 kB / 0.8446 GB, free: 46.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/1.056, allocations: 190.5 kB / 0.8448 GB, free: 46.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/1.056, allocations: 314.7 kB / 0.8451 GB, free: 46.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/1.056, allocations: 229.4 kB / 0.8453 GB, free: 46.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/1.056, allocations: 0 / 0.8453 GB, free: 46.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002094/1.059, allocations: 0.788 MB / 0.846 GB, free: 46.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/1.059, allocations: 1.219 MB / 0.8472 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.059, allocations: 3.906 kB / 0.8472 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.06, allocations: 246.4 kB / 0.8475 GB, free: 45.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/1.061, allocations: 129.4 kB / 0.8476 GB, free: 45.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/1.065, allocations: 5.911 MB / 0.8534 GB, free: 39.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/1.066, allocations: 54.27 kB / 0.8534 GB, free: 39.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/1.066, allocations: 19.22 kB / 0.8534 GB, free: 39.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.066, allocations: 64 / 0.8534 GB, free: 39.45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001886/1.068, allocations: 0.9043 MB / 0.8543 GB, free: 38.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.299e-06/1.068, allocations: 12.19 kB / 0.8543 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/1.069, allocations: 204.9 kB / 0.8545 GB, free: 38.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/1.07, allocations: 133.3 kB / 0.8547 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/1.075, allocations: 8.111 MB / 0.8626 GB, free: 30.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.076, allocations: 50.7 kB / 0.8626 GB, free: 30.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/1.076, allocations: 23.06 kB / 0.8626 GB, free: 30.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002604/1.077, allocations: 138.7 kB / 0.8628 GB, free: 30.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.077, allocations: 70.31 kB / 0.8628 GB, free: 30.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/1.077, allocations: 76.72 kB / 0.8629 GB, free: 30.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.489e-06/1.077, allocations: 3.906 kB / 0.8629 GB, free: 30.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.077, allocations: 3.906 kB / 0.8629 GB, free: 30.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.077, allocations: 3.984 kB / 0.8629 GB, free: 30.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/1.078, allocations: 0.6518 MB / 0.8636 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.078, allocations: 0 / 0.8636 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/1.079, allocations: 93.23 kB / 0.8637 GB, free: 30.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/1.08, allocations: 252.5 kB / 0.8639 GB, free: 30.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/1.08, allocations: 11.11 kB / 0.8639 GB, free: 30.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/1.086, allocations: 8.35 MB / 0.8721 GB, free: 22.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.328e-06/1.086, allocations: 4.125 kB / 0.8721 GB, free: 22.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.088, allocations: 0.7889 MB / 0.8728 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/1.089, allocations: 181 kB / 0.873 GB, free: 21.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.089, allocations: 10.91 kB / 0.873 GB, free: 21.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/1.089, allocations: 54.48 kB / 0.8731 GB, free: 21.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.09, allocations: 42.73 kB / 0.8731 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/1.09, allocations: 11.47 kB / 0.8731 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005845/1.09, allocations: 396 kB / 0.8735 GB, free: 21.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.316e-06/1.09, allocations: 0 / 0.8735 GB, free: 21.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001322/1.092, allocations: 307 kB / 0.8738 GB, free: 21.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002059/1.092, allocations: 123.7 kB / 0.8739 GB, free: 21.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002876/1.095, allocations: 1.83 MB / 0.8757 GB, free: 20.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.882e-06/1.095, allocations: 0 / 0.8757 GB, free: 20.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/1.096, allocations: 0.9337 MB / 0.8766 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.097, allocations: 203.5 kB / 0.8768 GB, free: 19.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/1.099, allocations: 0.9069 MB / 0.8777 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/1.1, allocations: 0.9916 MB / 0.8787 GB, free: 18.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001089/1.101, allocations: 183.4 kB / 0.8788 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/1.101, allocations: 38.86 kB / 0.8789 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.769e-06/1.101, allocations: 0 / 0.8789 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.02887/1.13, allocations: 13.22 MB / 0.8918 GB, free: 11.98 MB / 0.6511 GB