Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 3.826/3.826, allocations: 403.9 MB / 411 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.756e-05, allocations: 4 kB / 0.4942 GB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.554, allocations: 92.69 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2553/0.8094, allocations: 146.3 MB / 0.7276 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.8097, allocations: 91.94 kB / 0.7276 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06032/0.87, allocations: 16.3 MB / 0.7436 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.717e-06/0.8701, allocations: 0 / 0.7436 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.8701, allocations: 8 kB / 0.7436 GB, free: 15.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000898/0.871, allocations: 0.5099 MB / 0.7441 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8711, allocations: 12.02 kB / 0.7441 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.8721, allocations: 95.56 kB / 0.7442 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.8727, allocations: 259.6 kB / 0.7444 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.8727, allocations: 11.94 kB / 0.7444 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.8728, allocations: 15.98 kB / 0.7444 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005038/0.8733, allocations: 220.9 kB / 0.7447 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.874, allocations: 332.2 kB / 0.745 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.874, allocations: 0 / 0.745 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.874, allocations: 3.953 kB / 0.745 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.8741, allocations: 24.42 kB / 0.745 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.8762, allocations: 1.111 MB / 0.7461 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.8767, allocations: 214.5 kB / 0.7463 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.8769, allocations: 116.6 kB / 0.7464 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.8771, allocations: 89.09 kB / 0.7465 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.8772, allocations: 42.5 kB / 0.7465 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/0.8772, allocations: 0 / 0.7465 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001743/0.8789, allocations: 0.7154 MB / 0.7472 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.879, allocations: 55.41 kB / 0.7473 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.8792, allocations: 157.5 kB / 0.7474 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.8792, allocations: 29.7 kB / 0.7475 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.8794, allocations: 163.9 kB / 0.7476 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.8795, allocations: 67 kB / 0.7477 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.8795, allocations: 0 / 0.7477 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.8796, allocations: 326.8 kB / 0.748 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.8799, allocations: 104 kB / 0.7481 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.8801, allocations: 158 kB / 0.7482 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.8806, allocations: 154.6 kB / 0.7484 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.008e-06/0.8806, allocations: 4 kB / 0.7484 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001083/0.8817, allocations: 398 kB / 0.7488 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8818, allocations: 8 kB / 0.7488 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.77e-06/0.8818, allocations: 0 / 0.7488 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004638/0.8822, allocations: 96.84 kB / 0.7489 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.8826, allocations: 55.91 kB / 0.7489 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.8848, allocations: 1.663 MB / 0.7505 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.8851, allocations: 12.02 kB / 0.7506 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.8851, allocations: 12 kB / 0.7506 GB, free: 7.664 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.8853, allocations: 101 kB / 0.7507 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.67e-05/0.8853, allocations: 15.81 kB / 0.7507 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000733/0.8861, allocations: 303.4 kB / 0.751 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8861, allocations: 0 / 0.751 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.8861, allocations: 0 / 0.751 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.53e-06/0.8861, allocations: 0 / 0.751 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.8874, allocations: 0.6605 MB / 0.7516 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-06/0.8874, allocations: 3.938 kB / 0.7516 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.8878, allocations: 63.95 kB / 0.7517 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.194e-06/0.8878, allocations: 3.938 kB / 0.7517 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.8879, allocations: 4 kB / 0.7517 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.8879, allocations: 0 / 0.7517 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.427e-06/0.8879, allocations: 3.953 kB / 0.7517 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.8888, allocations: 0.5319 MB / 0.7522 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.889, allocations: 108.9 kB / 0.7523 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.889, allocations: 11.94 kB / 0.7523 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.8893, allocations: 7.984 kB / 0.7523 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.8894, allocations: 19.89 kB / 0.7524 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.8894, allocations: 7.938 kB / 0.7524 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001384/0.8895, allocations: 124.3 kB / 0.7525 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.69e-07/0.8895, allocations: 64 / 0.7525 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000515/0.8901, allocations: 79.92 kB / 0.7526 GB, free: 5.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001968/0.8903, allocations: 115 kB / 0.7527 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008051/0.8911, allocations: 389.5 kB / 0.753 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.405e-06/0.8911, allocations: 4.375 kB / 0.753 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.8913, allocations: 117.5 kB / 0.7532 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.8917, allocations: 31.88 kB / 0.7532 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.8928, allocations: 0.4942 MB / 0.7537 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.8933, allocations: 0.7868 MB / 0.7544 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.8936, allocations: 58.03 kB / 0.7545 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.8937, allocations: 15.44 kB / 0.7545 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of SimCode: time 1.064e-06/0.8937, allocations: 4 kB / 0.7545 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of Templates: time 0.007376/0.9011, allocations: 2.395 MB / 0.7568 GB, free: 1.055 MB / 0.6355 GB