Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.674/4.674, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.163e-05, allocations: 4 kB / 0.4945 GB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7667, allocations: 92.68 MB / 0.585 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2608/1.028, allocations: 119.4 MB / 0.7017 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.028, allocations: 75.94 kB / 0.7018 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005377/1.033, allocations: 1.054 MB / 0.7028 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.057e-06/1.033, allocations: 0 / 0.7028 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.033, allocations: 3.938 kB / 0.7028 GB, free: 9.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007089/1.034, allocations: 370.4 kB / 0.7031 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/1.034, allocations: 12.03 kB / 0.7031 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/1.034, allocations: 11.84 kB / 0.7032 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/1.034, allocations: 175 kB / 0.7033 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.034, allocations: 0 / 0.7033 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/1.034, allocations: 0 / 0.7033 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001811/1.035, allocations: 31.98 kB / 0.7034 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.035, allocations: 49.69 kB / 0.7034 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.035, allocations: 0 / 0.7034 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/1.035, allocations: 0 / 0.7034 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/1.035, allocations: 7.953 kB / 0.7034 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/1.036, allocations: 301.3 kB / 0.7037 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/1.036, allocations: 46.56 kB / 0.7037 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/1.036, allocations: 20.86 kB / 0.7038 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/1.036, allocations: 105.2 kB / 0.7039 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.036, allocations: 38.56 kB / 0.7039 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/1.036, allocations: 0 / 0.7039 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004065/1.037, allocations: 77.47 kB / 0.704 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.037, allocations: 59.39 kB / 0.704 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.037, allocations: 109 kB / 0.7041 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/1.037, allocations: 29.69 kB / 0.7042 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/1.037, allocations: 92.14 kB / 0.7043 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/1.037, allocations: 3.906 kB / 0.7043 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/1.037, allocations: 4 kB / 0.7043 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.037, allocations: 318.8 kB / 0.7046 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/1.037, allocations: 12 kB / 0.7046 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/1.037, allocations: 15.98 kB / 0.7046 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.038, allocations: 23.98 kB / 0.7046 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.038, allocations: 0 / 0.7046 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000286/1.038, allocations: 77.58 kB / 0.7047 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.038, allocations: 11.92 kB / 0.7047 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.038, allocations: 0 / 0.7047 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.038, allocations: 0 / 0.7047 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/1.038, allocations: 24.11 kB / 0.7047 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.038, allocations: 0 / 0.7047 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/1.039, allocations: 23.94 kB / 0.7047 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/1.039, allocations: 4 kB / 0.7047 GB, free: 7.375 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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.097e-05/1.039, allocations: 104.9 kB / 0.7048 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002963/1.039, allocations: 85.55 kB / 0.7049 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/1.039, allocations: 7.906 kB / 0.7049 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/1.039, allocations: 85.94 kB / 0.705 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.039, allocations: 7.953 kB / 0.705 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.039, allocations: 0 / 0.705 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.039, allocations: 0 / 0.705 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/1.04, allocations: 158.2 kB / 0.7052 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.04, allocations: 0 / 0.7052 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/1.04, allocations: 19.98 kB / 0.7052 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.04, allocations: 0 / 0.7052 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.04, allocations: 0 / 0.7052 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.04, allocations: 8 kB / 0.7052 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.04, allocations: 0 / 0.7052 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/1.04, allocations: 175.4 kB / 0.7054 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/1.04, allocations: 81.05 kB / 0.7054 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.041, allocations: 0 / 0.7054 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/1.041, allocations: 15.98 kB / 0.7055 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/1.041, allocations: 15.98 kB / 0.7055 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/1.041, allocations: 0 / 0.7055 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.145e-05/1.041, allocations: 95.27 kB / 0.7056 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.479e-06/1.041, allocations: 0 / 0.7056 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003931/1.041, allocations: 15.89 kB / 0.7056 GB, free: 6.418 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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.0007476/1.042, allocations: 0.7161 MB / 0.7063 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001606/1.042, allocations: 32 kB / 0.7063 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.042, allocations: 0 / 0.7063 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/1.042, allocations: 19.94 kB / 0.7063 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/1.043, allocations: 7.984 kB / 0.7063 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/1.043, allocations: 121.5 kB / 0.7065 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.044, allocations: 0.7001 MB / 0.7071 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.172e-05/1.044, allocations: 4 kB / 0.7071 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/1.044, allocations: 15.44 kB / 0.7072 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/1.044, allocations: 0 / 0.7072 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/1.085, allocations: 1.218 MB / 0.7083 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003507/1.085, allocations: 155.7 kB / 0.7085 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.68/3.765, allocations: 0 / 0.7085 GB, free: 3.309 MB / 0.5886 GB