Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadModel(Buildings): time 3.576/3.576, allocations: 402 MB / 416 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.124e-05, allocations: 4 kB / 0.5003 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 92.69 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6234/0.796, allocations: 153.1 MB / 0.7403 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.7963, allocations: 91.95 kB / 0.7404 GB, free: 5.23 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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 5.0.1/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 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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 5.0.1/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 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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.06377/0.8601, allocations: 17.78 MB / 0.7578 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.806e-06/0.8602, allocations: 0 / 0.7578 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.075e-05/0.8602, allocations: 19.94 kB / 0.7578 GB, free: 3.184 MB / 0.6198 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.001224/0.8614, allocations: 0.6166 MB / 0.7584 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8615, allocations: 16.02 kB / 0.7584 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.863, allocations: 159.3 kB / 0.7586 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.8638, allocations: 338.2 kB / 0.7589 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.8638, allocations: 25 kB / 0.7589 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.8639, allocations: 36 kB / 0.759 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.8651, allocations: 0.5158 MB / 0.7595 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.8651, allocations: 0 / 0.7595 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.8652, allocations: 20 kB / 0.7595 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.8653, allocations: 32.58 kB / 0.7595 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.8661, allocations: 394.2 kB / 0.7599 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.8694, allocations: 1.84 MB / 0.7617 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.8701, allocations: 264.9 kB / 0.7619 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.8702, allocations: 3.953 kB / 0.7619 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.8702, allocations: 38.56 kB / 0.762 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.624e-06/0.8702, allocations: 0 / 0.762 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.002723/0.873, allocations: 1.028 MB / 0.763 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.873, allocations: 51.41 kB / 0.763 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.8735, allocations: 267.7 kB / 0.7633 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.8735, allocations: 29.7 kB / 0.7633 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.8737, allocations: 239.5 kB / 0.7636 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.8738, allocations: 78.84 kB / 0.7636 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.8739, allocations: 8 kB / 0.7636 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.8741, allocations: 334.8 kB / 0.764 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.8743, allocations: 100.6 kB / 0.764 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.8747, allocations: 191.7 kB / 0.7642 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.875, allocations: 134.3 kB / 0.7644 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-06/0.875, allocations: 3.938 kB / 0.7644 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00108/0.8761, allocations: 432.7 kB / 0.7648 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.8761, allocations: 8 kB / 0.7648 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.8762, allocations: 4 kB / 0.7648 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.8767, allocations: 102.7 kB / 0.7649 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.8771, allocations: 63.86 kB / 0.7649 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.8816, allocations: 4.111 MB / 0.769 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.882, allocations: 8 kB / 0.769 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.8821, allocations: 12.25 kB / 0.769 GB, free: 6.945 MB / 0.6355 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.0003258/0.8824, allocations: 181.7 kB / 0.7692 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.8825, allocations: 31.67 kB / 0.7692 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.8826, allocations: 42.25 kB / 0.7692 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.939e-06/0.8826, allocations: 4 kB / 0.7692 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.262e-06/0.8826, allocations: 0 / 0.7692 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-06/0.8826, allocations: 0 / 0.7692 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.8833, allocations: 397.4 kB / 0.7696 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-06/0.8833, allocations: 4 kB / 0.7696 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.8836, allocations: 35.92 kB / 0.7696 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.884, allocations: 90.5 kB / 0.7697 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.8841, allocations: 3.953 kB / 0.7697 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.8885, allocations: 4.111 MB / 0.7737 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8885, allocations: 0 / 0.7737 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8897, allocations: 0.543 MB / 0.7743 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.8899, allocations: 128.7 kB / 0.7744 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.89, allocations: 4 kB / 0.7744 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.8903, allocations: 19.94 kB / 0.7744 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.8904, allocations: 15.98 kB / 0.7744 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.8904, allocations: 4 kB / 0.7744 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003182/0.8907, allocations: 215.1 kB / 0.7746 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.39e-07/0.8907, allocations: 0 / 0.7746 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006599/0.8914, allocations: 96 kB / 0.7747 GB, free: 0.5352 MB / 0.6355 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.0001846/0.8916, allocations: 115 kB / 0.7749 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.8928, allocations: 0.6137 MB / 0.7755 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.658e-06/0.8928, allocations: 0 / 0.7755 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.8935, allocations: 476.2 kB / 0.7759 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.894, allocations: 65.91 kB / 0.776 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.8958, allocations: 0.8902 MB / 0.7768 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.8965, allocations: 0.8341 MB / 0.7777 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.8968, allocations: 58.92 kB / 0.7777 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.8969, allocations: 27.44 kB / 0.7777 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.504e-06/0.8969, allocations: 0 / 0.7777 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.01223/0.9091, allocations: 4.114 MB / 0.7818 GB, free: 9.234 MB / 0.6511 GB