Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.25/4.25, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.382e-05, allocations: 4 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2367, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8548/1.092, allocations: 132.4 MB / 0.8071 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.092, allocations: 73.33 kB / 0.8072 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01957/1.111, allocations: 4.327 MB / 0.8114 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.073e-06/1.112, allocations: 4 kB / 0.8114 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.112, allocations: 0 / 0.8114 GB, free: 11.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004549/1.112, allocations: 365.1 kB / 0.8118 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.112, allocations: 15.62 kB / 0.8118 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/1.112, allocations: 30.56 kB / 0.8118 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/1.112, allocations: 0 / 0.8118 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/1.112, allocations: 173.5 kB / 0.812 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.112, allocations: 4 kB / 0.812 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/1.112, allocations: 0 / 0.812 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/1.112, allocations: 39.11 kB / 0.812 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.112, allocations: 0 / 0.812 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.112, allocations: 2.875 kB / 0.812 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.112, allocations: 0 / 0.812 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/1.113, allocations: 11.03 kB / 0.812 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/1.113, allocations: 279 kB / 0.8123 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/1.113, allocations: 26.23 kB / 0.8123 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/1.113, allocations: 8.609 kB / 0.8123 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/1.114, allocations: 466.7 kB / 0.8128 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/1.114, allocations: 30.56 kB / 0.8128 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/1.114, allocations: 0 / 0.8128 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001938/1.114, allocations: 37.3 kB / 0.8128 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/1.114, allocations: 62.45 kB / 0.8129 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/1.114, allocations: 96.5 kB / 0.813 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/1.114, allocations: 25.7 kB / 0.813 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/1.114, allocations: 87.33 kB / 0.8131 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/1.114, allocations: 6.484 kB / 0.8131 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.114, allocations: 0 / 0.8131 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/1.115, allocations: 318.2 kB / 0.8134 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/1.115, allocations: 3.812 kB / 0.8134 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/1.115, allocations: 6.781 kB / 0.8134 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/1.115, allocations: 10.89 kB / 0.8134 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.115, allocations: 0 / 0.8134 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001345/1.115, allocations: 43.23 kB / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.115, allocations: 7.594 kB / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.115, allocations: 0 / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.115, allocations: 0 / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.115, allocations: 10.36 kB / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.115, allocations: 2.906 kB / 0.8135 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/1.115, allocations: 15.84 kB / 0.8135 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.115, allocations: 0 / 0.8135 GB, free: 9.793 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.761e-05/1.115, allocations: 116.8 kB / 0.8136 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/1.115, allocations: 7.594 kB / 0.8136 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/1.115, allocations: 50.23 kB / 0.8137 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.115, allocations: 0 / 0.8137 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.115, allocations: 0 / 0.8137 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.115, allocations: 0 / 0.8137 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/1.116, allocations: 172.4 kB / 0.8138 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.116, allocations: 256 / 0.8138 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.116, allocations: 18.53 kB / 0.8138 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.116, allocations: 0 / 0.8138 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.116, allocations: 0 / 0.8138 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.116, allocations: 0 / 0.8138 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.116, allocations: 0 / 0.8138 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/1.116, allocations: 148.6 kB / 0.814 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/1.116, allocations: 84.86 kB / 0.8141 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.116, allocations: 0 / 0.8141 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.116, allocations: 6.156 kB / 0.8141 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/1.116, allocations: 10.52 kB / 0.8141 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/1.116, allocations: 0 / 0.8141 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.725e-05/1.116, allocations: 82.62 kB / 0.8142 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.116, allocations: 0 / 0.8142 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003492/1.117, allocations: 25.97 kB / 0.8142 GB, free: 9.105 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0008218/1.118, allocations: 0.6923 MB / 0.8149 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00011/1.118, allocations: 21.61 kB / 0.8149 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.118, allocations: 0 / 0.8149 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/1.118, allocations: 11.62 kB / 0.8149 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/1.118, allocations: 3.844 kB / 0.8149 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/1.118, allocations: 95.8 kB / 0.815 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.119, allocations: 0.6822 MB / 0.8157 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.591e-05/1.119, allocations: 0 / 0.8157 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/1.119, allocations: 15 kB / 0.8157 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/1.119, allocations: 0 / 0.8157 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/1.136, allocations: 1.289 MB / 0.8169 GB, free: 23.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/1.137, allocations: 159.5 kB / 0.8171 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.391, allocations: 0 / 0.8171 GB, free: 23.18 MB / 0.6511 GB