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/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.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.069/4.069, allocations: 433.4 MB / 440.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.832e-05, allocations: 5.5 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 98.72 MB / 0.6289 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6543/0.8287, allocations: 156.7 MB / 0.782 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.829, allocations: 85.8 kB / 0.7821 GB, free: 148.6 MB / 0.6511 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/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/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/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.06185/0.8909, allocations: 17.72 MB / 0.7994 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.055e-06/0.8909, allocations: 0 / 0.7994 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.161e-05/0.891, allocations: 11.58 kB / 0.7994 GB, free: 144.1 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.0009933/0.892, allocations: 0.6245 MB / 0.8 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.892, allocations: 7.875 kB / 0.8 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.8935, allocations: 157.9 kB / 0.8001 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.8941, allocations: 344.9 kB / 0.8005 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.8941, allocations: 11.81 kB / 0.8005 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.8942, allocations: 19.69 kB / 0.8005 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006839/0.8949, allocations: 330.8 kB / 0.8008 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.8957, allocations: 473.8 kB / 0.8013 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.8957, allocations: 3.938 kB / 0.8013 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.8958, allocations: 3.984 kB / 0.8013 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/0.8959, allocations: 32.39 kB / 0.8013 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.8983, allocations: 2.326 MB / 0.8036 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.8989, allocations: 254.7 kB / 0.8038 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.8991, allocations: 101 kB / 0.8039 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.8991, allocations: 5.547 kB / 0.8039 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.8992, allocations: 34.12 kB / 0.804 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.423e-06/0.8992, allocations: 0 / 0.804 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.001753/0.9009, allocations: 0.7906 MB / 0.8047 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.901, allocations: 55.39 kB / 0.8048 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.9013, allocations: 223.8 kB / 0.805 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.9013, allocations: 29.7 kB / 0.805 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.9014, allocations: 231.8 kB / 0.8052 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.9015, allocations: 82.75 kB / 0.8053 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.9015, allocations: 4 kB / 0.8053 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.9016, allocations: 334.8 kB / 0.8056 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.9018, allocations: 92.62 kB / 0.8057 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.902, allocations: 175.4 kB / 0.8059 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.9022, allocations: 121.1 kB / 0.806 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-06/0.9022, allocations: 4 kB / 0.806 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008292/0.9031, allocations: 397 kB / 0.8064 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9031, allocations: 8 kB / 0.8064 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.028e-06/0.9031, allocations: 0 / 0.8064 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.9036, allocations: 94.67 kB / 0.8065 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.9039, allocations: 59.91 kB / 0.8066 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.9065, allocations: 3.906 MB / 0.8104 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.9069, allocations: 11.95 kB / 0.8104 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.907, allocations: 16 kB / 0.8104 GB, free: 133.5 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.0001114/0.9071, allocations: 121 kB / 0.8105 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.9072, allocations: 27.72 kB / 0.8105 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.199e-05/0.9073, allocations: 37.95 kB / 0.8106 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-06/0.9073, allocations: 0 / 0.8106 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.961e-06/0.9073, allocations: 4 kB / 0.8106 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.169e-06/0.9073, allocations: 0 / 0.8106 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.9078, allocations: 342 kB / 0.8109 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9078, allocations: 0 / 0.8109 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.908, allocations: 35.98 kB / 0.8109 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.9084, allocations: 90.44 kB / 0.811 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.9085, allocations: 0 / 0.811 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.911, allocations: 3.894 MB / 0.8148 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.911, allocations: 0 / 0.8148 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.9119, allocations: 0.5275 MB / 0.8153 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.9121, allocations: 116.8 kB / 0.8155 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.9122, allocations: 7.938 kB / 0.8155 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.9124, allocations: 11.94 kB / 0.8155 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.9125, allocations: 23.91 kB / 0.8155 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.9125, allocations: 4 kB / 0.8155 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001831/0.9127, allocations: 174 kB / 0.8157 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.57e-07/0.9127, allocations: 4.062 kB / 0.8157 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006302/0.9134, allocations: 88 kB / 0.8157 GB, free: 127.5 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.0001299/0.9135, allocations: 99.23 kB / 0.8158 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007997/0.9143, allocations: 0.5601 MB / 0.8164 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9144, allocations: 0 / 0.8164 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.9149, allocations: 445.1 kB / 0.8168 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.9153, allocations: 52.3 kB / 0.8169 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.9164, allocations: 0.4897 MB / 0.8173 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.9167, allocations: 0.8421 MB / 0.8182 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.917, allocations: 55.23 kB / 0.8182 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.9171, allocations: 19.44 kB / 0.8182 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.651e-06/0.9171, allocations: 0 / 0.8182 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.009695/0.9268, allocations: 3.694 MB / 0.8218 GB, free: 121.2 MB / 0.6511 GB