Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.388/4.388, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.366e-05/4.373e-05, allocations: 5.094 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2427, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.245, allocations: 158.6 MB / 0.8327 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/1.246, allocations: 100.5 kB / 0.8328 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06167/1.307, allocations: 16.43 MB / 0.8489 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.824e-06/1.307, allocations: 4 kB / 0.8489 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.307, allocations: 7.938 kB / 0.8489 GB, free: 14.48 MB / 0.6511 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.001236/1.309, allocations: 0.5132 MB / 0.8494 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.309, allocations: 8.031 kB / 0.8494 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/1.309, allocations: 61.84 kB / 0.8494 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/1.31, allocations: 91.61 kB / 0.8495 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/1.311, allocations: 266.2 kB / 0.8498 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.311, allocations: 16.3 kB / 0.8498 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/1.311, allocations: 23.38 kB / 0.8498 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008877/1.312, allocations: 356.2 kB / 0.8502 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/1.312, allocations: 0 / 0.8502 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/1.312, allocations: 3.688 kB / 0.8502 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-05/1.312, allocations: 28.36 kB / 0.8502 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/1.313, allocations: 296 kB / 0.8505 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/1.316, allocations: 1.526 MB / 0.852 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/1.316, allocations: 232.2 kB / 0.8522 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/1.317, allocations: 113.1 kB / 0.8523 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.317, allocations: 85.11 kB / 0.8524 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/1.317, allocations: 41.55 kB / 0.8524 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 5.01e-06/1.317, allocations: 0 / 0.8524 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001749/1.319, allocations: 0.6944 MB / 0.8531 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.319, allocations: 51.41 kB / 0.8531 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/1.319, allocations: 176.6 kB / 0.8533 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/1.319, allocations: 25.7 kB / 0.8533 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/1.319, allocations: 173.9 kB / 0.8535 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/1.32, allocations: 62.36 kB / 0.8536 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/1.32, allocations: 7.312 kB / 0.8536 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.32, allocations: 330.6 kB / 0.8539 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/1.32, allocations: 108.8 kB / 0.854 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/1.32, allocations: 161.5 kB / 0.8541 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/1.321, allocations: 134.6 kB / 0.8543 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.321, allocations: 4 kB / 0.8543 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001184/1.322, allocations: 399.2 kB / 0.8547 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.322, allocations: 4 kB / 0.8547 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.322, allocations: 8 kB / 0.8547 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/1.323, allocations: 94.47 kB / 0.8548 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/1.323, allocations: 55.89 kB / 0.8548 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/1.326, allocations: 1.725 MB / 0.8565 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/1.326, allocations: 18.95 kB / 0.8565 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/1.326, allocations: 11.98 kB / 0.8565 GB, free: 7.219 MB / 0.6511 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.0001355/1.326, allocations: 116.4 kB / 0.8566 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/1.327, allocations: 15.81 kB / 0.8567 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008036/1.327, allocations: 294.9 kB / 0.8569 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.327, allocations: 11.88 kB / 0.8569 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/1.327, allocations: 192 / 0.8569 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/1.327, allocations: 8 kB / 0.857 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/1.329, allocations: 0.7003 MB / 0.8576 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.329, allocations: 0 / 0.8576 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/1.33, allocations: 55.95 kB / 0.8577 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.33, allocations: 0 / 0.8577 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/1.33, allocations: 11.38 kB / 0.8577 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.33, allocations: 0 / 0.8577 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.33, allocations: 3.953 kB / 0.8577 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.331, allocations: 0.5322 MB / 0.8582 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/1.331, allocations: 114.7 kB / 0.8583 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/1.331, allocations: 11.39 kB / 0.8583 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/1.331, allocations: 23.22 kB / 0.8584 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/1.331, allocations: 7.984 kB / 0.8584 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/1.331, allocations: 7.125 kB / 0.8584 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001909/1.332, allocations: 142.3 kB / 0.8585 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.332, allocations: 3.938 kB / 0.8585 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000583/1.332, allocations: 81.11 kB / 0.8586 GB, free: 5.363 MB / 0.6511 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.001489/1.334, allocations: 1.225 MB / 0.8598 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.335, allocations: 406.4 kB / 0.8602 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.335, allocations: 0 / 0.8602 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.335, allocations: 122.2 kB / 0.8603 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/1.336, allocations: 26.42 kB / 0.8603 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/1.337, allocations: 0.5686 MB / 0.8609 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/1.338, allocations: 0.7803 MB / 0.8616 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003155/1.338, allocations: 58.02 kB / 0.8617 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.338, allocations: 69.03 kB / 0.8618 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/1.338, allocations: 0 / 0.8618 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/1.366, allocations: 4.629 MB / 0.8663 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.366, allocations: 201.2 kB / 0.8665 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.943, allocations: 5.719 kB / 0.8665 GB, free: 13.61 MB / 0.6667 GB