Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.324/4.324, allocations: 464.6 MB / 476.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5e-05/5.016e-05, allocations: 11.94 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 107.2 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8487/1.086, allocations: 131.1 MB / 0.8058 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.087, allocations: 77.38 kB / 0.8059 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001691/1.088, allocations: 0.5354 MB / 0.8064 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.088, allocations: 0 / 0.8064 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.088, allocations: 0 / 0.8064 GB, free: 11.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001939/1.089, allocations: 325.8 kB / 0.8067 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.089, allocations: 11.56 kB / 0.8067 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/1.089, allocations: 30.56 kB / 0.8068 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/1.089, allocations: 19.58 kB / 0.8068 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/1.089, allocations: 168.6 kB / 0.807 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/1.089, allocations: 0 / 0.807 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.089, allocations: 0 / 0.807 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/1.089, allocations: 32.97 kB / 0.807 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.089, allocations: 0 / 0.807 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/1.089, allocations: 0 / 0.807 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.089, allocations: 0 / 0.807 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/1.089, allocations: 3.969 kB / 0.807 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/1.09, allocations: 157.4 kB / 0.8071 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/1.09, allocations: 20.3 kB / 0.8072 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/1.09, allocations: 8.734 kB / 0.8072 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/1.09, allocations: 0 / 0.8072 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/1.09, allocations: 31.88 kB / 0.8072 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.09, allocations: 0 / 0.8072 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/1.09, allocations: 38.08 kB / 0.8072 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/1.09, allocations: 52.86 kB / 0.8073 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.825e-05/1.09, allocations: 88.81 kB / 0.8074 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/1.09, allocations: 25.7 kB / 0.8074 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.496e-05/1.09, allocations: 80.14 kB / 0.8075 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/1.09, allocations: 0 / 0.8075 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/1.09, allocations: 3.938 kB / 0.8075 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/1.09, allocations: 312.4 kB / 0.8078 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/1.09, allocations: 0 / 0.8078 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/1.09, allocations: 7.875 kB / 0.8078 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/1.09, allocations: 0 / 0.8078 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.09, allocations: 0 / 0.8078 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.093e-05/1.09, allocations: 42.16 kB / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.09, allocations: 3.844 kB / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.09, allocations: 1.828 kB / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.09, allocations: 0.6562 kB / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/1.09, allocations: 5.531 kB / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.09, allocations: 96 / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/1.09, allocations: 7.844 kB / 0.8078 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/1.09, allocations: 1.078 kB / 0.8078 GB, free: 10.24 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 (1): * Single equations (assignments): 1 * 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 4.9e-05/1.091, allocations: 101 kB / 0.8079 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/1.091, allocations: 7.891 kB / 0.8079 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/1.091, allocations: 4.766 kB / 0.8079 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.091, allocations: 3.844 kB / 0.808 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.091, allocations: 0 / 0.808 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.091, allocations: 3.984 kB / 0.808 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.161e-05/1.091, allocations: 156.4 kB / 0.8081 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.091, allocations: 0 / 0.8081 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/1.091, allocations: 9.469 kB / 0.8081 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.091, allocations: 0 / 0.8081 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.091, allocations: 5.734 kB / 0.8081 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.091, allocations: 0 / 0.8081 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.091, allocations: 3.984 kB / 0.8081 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.31e-05/1.091, allocations: 63.09 kB / 0.8082 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/1.091, allocations: 77.11 kB / 0.8083 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/1.091, allocations: 0 / 0.8083 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/1.091, allocations: 9.609 kB / 0.8083 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/1.091, allocations: 0 / 0.8083 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/1.091, allocations: 0 / 0.8083 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.692e-05/1.091, allocations: 76.78 kB / 0.8083 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.091, allocations: 0 / 0.8083 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002225/1.091, allocations: 3.844 kB / 0.8083 GB, free: 9.672 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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.0006114/1.092, allocations: 0.594 MB / 0.8089 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.227e-05/1.092, allocations: 6.031 kB / 0.8089 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.092, allocations: 0 / 0.8089 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/1.092, allocations: 7.375 kB / 0.8089 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/1.092, allocations: 6.688 kB / 0.8089 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/1.093, allocations: 82.08 kB / 0.809 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/1.093, allocations: 0.6709 MB / 0.8097 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.527e-05/1.093, allocations: 3.844 kB / 0.8097 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/1.093, allocations: 8.844 kB / 0.8097 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/1.093, allocations: 7.938 kB / 0.8097 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/1.112, allocations: 0.7507 MB / 0.8104 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.113, allocations: 157.4 kB / 0.8106 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.368, allocations: 0 / 0.8106 GB, free: 23.84 MB / 0.6511 GB