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.483/3.483, allocations: 403.3 MB / 415.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.098e-05, allocations: 7.938 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4769, allocations: 92.66 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.6915, allocations: 147 MB / 0.7331 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.6919, allocations: 91.94 kB / 0.7332 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06574/0.7577, allocations: 16.36 MB / 0.7491 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.908e-06/0.7577, allocations: 0 / 0.7491 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.7578, allocations: 8 kB / 0.7491 GB, free: 10.65 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.0009303/0.7587, allocations: 0.5059 MB / 0.7496 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7588, allocations: 12.03 kB / 0.7496 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.7598, allocations: 95.56 kB / 0.7497 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.7603, allocations: 261.3 kB / 0.75 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.7604, allocations: 16.44 kB / 0.75 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.7605, allocations: 20 kB / 0.75 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.7612, allocations: 361.1 kB / 0.7504 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.7613, allocations: 4 kB / 0.7504 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.7613, allocations: 7.938 kB / 0.7504 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/0.7614, allocations: 28.38 kB / 0.7504 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.762, allocations: 301.6 kB / 0.7507 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.7643, allocations: 1.162 MB / 0.7518 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.7649, allocations: 230.4 kB / 0.752 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.7651, allocations: 112.8 kB / 0.7522 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.7653, allocations: 93.09 kB / 0.7522 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.7653, allocations: 30.56 kB / 0.7523 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.99e-06/0.7654, allocations: 3.938 kB / 0.7523 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001472/0.7668, allocations: 0.6936 MB / 0.753 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.7669, allocations: 55.41 kB / 0.753 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.7672, allocations: 169.8 kB / 0.7532 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.7672, allocations: 33.7 kB / 0.7532 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.7673, allocations: 163.9 kB / 0.7534 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.7674, allocations: 70.97 kB / 0.7534 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.7675, allocations: 4 kB / 0.7534 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7676, allocations: 330.8 kB / 0.7537 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.7679, allocations: 108 kB / 0.7538 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.7682, allocations: 165.9 kB / 0.754 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.7685, allocations: 137.8 kB / 0.7541 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-06/0.7685, allocations: 0 / 0.7541 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009926/0.7695, allocations: 405 kB / 0.7545 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7696, allocations: 7.953 kB / 0.7545 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.664e-06/0.7696, allocations: 4 kB / 0.7545 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.7701, allocations: 96.95 kB / 0.7546 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.7704, allocations: 51.91 kB / 0.7547 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.7728, allocations: 1.734 MB / 0.7564 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.7731, allocations: 19.97 kB / 0.7564 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.7732, allocations: 8 kB / 0.7564 GB, free: 2.746 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.000127/0.7733, allocations: 112.9 kB / 0.7565 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.7734, allocations: 19.77 kB / 0.7565 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.7741, allocations: 294.2 kB / 0.7568 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-06/0.7741, allocations: 4 kB / 0.7568 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.297e-06/0.7741, allocations: 7.938 kB / 0.7568 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-06/0.7741, allocations: 0 / 0.7568 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.7754, allocations: 0.7029 MB / 0.7575 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.149e-06/0.7754, allocations: 0 / 0.7575 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.7758, allocations: 55.95 kB / 0.7576 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.7759, allocations: 7.953 kB / 0.7576 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.7759, allocations: 4 kB / 0.7576 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.7759, allocations: 12.03 kB / 0.7576 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-06/0.7759, allocations: 7.938 kB / 0.7576 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.7768, allocations: 0.528 MB / 0.7581 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.777, allocations: 112.9 kB / 0.7582 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.777, allocations: 11.98 kB / 0.7582 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.7773, allocations: 7.984 kB / 0.7582 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.7773, allocations: 15.98 kB / 0.7582 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.7774, allocations: 4 kB / 0.7582 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001795/0.7776, allocations: 147.2 kB / 0.7584 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.73e-07/0.7776, allocations: 0 / 0.7584 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005473/0.7781, allocations: 79.94 kB / 0.7585 GB, free: 0.5 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.0002026/0.7783, allocations: 127 kB / 0.7586 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009262/0.7793, allocations: 421.1 kB / 0.759 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.924e-06/0.7793, allocations: 0 / 0.759 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.7796, allocations: 119.9 kB / 0.7591 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.7799, allocations: 32.11 kB / 0.7591 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7812, allocations: 0.4922 MB / 0.7596 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.7817, allocations: 0.7829 MB / 0.7604 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.7819, allocations: 50.05 kB / 0.7604 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.782, allocations: 23.42 kB / 0.7604 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of SimCode: time 2.145e-06/0.7821, allocations: 0 / 0.7604 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.00812/0.7902, allocations: 2.553 MB / 0.7629 GB, free: 11.85 MB / 0.6511 GB