Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.875/3.875, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.393e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6216/0.6216, allocations: 92.68 MB / 0.5897 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/0.9408, allocations: 147 MB / 0.7332 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/0.9412, allocations: 103.9 kB / 0.7333 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06977/1.011, allocations: 16.35 MB / 0.7492 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.011, allocations: 0 / 0.7492 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.498e-05/1.011, allocations: 7.938 kB / 0.7493 GB, free: 10.64 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.0012/1.012, allocations: 0.5113 MB / 0.7498 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.012, allocations: 8.031 kB / 0.7498 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/1.013, allocations: 58.53 kB / 0.7498 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/1.014, allocations: 95.56 kB / 0.7499 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/1.014, allocations: 267 kB / 0.7502 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/1.015, allocations: 12.44 kB / 0.7502 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/1.015, allocations: 27.98 kB / 0.7502 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009339/1.016, allocations: 360.2 kB / 0.7505 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.016, allocations: 4 kB / 0.7506 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/1.016, allocations: 8 kB / 0.7506 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/1.016, allocations: 24.38 kB / 0.7506 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/1.017, allocations: 292.7 kB / 0.7509 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/1.019, allocations: 1.17 MB / 0.752 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/1.02, allocations: 226.4 kB / 0.7522 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/1.02, allocations: 108.8 kB / 0.7523 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.021, allocations: 89.09 kB / 0.7524 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.021, allocations: 42.55 kB / 0.7524 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.266e-06/1.021, allocations: 0 / 0.7524 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001792/1.022, allocations: 0.6937 MB / 0.7531 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.022, allocations: 59.34 kB / 0.7532 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/1.023, allocations: 173.8 kB / 0.7533 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/1.023, allocations: 33.7 kB / 0.7534 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/1.023, allocations: 163.9 kB / 0.7535 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/1.023, allocations: 67.03 kB / 0.7536 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/1.023, allocations: 4 kB / 0.7536 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.023, allocations: 330.8 kB / 0.7539 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/1.024, allocations: 112 kB / 0.754 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/1.024, allocations: 161.9 kB / 0.7542 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/1.024, allocations: 134.9 kB / 0.7543 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.024, allocations: 0 / 0.7543 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001217/1.026, allocations: 402 kB / 0.7547 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.026, allocations: 7.953 kB / 0.7547 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.026, allocations: 4 kB / 0.7547 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/1.026, allocations: 100.9 kB / 0.7548 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/1.027, allocations: 43.97 kB / 0.7548 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.03, allocations: 1.73 MB / 0.7565 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.03, allocations: 16.2 kB / 0.7565 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/1.03, allocations: 16 kB / 0.7566 GB, free: 2.668 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.0001416/1.03, allocations: 112.9 kB / 0.7567 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/1.03, allocations: 19.77 kB / 0.7567 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007806/1.031, allocations: 291.2 kB / 0.757 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.031, allocations: 3.953 kB / 0.757 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/1.031, allocations: 0 / 0.757 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.031, allocations: 3.984 kB / 0.757 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.033, allocations: 0.7015 MB / 0.7577 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.033, allocations: 11.97 kB / 0.7577 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/1.033, allocations: 59.91 kB / 0.7577 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.033, allocations: 0 / 0.7577 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/1.033, allocations: 4 kB / 0.7577 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.033, allocations: 0 / 0.7577 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.033, allocations: 4 kB / 0.7577 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.034, allocations: 0.5363 MB / 0.7583 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/1.035, allocations: 120.8 kB / 0.7584 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/1.035, allocations: 4 kB / 0.7584 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/1.035, allocations: 11.98 kB / 0.7584 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/1.035, allocations: 11.98 kB / 0.7584 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/1.035, allocations: 8 kB / 0.7584 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001968/1.035, allocations: 147.2 kB / 0.7585 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.92e-07/1.035, allocations: 0 / 0.7585 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006143/1.036, allocations: 75.94 kB / 0.7586 GB, free: 444 kB / 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.001502/1.037, allocations: 1.23 MB / 0.7598 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.039, allocations: 401.3 kB / 0.7602 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.039, allocations: 0 / 0.7602 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/1.039, allocations: 116.3 kB / 0.7603 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/1.039, allocations: 43.16 kB / 0.7604 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.041, allocations: 0.5794 MB / 0.7609 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/1.041, allocations: 0.775 MB / 0.7617 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003124/1.042, allocations: 62.03 kB / 0.7617 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/1.042, allocations: 71.41 kB / 0.7618 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.042, allocations: 0 / 0.7618 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/1.074, allocations: 4.618 MB / 0.7663 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/1.074, allocations: 202.5 kB / 0.7665 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.478, allocations: 0 / 0.7665 GB, free: 8.297 MB / 0.6511 GB