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 3.854/3.854, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.947e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.6511, allocations: 92.67 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.8743, allocations: 120.7 MB / 0.7075 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.8746, allocations: 71.95 kB / 0.7076 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.8971, allocations: 4.309 MB / 0.7118 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.972e-06/0.8972, allocations: 0 / 0.7118 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.8972, allocations: 11.94 kB / 0.7118 GB, free: 1.152 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.0007408/0.898, allocations: 366.3 kB / 0.7121 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.8981, allocations: 8.031 kB / 0.7121 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.8981, allocations: 34.56 kB / 0.7122 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.8982, allocations: 7.953 kB / 0.7122 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8984, allocations: 163 kB / 0.7123 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8984, allocations: 4 kB / 0.7123 GB, free: 500 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.8984, allocations: 4 kB / 0.7123 GB, free: 496 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.8985, allocations: 37.69 kB / 0.7124 GB, free: 452 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8986, allocations: 0 / 0.7124 GB, free: 452 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.8986, allocations: 0 / 0.7124 GB, free: 452 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8986, allocations: 4 kB / 0.7124 GB, free: 448 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.8987, allocations: 15.89 kB / 0.7124 GB, free: 432 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.8992, allocations: 273 kB / 0.7126 GB, free: 108 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.8993, allocations: 18.58 kB / 0.7127 GB, free: 80 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.8994, allocations: 12.92 kB / 0.7127 GB, free: 64 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/0.9003, allocations: 469.4 kB / 0.7131 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.9004, allocations: 35.12 kB / 0.7132 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.9004, allocations: 3.938 kB / 0.7132 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.9006, allocations: 45.66 kB / 0.7132 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.9007, allocations: 51.41 kB / 0.7133 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.9008, allocations: 109 kB / 0.7134 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.9008, allocations: 25.7 kB / 0.7134 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.9009, allocations: 80.14 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.9009, allocations: 3.906 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.9009, allocations: 4 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9011, allocations: 318.8 kB / 0.7138 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.9011, allocations: 4 kB / 0.7138 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.9011, allocations: 4 kB / 0.7138 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.9012, allocations: 8.062 kB / 0.7138 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9012, allocations: 0 / 0.7138 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001309/0.9013, allocations: 45.64 kB / 0.7138 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9014, allocations: 8 kB / 0.7138 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.9014, allocations: 0 / 0.7138 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.9014, allocations: 0 / 0.7138 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.9016, allocations: 15.97 kB / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.9016, allocations: 3.953 kB / 0.7139 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.9017, allocations: 23.92 kB / 0.7139 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.9017, allocations: 0 / 0.7139 GB, free: 14.68 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 9.582e-05/0.9018, allocations: 101 kB / 0.714 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.9019, allocations: 4 kB / 0.714 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.902, allocations: 49.28 kB / 0.714 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.902, allocations: 0 / 0.714 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9021, allocations: 3.938 kB / 0.714 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9021, allocations: 11.98 kB / 0.714 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.9023, allocations: 165.6 kB / 0.7142 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9023, allocations: 0 / 0.7142 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.9024, allocations: 11.98 kB / 0.7142 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.9024, allocations: 0 / 0.7142 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.9024, allocations: 0 / 0.7142 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.9025, allocations: 7.938 kB / 0.7142 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9025, allocations: 0 / 0.7142 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.9027, allocations: 139.5 kB / 0.7144 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.9027, allocations: 85 kB / 0.7144 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.9027, allocations: 0 / 0.7144 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.9029, allocations: 12 kB / 0.7144 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.9029, allocations: 7.922 kB / 0.7145 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.9029, allocations: 0 / 0.7145 GB, free: 14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.903, allocations: 87.53 kB / 0.7145 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.903, allocations: 0 / 0.7145 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003028/0.9033, allocations: 24.03 kB / 0.7146 GB, free: 13.89 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.0005484/0.9039, allocations: 0.6893 MB / 0.7152 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.904, allocations: 19.94 kB / 0.7153 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.904, allocations: 96 / 0.7153 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.9041, allocations: 12 kB / 0.7153 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.9043, allocations: 3.984 kB / 0.7153 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.9047, allocations: 94.64 kB / 0.7154 GB, free: 13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.905, allocations: 0.677 MB / 0.716 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.9051, allocations: 4 kB / 0.716 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.9051, allocations: 7.438 kB / 0.716 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/0.9051, allocations: 0 / 0.716 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.9276, allocations: 1.312 MB / 0.7173 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.928, allocations: 155 kB / 0.7175 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/3.215, allocations: 0 / 0.7175 GB, free: 10.82 MB / 0.6042 GB