Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 3.809/3.809, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.129e-05, allocations: 4 kB / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5277, allocations: 92.67 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.736, allocations: 142.1 MB / 0.7283 GB, free: 168 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.7363, allocations: 87.95 kB / 0.7284 GB, free: 80 kB / 0.6042 GB [/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/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.03256/0.7689, allocations: 9.436 MB / 0.7376 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.758e-06/0.7689, allocations: 0 / 0.7376 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.7689, allocations: 4 kB / 0.7376 GB, free: 6.508 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005805/0.7695, allocations: 422.3 kB / 0.738 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7696, allocations: 8.031 kB / 0.738 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.7701, allocations: 51.81 kB / 0.7381 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.7704, allocations: 214.8 kB / 0.7383 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.7705, allocations: 8.281 kB / 0.7383 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.7705, allocations: 19.94 kB / 0.7383 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.771, allocations: 215 kB / 0.7385 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.771, allocations: 0 / 0.7385 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.771, allocations: 15.98 kB / 0.7385 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.7711, allocations: 16.23 kB / 0.7385 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.7714, allocations: 144.7 kB / 0.7387 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.7727, allocations: 0.8795 MB / 0.7395 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.7728, allocations: 22.58 kB / 0.7396 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.7729, allocations: 16.89 kB / 0.7396 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-06/0.7729, allocations: 7.984 kB / 0.7396 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7729, allocations: 34.56 kB / 0.7396 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.45e-06/0.7729, allocations: 0 / 0.7396 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001814/0.7731, allocations: 57.53 kB / 0.7397 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.7732, allocations: 51.41 kB / 0.7397 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.7734, allocations: 165.4 kB / 0.7399 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.7734, allocations: 29.7 kB / 0.7399 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.7736, allocations: 147.3 kB / 0.7401 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.7736, allocations: 7.906 kB / 0.7401 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-06/0.7736, allocations: 4 kB / 0.7401 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7738, allocations: 318.8 kB / 0.7404 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.7738, allocations: 16 kB / 0.7404 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.774, allocations: 97.38 kB / 0.7405 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.7741, allocations: 35.94 kB / 0.7405 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-06/0.7741, allocations: 0 / 0.7405 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002941/0.7744, allocations: 137.3 kB / 0.7406 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005096/0.7749, allocations: 0.9563 MB / 0.7416 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.613e-06/0.7749, allocations: 8 kB / 0.7416 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.7749, allocations: 4 kB / 0.7416 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.7751, allocations: 31.92 kB / 0.7416 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.83e-06/0.7751, allocations: 0 / 0.7416 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7753, allocations: 15.84 kB / 0.7416 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.7753, allocations: 4 kB / 0.7416 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.7753, allocations: 7.938 kB / 0.7416 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002108/0.7755, allocations: 103.8 kB / 0.7417 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-06/0.7756, allocations: 0 / 0.7417 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.146e-06/0.7756, allocations: 4 kB / 0.7417 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7757, allocations: 23.94 kB / 0.7418 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7757, allocations: 11.94 kB / 0.7418 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.7758, allocations: 19.84 kB / 0.7418 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.7758, allocations: 8 kB / 0.7418 GB, free: 1.859 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.776, allocations: 109.1 kB / 0.7419 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.776, allocations: 15.91 kB / 0.7419 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.7761, allocations: 12.94 kB / 0.7419 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.81e-06/0.7761, allocations: 0 / 0.7419 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-06/0.7761, allocations: 0 / 0.7419 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-06/0.7761, allocations: 3.953 kB / 0.7419 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.7767, allocations: 452.2 kB / 0.7424 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7767, allocations: 4.094 kB / 0.7424 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.7767, allocations: 7.984 kB / 0.7424 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.003e-06/0.7768, allocations: 4 kB / 0.7424 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.7768, allocations: 7.953 kB / 0.7424 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-06/0.7768, allocations: 3.938 kB / 0.7424 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-06/0.7768, allocations: 0 / 0.7424 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.777, allocations: 118.1 kB / 0.7425 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.7771, allocations: 100.9 kB / 0.7426 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.7771, allocations: 0 / 0.7426 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.7772, allocations: 0 / 0.7426 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.7772, allocations: 4 kB / 0.7426 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.7772, allocations: 0 / 0.7426 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001594/0.7774, allocations: 131.9 kB / 0.7427 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.46e-07/0.7774, allocations: 4 kB / 0.7427 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004806/0.7779, allocations: 59.75 kB / 0.7428 GB, free: 0.7109 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.778, allocations: 108.2 kB / 0.7429 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.7783, allocations: 104.7 kB / 0.743 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.882e-06/0.7783, allocations: 320 / 0.743 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.7783, allocations: 15.94 kB / 0.743 GB, free: 492 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.7786, allocations: 20.8 kB / 0.743 GB, free: 472 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.779, allocations: 169.7 kB / 0.7432 GB, free: 276 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.7794, allocations: 0.7323 MB / 0.7439 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.7796, allocations: 36.72 kB / 0.7439 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.7796, allocations: 11.44 kB / 0.744 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of SimCode: time 1.409e-06/0.7797, allocations: 0 / 0.744 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.004039/0.7837, allocations: 0.8616 MB / 0.7448 GB, free: 14.61 MB / 0.6355 GB