Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.53/3.53, allocations: 343.8 MB / 355.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.876e-05/4.878e-05, allocations: 8 kB / 436.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 77.73 MB / 0.5023 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7336/0.926, allocations: 108.5 MB / 0.6083 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/0.9265, allocations: 83.95 kB / 0.6084 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02465/0.9512, allocations: 5.377 MB / 0.6136 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9512, allocations: 0 / 0.6136 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.9513, allocations: 4 kB / 0.6136 GB, free: 6.891 MB / 0.4948 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.0007356/0.952, allocations: 442 kB / 0.614 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.9521, allocations: 12.03 kB / 0.614 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.9522, allocations: 30.56 kB / 0.6141 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.9522, allocations: 23.67 kB / 0.6141 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.9525, allocations: 210.6 kB / 0.6143 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.9525, allocations: 8 kB / 0.6143 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.9525, allocations: 4 kB / 0.6143 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.9527, allocations: 53.61 kB / 0.6144 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9528, allocations: 0 / 0.6144 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.9528, allocations: 0 / 0.6144 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.9528, allocations: 7.953 kB / 0.6144 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.9529, allocations: 39.97 kB / 0.6144 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.9538, allocations: 344.8 kB / 0.6147 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.954, allocations: 58.55 kB / 0.6148 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.9541, allocations: 28.84 kB / 0.6148 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.9542, allocations: 15.98 kB / 0.6148 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.9543, allocations: 34.52 kB / 0.6149 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 3.507e-06/0.9543, allocations: 4 kB / 0.6149 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003207/0.9546, allocations: 93.39 kB / 0.615 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.9547, allocations: 51.41 kB / 0.615 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.9551, allocations: 231.1 kB / 0.6152 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.9551, allocations: 25.7 kB / 0.6153 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.9553, allocations: 128.1 kB / 0.6154 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.9553, allocations: 11.84 kB / 0.6154 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.9553, allocations: 0 / 0.6154 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.9555, allocations: 334.8 kB / 0.6157 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.9556, allocations: 23.98 kB / 0.6157 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.9557, allocations: 19.98 kB / 0.6157 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.9558, allocations: 20.17 kB / 0.6158 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9558, allocations: 3.938 kB / 0.6158 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002502/0.956, allocations: 93.47 kB / 0.6159 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.9561, allocations: 4.625 kB / 0.6159 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9561, allocations: 3.953 kB / 0.6159 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.9561, allocations: 0 / 0.6159 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.9563, allocations: 20.08 kB / 0.6159 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9563, allocations: 0 / 0.6159 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.9565, allocations: 8 kB / 0.6159 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.9566, allocations: 0 / 0.6159 GB, free: 4.332 MB / 0.4948 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 0.0001164/0.9567, allocations: 109 kB / 0.616 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.9567, allocations: 23.66 kB / 0.616 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.9571, allocations: 114.5 kB / 0.6161 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9571, allocations: 7.953 kB / 0.6161 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9572, allocations: 0 / 0.6161 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9572, allocations: 0 / 0.6161 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.9576, allocations: 213.6 kB / 0.6163 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9576, allocations: 0 / 0.6163 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.9577, allocations: 11.98 kB / 0.6164 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.9578, allocations: 0 / 0.6164 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9578, allocations: 4 kB / 0.6164 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.9578, allocations: 8.016 kB / 0.6164 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.9578, allocations: 3.953 kB / 0.6164 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.9581, allocations: 187.2 kB / 0.6165 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.9582, allocations: 88.92 kB / 0.6166 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.9583, allocations: 4 kB / 0.6166 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.9585, allocations: 11.98 kB / 0.6166 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.9585, allocations: 11.97 kB / 0.6167 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.9586, allocations: 8 kB / 0.6167 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003094/0.9589, allocations: 195 kB / 0.6169 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9589, allocations: 0 / 0.6169 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004981/0.9594, allocations: 55.92 kB / 0.6169 GB, free: 3.199 MB / 0.4948 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.001022/0.9605, allocations: 0.8019 MB / 0.6177 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.9607, allocations: 39.98 kB / 0.6177 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.9607, allocations: 64 / 0.6177 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/0.9608, allocations: 31.88 kB / 0.6178 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.9614, allocations: 40.52 kB / 0.6178 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.9625, allocations: 287.9 kB / 0.6181 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.9629, allocations: 0.7434 MB / 0.6188 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.214e-05/0.963, allocations: 4.188 kB / 0.6188 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.9631, allocations: 51.42 kB / 0.6188 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/0.9631, allocations: 0 / 0.6188 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.9983, allocations: 4.332 MB / 0.6231 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/0.9988, allocations: 191.8 kB / 0.6233 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.662, allocations: 0 / 0.6233 GB, free: 12.66 MB / 0.5105 GB