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/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.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.012/4.012, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.635e-05, allocations: 0 / 0.5325 GB, free: 1.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5731/0.5731, allocations: 98.73 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.8712, allocations: 166.2 MB / 0.7912 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.8716, allocations: 91.83 kB / 0.7913 GB, free: 9.223 MB / 0.6667 GB [/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);. [/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.557/1.429, allocations: 36.54 MB / 0.827 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.926e-06/1.429, allocations: 0 / 0.827 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.956e-05/1.429, allocations: 19.94 kB / 0.827 GB, free: 154.2 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001538/1.43, allocations: 0.9112 MB / 0.8279 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.43, allocations: 12.02 kB / 0.8279 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004052/1.434, allocations: 0.6232 MB / 0.8285 GB, free: 152.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/1.436, allocations: 0.5812 MB / 0.8291 GB, free: 152 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/1.436, allocations: 16 kB / 0.8291 GB, free: 152 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.436, allocations: 36 kB / 0.8291 GB, free: 152 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/1.437, allocations: 0.6859 MB / 0.8298 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.439, allocations: 0.7934 MB / 0.8306 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/1.439, allocations: 0 / 0.8306 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/1.439, allocations: 0 / 0.8306 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/1.439, allocations: 45.28 kB / 0.8306 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/1.444, allocations: 3.415 MB / 0.8339 GB, free: 146.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/1.444, allocations: 378.8 kB / 0.8343 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/1.445, allocations: 176.8 kB / 0.8345 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/1.445, allocations: 7.828 kB / 0.8345 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.445, allocations: 34.56 kB / 0.8345 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.111e-06/1.445, allocations: 0 / 0.8345 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43): time 0.003092/1.448, allocations: 1.123 MB / 0.8356 GB, free: 145 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/1.448, allocations: 140.5 kB / 0.8357 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/1.449, allocations: 382.2 kB / 0.8361 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/1.449, allocations: 29.7 kB / 0.8361 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/1.449, allocations: 371.7 kB / 0.8365 GB, free: 144 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.449, allocations: 137.9 kB / 0.8366 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/1.449, allocations: 0 / 0.8366 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/1.449, allocations: 374.7 kB / 0.837 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/1.45, allocations: 173.1 kB / 0.8371 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/1.45, allocations: 303.4 kB / 0.8374 GB, free: 143 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/1.45, allocations: 221 kB / 0.8376 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.108e-06/1.45, allocations: 4 kB / 0.8376 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001819/1.452, allocations: 0.7248 MB / 0.8384 GB, free: 142 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/1.453, allocations: 1.221 MB / 0.8395 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.453, allocations: 4 kB / 0.8395 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.454, allocations: 232.9 kB / 0.8398 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/1.454, allocations: 127.8 kB / 0.8399 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/1.459, allocations: 5.739 MB / 0.8455 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007861/1.459, allocations: 47.91 kB / 0.8455 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/1.459, allocations: 16 kB / 0.8456 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.433e-06/1.459, allocations: 4 kB / 0.8456 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/1.461, allocations: 1.026 MB / 0.8466 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.461, allocations: 4.344 kB / 0.8466 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/1.461, allocations: 133 kB / 0.8467 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/1.462, allocations: 143.8 kB / 0.8468 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/1.467, allocations: 7.51 MB / 0.8542 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/1.468, allocations: 56.03 kB / 0.8542 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/1.468, allocations: 16 kB / 0.8542 GB, free: 124.4 MB / 0.6667 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.000181/1.468, allocations: 124.8 kB / 0.8544 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.468, allocations: 63.2 kB / 0.8544 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/1.468, allocations: 69.72 kB / 0.8545 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-06/1.468, allocations: 4 kB / 0.8545 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.578e-06/1.468, allocations: 0 / 0.8545 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.468, allocations: 3.984 kB / 0.8545 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/1.469, allocations: 0.5599 MB / 0.855 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.469, allocations: 3.953 kB / 0.855 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/1.47, allocations: 99.84 kB / 0.8551 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/1.471, allocations: 236.9 kB / 0.8554 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/1.471, allocations: 3.984 kB / 0.8554 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/1.477, allocations: 8.006 MB / 0.8632 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.477e-06/1.477, allocations: 0 / 0.8632 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.478, allocations: 0.7338 MB / 0.8639 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/1.479, allocations: 180.2 kB / 0.8641 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/1.479, allocations: 0 / 0.8641 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/1.479, allocations: 55.89 kB / 0.8641 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.479, allocations: 35.95 kB / 0.8642 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/1.48, allocations: 15.98 kB / 0.8642 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004094/1.48, allocations: 299 kB / 0.8645 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.24e-07/1.48, allocations: 0 / 0.8645 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001315/1.481, allocations: 260 kB / 0.8647 GB, free: 112.9 MB / 0.6667 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.0001944/1.481, allocations: 126.3 kB / 0.8648 GB, free: 112.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.484, allocations: 1.722 MB / 0.8665 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.358e-06/1.484, allocations: 4 kB / 0.8665 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.485, allocations: 0.8856 MB / 0.8674 GB, free: 110 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/1.486, allocations: 172.3 kB / 0.8675 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/1.488, allocations: 0.8721 MB / 0.8684 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/1.489, allocations: 0.9902 MB / 0.8694 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009143/1.49, allocations: 176.8 kB / 0.8695 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.49, allocations: 35.42 kB / 0.8696 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.807e-06/1.49, allocations: 0 / 0.8696 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.0248/1.514, allocations: 11.43 MB / 0.8807 GB, free: 96.33 MB / 0.6667 GB