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.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00415/0.004154, allocations: 226.2 kB / 15.82 MB, free: 6.301 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.001127/0.001127, allocations: 177.3 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.64/3.64, allocations: 389.1 MB / 406.5 MB, free: 6.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.545/4.545, allocations: 472.3 MB / 0.9024 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004906, allocations: 16 kB / 1.008 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 98.69 MB / 1.105 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8114/1.024, allocations: 157.5 MB / 1.258 GB, free: 171.8 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/1.024, allocations: 92.27 kB / 1.259 GB, free: 171.8 MB / 0.7917 GB [/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);. [/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/DC/Sensors/GeneralizedSensor.mo:39:3-39: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/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/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.0633/1.088, allocations: 17.91 MB / 1.276 GB, free: 157.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.254e-06/1.088, allocations: 0 / 1.276 GB, free: 157.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.112e-05/1.088, allocations: 11.44 kB / 1.276 GB, free: 157.2 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001412/1.089, allocations: 0.6636 MB / 1.277 GB, free: 156.5 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.089, allocations: 8.031 kB / 1.277 GB, free: 156.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.091, allocations: 154.8 kB / 1.277 GB, free: 156.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/1.092, allocations: 345 kB / 1.277 GB, free: 156 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/1.092, allocations: 27.25 kB / 1.277 GB, free: 156 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/1.092, allocations: 33.12 kB / 1.277 GB, free: 156 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.093, allocations: 0.5221 MB / 1.278 GB, free: 155.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/1.093, allocations: 0 / 1.278 GB, free: 155.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/1.093, allocations: 18.62 kB / 1.278 GB, free: 155.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/1.093, allocations: 25.33 kB / 1.278 GB, free: 155.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/1.094, allocations: 383.1 kB / 1.278 GB, free: 155.3 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/1.097, allocations: 2.422 MB / 1.28 GB, free: 152.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/1.098, allocations: 257.8 kB / 1.281 GB, free: 152.7 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/1.098, allocations: 116.2 kB / 1.281 GB, free: 152.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/1.098, allocations: 0 / 1.281 GB, free: 152.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.098, allocations: 37.66 kB / 1.281 GB, free: 152.6 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/1.098, allocations: 0 / 1.281 GB, free: 152.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=23): time 0.002843/1.101, allocations: 1.029 MB / 1.282 GB, free: 151.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/1.101, allocations: 58.53 kB / 1.282 GB, free: 151.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/1.102, allocations: 295.7 kB / 1.282 GB, free: 151.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/1.102, allocations: 28.77 kB / 1.282 GB, free: 151.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.102, allocations: 227.3 kB / 1.282 GB, free: 151.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/1.102, allocations: 83.69 kB / 1.283 GB, free: 151.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/1.102, allocations: 7.25 kB / 1.283 GB, free: 151.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/1.102, allocations: 334.5 kB / 1.283 GB, free: 150.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/1.102, allocations: 107.5 kB / 1.283 GB, free: 150.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/1.103, allocations: 194.5 kB / 1.283 GB, free: 150.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/1.103, allocations: 128.9 kB / 1.283 GB, free: 150.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.103, allocations: 1.906 kB / 1.283 GB, free: 150.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001069/1.104, allocations: 433.1 kB / 1.284 GB, free: 150.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.104, allocations: 7.938 kB / 1.284 GB, free: 150.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.104, allocations: 7.328 kB / 1.284 GB, free: 150.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/1.105, allocations: 103.5 kB / 1.284 GB, free: 150 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/1.105, allocations: 62.88 kB / 1.284 GB, free: 150 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/1.109, allocations: 4.077 MB / 1.288 GB, free: 145.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/1.109, allocations: 12.62 kB / 1.288 GB, free: 145.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/1.109, allocations: 15.06 kB / 1.288 GB, free: 145.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003118/1.109, allocations: 182.7 kB / 1.288 GB, free: 145.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/1.11, allocations: 35.58 kB / 1.288 GB, free: 145.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/1.11, allocations: 42.62 kB / 1.288 GB, free: 145.5 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/1.11, allocations: 8.594 kB / 1.288 GB, free: 145.5 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.11, allocations: 0 / 1.288 GB, free: 145.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.11, allocations: 0 / 1.288 GB, free: 145.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/1.11, allocations: 396.4 kB / 1.289 GB, free: 145.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.11, allocations: 0.5312 kB / 1.289 GB, free: 145.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/1.111, allocations: 33.42 kB / 1.289 GB, free: 145.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/1.111, allocations: 92.89 kB / 1.289 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.111, allocations: 8.812 kB / 1.289 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003166/1.114, allocations: 4.061 MB / 1.293 GB, free: 140.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.114, allocations: 1 kB / 1.293 GB, free: 140.8 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.116, allocations: 0.5542 MB / 1.293 GB, free: 140.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/1.116, allocations: 123.4 kB / 1.293 GB, free: 140.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/1.116, allocations: 11.14 kB / 1.293 GB, free: 140.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/1.116, allocations: 8.469 kB / 1.293 GB, free: 140.2 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.117, allocations: 26.53 kB / 1.293 GB, free: 140.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/1.117, allocations: 8 kB / 1.293 GB, free: 140.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002834/1.117, allocations: 208.9 kB / 1.294 GB, free: 140 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.51e-07/1.117, allocations: 0 / 1.294 GB, free: 140 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007108/1.118, allocations: 101.7 kB / 1.294 GB, free: 139.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/1.118, allocations: 107.2 kB / 1.294 GB, free: 139.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001166/1.119, allocations: 0.6064 MB / 1.294 GB, free: 139.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.119, allocations: 0 / 1.294 GB, free: 139.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/1.12, allocations: 474.1 kB / 1.295 GB, free: 138.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/1.12, allocations: 80.3 kB / 1.295 GB, free: 138.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.122, allocations: 0.8546 MB / 1.296 GB, free: 138 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.122, allocations: 0.8399 MB / 1.296 GB, free: 137.1 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003745/1.123, allocations: 67.78 kB / 1.297 GB, free: 137 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/1.123, allocations: 23.44 kB / 1.297 GB, free: 137 MB / 0.7917 GB Notification: Performance of SimCode: time 1.532e-06/1.123, allocations: 0 / 1.297 GB, free: 137 MB / 0.7917 GB Notification: Performance of Templates: time 0.01203/1.135, allocations: 4.123 MB / 1.301 GB, free: 133.1 MB / 0.7917 GB