Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.382/4.382, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.818e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8978/1.14, allocations: 132 MB / 0.8008 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.14, allocations: 72.95 kB / 0.8009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0199/1.16, allocations: 4.318 MB / 0.8051 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.16, allocations: 3.969 kB / 0.8051 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.16, allocations: 0 / 0.8051 GB, free: 12.19 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.0004242/1.161, allocations: 364.5 kB / 0.8055 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.161, allocations: 11.62 kB / 0.8055 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/1.161, allocations: 38 kB / 0.8055 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/1.161, allocations: 6.859 kB / 0.8055 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/1.161, allocations: 163 kB / 0.8057 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/1.161, allocations: 0 / 0.8057 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/1.161, allocations: 0 / 0.8057 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/1.161, allocations: 47.66 kB / 0.8057 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.161, allocations: 0 / 0.8057 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/1.161, allocations: 0 / 0.8057 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.161, allocations: 0 / 0.8057 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/1.161, allocations: 11.19 kB / 0.8057 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/1.162, allocations: 280.3 kB / 0.806 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/1.162, allocations: 25.95 kB / 0.806 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/1.162, allocations: 12.58 kB / 0.806 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/1.163, allocations: 464.2 kB / 0.8065 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.163, allocations: 34.5 kB / 0.8065 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/1.163, allocations: 3.938 kB / 0.8065 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/1.163, allocations: 47.08 kB / 0.8065 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/1.163, allocations: 55.89 kB / 0.8066 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/1.163, allocations: 96.69 kB / 0.8067 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/1.163, allocations: 25.7 kB / 0.8067 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/1.163, allocations: 83.64 kB / 0.8068 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/1.163, allocations: 10.23 kB / 0.8068 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.163, allocations: 0 / 0.8068 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/1.163, allocations: 314.5 kB / 0.8071 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/1.163, allocations: 7.875 kB / 0.8071 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/1.163, allocations: 7.781 kB / 0.8071 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/1.163, allocations: 6.734 kB / 0.8071 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.163, allocations: 0 / 0.8071 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/1.163, allocations: 44.52 kB / 0.8072 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.163, allocations: 6.656 kB / 0.8072 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.163, allocations: 64 / 0.8072 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.163, allocations: 4 kB / 0.8072 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.164, allocations: 20.83 kB / 0.8072 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.164, allocations: 0 / 0.8072 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/1.164, allocations: 14.23 kB / 0.8072 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/1.164, allocations: 0 / 0.8072 GB, free: 10.04 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.484e-05/1.164, allocations: 104.9 kB / 0.8073 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/1.164, allocations: 3.906 kB / 0.8073 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/1.164, allocations: 58.64 kB / 0.8074 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.164, allocations: 10.59 kB / 0.8074 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.164, allocations: 0 / 0.8074 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.164, allocations: 0 / 0.8074 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/1.164, allocations: 165.8 kB / 0.8075 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.164, allocations: 0 / 0.8075 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.164, allocations: 10.69 kB / 0.8076 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.164, allocations: 0 / 0.8076 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/1.164, allocations: 0 / 0.8076 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.164, allocations: 0 / 0.8076 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.164, allocations: 7.844 kB / 0.8076 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/1.164, allocations: 141.4 kB / 0.8077 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/1.165, allocations: 80.3 kB / 0.8078 GB, free: 25.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/1.165, allocations: 0 / 0.8078 GB, free: 25.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/1.165, allocations: 10.55 kB / 0.8078 GB, free: 25.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/1.165, allocations: 0 / 0.8078 GB, free: 25.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/1.165, allocations: 4.031 kB / 0.8078 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.396e-05/1.165, allocations: 86.28 kB / 0.8079 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.165, allocations: 0 / 0.8079 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003228/1.166, allocations: 22.67 kB / 0.8079 GB, free: 25.37 MB / 0.6511 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.0005307/1.166, allocations: 0.694 MB / 0.8086 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001028/1.166, allocations: 22.38 kB / 0.8086 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.166, allocations: 0 / 0.8086 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/1.166, allocations: 3.844 kB / 0.8086 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/1.166, allocations: 14.39 kB / 0.8086 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/1.167, allocations: 91.91 kB / 0.8087 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/1.167, allocations: 0.6777 MB / 0.8094 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.519e-05/1.167, allocations: 11.91 kB / 0.8094 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/1.167, allocations: 7.438 kB / 0.8094 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/1.167, allocations: 0 / 0.8094 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/1.186, allocations: 1.289 MB / 0.8106 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/1.186, allocations: 155.6 kB / 0.8108 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.479, allocations: 3.906 kB / 0.8108 GB, free: 23.43 MB / 0.6511 GB