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.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadModel(Buildings): time 4.114/4.114, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.405e-05/4.418e-05, allocations: 3.75 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2627, allocations: 98.72 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6907/0.9535, allocations: 157.4 MB / 0.7884 GB, free: 58.29 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.9538, allocations: 91.16 kB / 0.7885 GB, free: 58.29 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/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@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/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.06227/1.016, allocations: 17.78 MB / 0.8059 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.158e-06/1.016, allocations: 0 / 0.8059 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.912e-05/1.016, allocations: 11.78 kB / 0.8059 GB, free: 55.88 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001081/1.017, allocations: 0.6293 MB / 0.8065 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.017, allocations: 11.69 kB / 0.8065 GB, free: 55.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/1.019, allocations: 157.5 kB / 0.8067 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/1.019, allocations: 347 kB / 0.807 GB, free: 55.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/1.02, allocations: 20.09 kB / 0.807 GB, free: 55.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/1.02, allocations: 35.28 kB / 0.8071 GB, free: 55.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/1.021, allocations: 0.5082 MB / 0.8075 GB, free: 54.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.021, allocations: 3.906 kB / 0.8076 GB, free: 54.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/1.021, allocations: 18.64 kB / 0.8076 GB, free: 54.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/1.021, allocations: 31.64 kB / 0.8076 GB, free: 54.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/1.021, allocations: 370.6 kB / 0.808 GB, free: 54.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/1.024, allocations: 2.41 MB / 0.8103 GB, free: 53.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/1.025, allocations: 261.8 kB / 0.8106 GB, free: 53.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.025, allocations: 110.9 kB / 0.8107 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/1.025, allocations: 3.953 kB / 0.8107 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/1.025, allocations: 38.34 kB / 0.8107 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.259e-06/1.025, allocations: 0 / 0.8107 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002167/1.027, allocations: 0.8487 MB / 0.8115 GB, free: 52.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/1.027, allocations: 55.28 kB / 0.8116 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/1.028, allocations: 263.6 kB / 0.8118 GB, free: 52.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/1.028, allocations: 33.2 kB / 0.8119 GB, free: 52.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.028, allocations: 236 kB / 0.8121 GB, free: 52.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/1.028, allocations: 84.64 kB / 0.8122 GB, free: 52.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/1.028, allocations: 3.688 kB / 0.8122 GB, free: 52.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.297e-05/1.028, allocations: 348.3 kB / 0.8125 GB, free: 51.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.028, allocations: 100.8 kB / 0.8126 GB, free: 51.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/1.029, allocations: 185.1 kB / 0.8128 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/1.029, allocations: 135.7 kB / 0.8129 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-06/1.029, allocations: 0 / 0.8129 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008887/1.03, allocations: 424.9 kB / 0.8133 GB, free: 51.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.03, allocations: 11.27 kB / 0.8133 GB, free: 51.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.03, allocations: 3.906 kB / 0.8133 GB, free: 51.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/1.03, allocations: 90.45 kB / 0.8134 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/1.031, allocations: 64.88 kB / 0.8135 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/1.034, allocations: 4.072 MB / 0.8175 GB, free: 47.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/1.034, allocations: 19.59 kB / 0.8175 GB, free: 47.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/1.034, allocations: 15.88 kB / 0.8175 GB, free: 47.92 MB / 0.6511 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 () * 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.0001171/1.034, allocations: 123 kB / 0.8176 GB, free: 47.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/1.034, allocations: 27.34 kB / 0.8176 GB, free: 47.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.034, allocations: 38.78 kB / 0.8177 GB, free: 47.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/1.034, allocations: 7.859 kB / 0.8177 GB, free: 47.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.796e-06/1.034, allocations: 0 / 0.8177 GB, free: 47.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-06/1.034, allocations: 144 / 0.8177 GB, free: 47.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/1.035, allocations: 409 kB / 0.8181 GB, free: 47.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-06/1.035, allocations: 0 / 0.8181 GB, free: 47.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/1.035, allocations: 33.77 kB / 0.8181 GB, free: 47.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/1.036, allocations: 88.02 kB / 0.8182 GB, free: 47.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.036, allocations: 0 / 0.8182 GB, free: 47.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/1.039, allocations: 4.071 MB / 0.8222 GB, free: 43.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.903e-06/1.039, allocations: 0 / 0.8222 GB, free: 43.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.04, allocations: 0.5417 MB / 0.8227 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/1.04, allocations: 127.1 kB / 0.8228 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/1.04, allocations: 8.328 kB / 0.8228 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/1.041, allocations: 6.562 kB / 0.8228 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/1.041, allocations: 31.53 kB / 0.8229 GB, free: 43.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/1.041, allocations: 8.281 kB / 0.8229 GB, free: 43.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000269/1.041, allocations: 211.2 kB / 0.8231 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.49e-07/1.041, allocations: 0 / 0.8231 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006526/1.042, allocations: 100.9 kB / 0.8232 GB, free: 43.36 MB / 0.6511 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 () * 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.0001555/1.042, allocations: 111.7 kB / 0.8233 GB, free: 43.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009011/1.043, allocations: 0.5906 MB / 0.8238 GB, free: 42.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.285e-06/1.043, allocations: 3.906 kB / 0.8238 GB, free: 42.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/1.043, allocations: 469.5 kB / 0.8243 GB, free: 42.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/1.044, allocations: 67.59 kB / 0.8244 GB, free: 42.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/1.045, allocations: 0.5114 MB / 0.8249 GB, free: 42.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.045, allocations: 0.8377 MB / 0.8257 GB, free: 41.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002946/1.046, allocations: 61.8 kB / 0.8257 GB, free: 41.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/1.046, allocations: 23.03 kB / 0.8258 GB, free: 41.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.763e-06/1.046, allocations: 0 / 0.8258 GB, free: 41.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.01162/1.057, allocations: 4.125 MB / 0.8298 GB, free: 41.34 MB / 0.6511 GB