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.01511/0.01511, allocations: 110 kB / 15.05 MB, free: 5.965 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.001843/0.001843, allocations: 178.9 kB / 15.94 MB, free: 5.93 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 1.832/1.832, allocations: 194.6 MB / 211.3 MB, free: 11.15 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.423/2.423, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 16 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5438, allocations: 98.71 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.269/0.8129, allocations: 157.5 MB / 0.8371 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004911/0.8134, allocations: 95.92 kB / 0.8372 GB, free: 0.5703 MB / 0.6511 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.09775/0.9112, allocations: 17.9 MB / 0.8547 GB, free: 14.4 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.322e-06/0.9112, allocations: 3.938 kB / 0.8547 GB, free: 14.39 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.589e-05/0.9113, allocations: 8 kB / 0.8547 GB, free: 14.39 MB / 0.6824 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.002621/0.914, allocations: 0.6666 MB / 0.8554 GB, free: 13.67 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 7.618e-05/0.9141, allocations: 12.02 kB / 0.8554 GB, free: 13.66 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.9175, allocations: 156 kB / 0.8555 GB, free: 13.51 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.9191, allocations: 346.2 kB / 0.8559 GB, free: 13.13 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.9192, allocations: 28.98 kB / 0.8559 GB, free: 13.1 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.9194, allocations: 28 kB / 0.8559 GB, free: 13.07 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.9218, allocations: 0.5236 MB / 0.8564 GB, free: 12.51 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.9218, allocations: 0 / 0.8564 GB, free: 12.51 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.922, allocations: 12 kB / 0.8564 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.9221, allocations: 32.58 kB / 0.8565 GB, free: 12.47 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.9241, allocations: 386.3 kB / 0.8568 GB, free: 12.09 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.9288, allocations: 2.419 MB / 0.8592 GB, free: 9.449 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.9296, allocations: 262.5 kB / 0.8595 GB, free: 9.184 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.9296, allocations: 4.344 kB / 0.8595 GB, free: 9.18 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.9296, allocations: 34.52 kB / 0.8595 GB, free: 9.137 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=20): time 3.249e-06/0.9297, allocations: 4 kB / 0.8595 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of matching and sorting (n=23): time 0.002663/0.9323, allocations: 1.024 MB / 0.8605 GB, free: 8.031 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.9324, allocations: 59.34 kB / 0.8605 GB, free: 7.961 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.9328, allocations: 259.7 kB / 0.8608 GB, free: 7.703 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.9329, allocations: 33.7 kB / 0.8608 GB, free: 7.664 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.9331, allocations: 231.6 kB / 0.861 GB, free: 7.43 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.9332, allocations: 86.77 kB / 0.8611 GB, free: 7.344 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.9332, allocations: 4 kB / 0.8611 GB, free: 7.34 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.9334, allocations: 342.8 kB / 0.8615 GB, free: 6.996 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.9337, allocations: 96.61 kB / 0.8616 GB, free: 6.898 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.934, allocations: 191.7 kB / 0.8617 GB, free: 6.676 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.9343, allocations: 129.1 kB / 0.8619 GB, free: 6.551 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-06/0.9343, allocations: 4 kB / 0.8619 GB, free: 6.547 MB / 0.6824 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001045/0.9354, allocations: 429.6 kB / 0.8623 GB, free: 6.113 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9354, allocations: 8.344 kB / 0.8623 GB, free: 6.105 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.001e-06/0.9354, allocations: 4 kB / 0.8623 GB, free: 6.102 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.936, allocations: 98.64 kB / 0.8624 GB, free: 5.996 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.9363, allocations: 63.84 kB / 0.8624 GB, free: 5.934 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.9408, allocations: 4.111 MB / 0.8665 GB, free: 1.422 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.9412, allocations: 8 kB / 0.8665 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.9412, allocations: 20 kB / 0.8665 GB, free: 1.395 MB / 0.6824 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.0003322/0.9416, allocations: 181.9 kB / 0.8667 GB, free: 1.207 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.9417, allocations: 31.62 kB / 0.8667 GB, free: 1.176 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.9418, allocations: 42.31 kB / 0.8667 GB, free: 1.137 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.914e-06/0.9418, allocations: 11.89 kB / 0.8667 GB, free: 1.125 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9418, allocations: 0 / 0.8667 GB, free: 1.125 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-06/0.9418, allocations: 3.984 kB / 0.8667 GB, free: 1.121 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.9425, allocations: 389.4 kB / 0.8671 GB, free: 0.6914 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-06/0.9425, allocations: 0 / 0.8671 GB, free: 0.6914 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.9428, allocations: 43.91 kB / 0.8672 GB, free: 0.6484 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.9432, allocations: 90.5 kB / 0.8672 GB, free: 0.5508 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.9433, allocations: 4 kB / 0.8672 GB, free: 0.5469 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004513/0.9478, allocations: 4.107 MB / 0.8713 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-06/0.9478, allocations: 0 / 0.8713 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.949, allocations: 0.5543 MB / 0.8718 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.9493, allocations: 125 kB / 0.8719 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.9493, allocations: 11.98 kB / 0.8719 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.9496, allocations: 8 kB / 0.8719 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.9497, allocations: 23.92 kB / 0.872 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.9497, allocations: 4 kB / 0.872 GB, free: 11.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003104/0.9501, allocations: 207.1 kB / 0.8722 GB, free: 11.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.182e-06/0.9501, allocations: 3.938 kB / 0.8722 GB, free: 11.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006725/0.9508, allocations: 96 kB / 0.8723 GB, free: 10.97 MB / 0.698 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.0001819/0.9509, allocations: 115.2 kB / 0.8724 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.9521, allocations: 0.5995 MB / 0.8729 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.823e-06/0.9521, allocations: 0 / 0.8729 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.9528, allocations: 471.9 kB / 0.8734 GB, free: 9.715 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.9534, allocations: 73.95 kB / 0.8735 GB, free: 9.648 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.9551, allocations: 0.8509 MB / 0.8743 GB, free: 8.766 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.9557, allocations: 0.8458 MB / 0.8751 GB, free: 7.895 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.956, allocations: 54.92 kB / 0.8752 GB, free: 7.844 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.9561, allocations: 23.44 kB / 0.8752 GB, free: 7.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.734e-06/0.9561, allocations: 0 / 0.8752 GB, free: 7.82 MB / 0.698 GB Notification: Performance of Templates: time 0.01245/0.9686, allocations: 4.122 MB / 0.8792 GB, free: 3.73 MB / 0.698 GB