Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.21/4.21, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.799e-05/5.828e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.7058, allocations: 92.68 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.9591, allocations: 120.7 MB / 0.7075 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.9595, allocations: 75.95 kB / 0.7076 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.983, allocations: 4.313 MB / 0.7118 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9831, allocations: 0 / 0.7118 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.9831, allocations: 0 / 0.7118 GB, free: 1.191 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.0005783/0.9837, allocations: 362.4 kB / 0.7121 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.9838, allocations: 12.03 kB / 0.7122 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.9838, allocations: 38.55 kB / 0.7122 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.9839, allocations: 3.953 kB / 0.7122 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.9841, allocations: 167 kB / 0.7123 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.9841, allocations: 4 kB / 0.7124 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.9841, allocations: 0 / 0.7124 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.9843, allocations: 45.62 kB / 0.7124 GB, free: 484 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9843, allocations: 0 / 0.7124 GB, free: 484 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9843, allocations: 0 / 0.7124 GB, free: 484 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.9843, allocations: 0 / 0.7124 GB, free: 484 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.9844, allocations: 23.89 kB / 0.7124 GB, free: 460 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.9851, allocations: 268.9 kB / 0.7127 GB, free: 140 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.9853, allocations: 22.58 kB / 0.7127 GB, free: 108 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.9854, allocations: 12.92 kB / 0.7127 GB, free: 92 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.9867, allocations: 457.5 kB / 0.7131 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.9868, allocations: 43.06 kB / 0.7132 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 3.216e-06/0.9869, allocations: 0 / 0.7132 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002553/0.9871, allocations: 45.66 kB / 0.7132 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.9872, allocations: 51.41 kB / 0.7133 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.9873, allocations: 96.98 kB / 0.7134 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.9873, allocations: 29.7 kB / 0.7134 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.9874, allocations: 80.14 kB / 0.7135 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.9874, allocations: 7.906 kB / 0.7135 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.9874, allocations: 3.938 kB / 0.7135 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9876, allocations: 318.9 kB / 0.7138 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.9876, allocations: 4 kB / 0.7138 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.9877, allocations: 8 kB / 0.7138 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.9877, allocations: 3.984 kB / 0.7138 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9877, allocations: 4 kB / 0.7138 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.9879, allocations: 41.64 kB / 0.7139 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.9879, allocations: 8 kB / 0.7139 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.9879, allocations: 0 / 0.7139 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.988, allocations: 4.094 kB / 0.7139 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.9881, allocations: 11.98 kB / 0.7139 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.9881, allocations: 3.953 kB / 0.7139 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.9882, allocations: 15.89 kB / 0.7139 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.9883, allocations: 0 / 0.7139 GB, free: 14.73 MB / 0.6042 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.9e-05/0.9884, allocations: 108.5 kB / 0.714 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.9884, allocations: 4 kB / 0.714 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.9886, allocations: 53.33 kB / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9886, allocations: 0 / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9886, allocations: 4 kB / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.9886, allocations: 3.953 kB / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.9889, allocations: 169.5 kB / 0.7142 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9889, allocations: 3.938 kB / 0.7142 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.989, allocations: 12 kB / 0.7142 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9891, allocations: 0 / 0.7142 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.9891, allocations: 8.031 kB / 0.7142 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9891, allocations: 3.984 kB / 0.7142 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9891, allocations: 0 / 0.7142 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.9893, allocations: 135.8 kB / 0.7144 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.9894, allocations: 81.02 kB / 0.7145 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.9894, allocations: 7.984 kB / 0.7145 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.9895, allocations: 12.03 kB / 0.7145 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.9896, allocations: 0 / 0.7145 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.9896, allocations: 3.984 kB / 0.7145 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.034e-05/0.9897, allocations: 87.28 kB / 0.7146 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9897, allocations: 0 / 0.7146 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003451/0.99, allocations: 16 kB / 0.7146 GB, free: 13.93 MB / 0.6042 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.0006741/0.9907, allocations: 0.7009 MB / 0.7153 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.9909, allocations: 12 kB / 0.7153 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9909, allocations: 0 / 0.7153 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.9909, allocations: 12 kB / 0.7153 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.9912, allocations: 3.938 kB / 0.7153 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.9916, allocations: 98.56 kB / 0.7154 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.992, allocations: 0.6811 MB / 0.716 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.992, allocations: 4 kB / 0.716 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.9921, allocations: 11.44 kB / 0.7161 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.9921, allocations: 0 / 0.7161 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/1.015, allocations: 1.299 MB / 0.7173 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/1.015, allocations: 159.6 kB / 0.7175 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.295, allocations: 0 / 0.7175 GB, free: 10.86 MB / 0.6042 GB