Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.575/4.575, allocations: 404.1 MB / 411.3 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.714e-05, allocations: 4 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6626, allocations: 92.69 MB / 0.585 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/0.9095, allocations: 120 MB / 0.7023 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.9099, allocations: 71.95 kB / 0.7023 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.9338, allocations: 4.29 MB / 0.7065 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9338, allocations: 0 / 0.7065 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.9339, allocations: 0 / 0.7065 GB, free: 5.754 MB / 0.5886 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.0005606/0.9344, allocations: 374.3 kB / 0.7069 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9345, allocations: 8.031 kB / 0.7069 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.9346, allocations: 7.953 kB / 0.7069 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.9347, allocations: 167 kB / 0.7071 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.9348, allocations: 4 kB / 0.7071 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.9348, allocations: 0 / 0.7071 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.384e-05/0.9349, allocations: 12 kB / 0.7071 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.935, allocations: 37.64 kB / 0.7071 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.935, allocations: 3.984 kB / 0.7071 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.9351, allocations: 4 kB / 0.7071 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9351, allocations: 3.953 kB / 0.7071 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.9356, allocations: 245.5 kB / 0.7074 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.9357, allocations: 26.58 kB / 0.7074 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.9358, allocations: 12.92 kB / 0.7074 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/0.9368, allocations: 457.5 kB / 0.7078 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.9368, allocations: 34.56 kB / 0.7079 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.404e-06/0.9368, allocations: 7.938 kB / 0.7079 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002347/0.9371, allocations: 41.69 kB / 0.7079 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.9371, allocations: 55.36 kB / 0.708 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.9372, allocations: 97 kB / 0.7081 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.9373, allocations: 25.7 kB / 0.7081 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.9373, allocations: 80.14 kB / 0.7082 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.9374, allocations: 7.922 kB / 0.7082 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.9374, allocations: 4 kB / 0.7082 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9375, allocations: 318.8 kB / 0.7085 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.9376, allocations: 0 / 0.7085 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.9376, allocations: 8 kB / 0.7085 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.9377, allocations: 4 kB / 0.7085 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9377, allocations: 0 / 0.7085 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.9379, allocations: 49.62 kB / 0.7085 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9379, allocations: 7.938 kB / 0.7085 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9379, allocations: 4.094 kB / 0.7085 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.9379, allocations: 3.938 kB / 0.7085 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.9381, allocations: 12 kB / 0.7086 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9381, allocations: 3.984 kB / 0.7086 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.9382, allocations: 11.86 kB / 0.7086 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.9383, allocations: 0 / 0.7086 GB, free: 3.367 MB / 0.5886 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 8.426e-05/0.9384, allocations: 105.5 kB / 0.7087 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001592/0.9385, allocations: 45.69 kB / 0.7087 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.9386, allocations: 4 kB / 0.7087 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.9388, allocations: 53.59 kB / 0.7088 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.9388, allocations: 4 kB / 0.7088 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9388, allocations: 3.953 kB / 0.7088 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9388, allocations: 0 / 0.7088 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.939, allocations: 138.2 kB / 0.7089 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9391, allocations: 0 / 0.7089 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.9392, allocations: 16.05 kB / 0.7089 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9392, allocations: 0 / 0.7089 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.9392, allocations: 4 kB / 0.7089 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9392, allocations: 0 / 0.7089 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.9393, allocations: 256 / 0.7089 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.9395, allocations: 143.4 kB / 0.7091 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.9395, allocations: 77.11 kB / 0.7091 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.9396, allocations: 8.031 kB / 0.7091 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.9397, allocations: 11.98 kB / 0.7092 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.9398, allocations: 3.938 kB / 0.7092 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.9398, allocations: 0 / 0.7092 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.242e-05/0.9399, allocations: 87.27 kB / 0.7092 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9399, allocations: 0 / 0.7092 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00041/0.9403, allocations: 16 kB / 0.7093 GB, free: 2.566 MB / 0.5886 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.0006501/0.941, allocations: 0.6927 MB / 0.7099 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.9411, allocations: 16 kB / 0.7099 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9411, allocations: 0 / 0.7099 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.9412, allocations: 7.938 kB / 0.71 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.9414, allocations: 8.453 kB / 0.71 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.942, allocations: 101.8 kB / 0.7101 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.9423, allocations: 0.6806 MB / 0.7107 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.9424, allocations: 4 kB / 0.7107 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.9425, allocations: 7.438 kB / 0.7107 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/0.9425, allocations: 0 / 0.7107 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.9817, allocations: 0.986 MB / 0.7117 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003599/0.9821, allocations: 153.4 kB / 0.7118 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.713/3.696, allocations: 0 / 0.7118 GB, free: 15.78 MB / 0.6042 GB