Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.42/3.42, allocations: 343.7 MB / 355.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.873e-05/4.88e-05, allocations: 7.984 kB / 436.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1672, allocations: 77.72 MB / 0.5023 GB, free: 4.461 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7624/0.9297, allocations: 105.6 MB / 0.6054 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004129/0.9302, allocations: 67.97 kB / 0.6055 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.9413, allocations: 1.071 MB / 0.6065 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9414, allocations: 0 / 0.6065 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.9414, allocations: 0 / 0.6065 GB, free: 14.16 MB / 0.4948 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.0008416/0.9422, allocations: 382.4 kB / 0.6069 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.9423, allocations: 8.031 kB / 0.6069 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.9424, allocations: 34.56 kB / 0.6069 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.9425, allocations: 10.03 kB / 0.6069 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.9427, allocations: 174.9 kB / 0.6071 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.9428, allocations: 7.984 kB / 0.6071 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.9428, allocations: 4 kB / 0.6071 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.9431, allocations: 49.69 kB / 0.6072 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.9432, allocations: 0 / 0.6072 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.9432, allocations: 3.984 kB / 0.6072 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.9432, allocations: 0 / 0.6072 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.9435, allocations: 39.92 kB / 0.6072 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009871/0.9534, allocations: 324.9 kB / 0.6075 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.9536, allocations: 42.56 kB / 0.6076 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.9537, allocations: 20.86 kB / 0.6076 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.9541, allocations: 111.9 kB / 0.6077 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.9542, allocations: 30.56 kB / 0.6077 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 3.857e-06/0.9542, allocations: 3.938 kB / 0.6077 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004202/0.9546, allocations: 73.58 kB / 0.6078 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.9547, allocations: 55.36 kB / 0.6078 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.955, allocations: 113 kB / 0.608 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.955, allocations: 29.7 kB / 0.608 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.9551, allocations: 88.14 kB / 0.6081 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.9552, allocations: 7.906 kB / 0.6081 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.9553, allocations: 4 kB / 0.6081 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9554, allocations: 314.8 kB / 0.6084 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.9555, allocations: 16 kB / 0.6084 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.9557, allocations: 19.98 kB / 0.6084 GB, free: 12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.9558, allocations: 15.98 kB / 0.6084 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9558, allocations: 0 / 0.6084 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002906/0.9561, allocations: 73.47 kB / 0.6085 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.9597, allocations: 4.625 kB / 0.6085 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.9597, allocations: 4 kB / 0.6085 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.9598, allocations: 0 / 0.6085 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.9602, allocations: 23.97 kB / 0.6085 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9602, allocations: 0 / 0.6085 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.9605, allocations: 19.94 kB / 0.6085 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.9606, allocations: 8.875 kB / 0.6086 GB, free: 11.85 MB / 0.4948 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 0.0001253/0.9607, allocations: 105 kB / 0.6087 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.9608, allocations: 7.906 kB / 0.6087 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.9613, allocations: 85.61 kB / 0.6087 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.9613, allocations: 0 / 0.6087 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.9613, allocations: 0 / 0.6087 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9614, allocations: 4 kB / 0.6087 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.9618, allocations: 185.5 kB / 0.6089 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.9618, allocations: 4 kB / 0.6089 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.9622, allocations: 27.97 kB / 0.609 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.9622, allocations: 0 / 0.609 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.9622, allocations: 0 / 0.609 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.9622, allocations: 0 / 0.609 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.9623, allocations: 0 / 0.609 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.9627, allocations: 171.6 kB / 0.6091 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.9628, allocations: 88.95 kB / 0.6092 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.9628, allocations: 4 kB / 0.6092 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.9632, allocations: 15.98 kB / 0.6092 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.9633, allocations: 11.98 kB / 0.6092 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.9633, allocations: 0 / 0.6092 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001388/0.9635, allocations: 99.77 kB / 0.6093 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.062e-06/0.9635, allocations: 0 / 0.6093 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005412/0.9641, allocations: 16 kB / 0.6093 GB, free: 10.94 MB / 0.4948 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.00342/0.9675, allocations: 0.7083 MB / 0.61 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.9678, allocations: 35.98 kB / 0.6101 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9679, allocations: 0 / 0.6101 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.968, allocations: 23.94 kB / 0.6101 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.9684, allocations: 7.984 kB / 0.6101 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.9694, allocations: 126.4 kB / 0.6102 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.9699, allocations: 0.7042 MB / 0.6109 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.779e-05/0.97, allocations: 0 / 0.6109 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.9701, allocations: 15.44 kB / 0.6109 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/0.9702, allocations: 0 / 0.6109 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.9903, allocations: 1.54 MB / 0.6124 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/0.9908, allocations: 162.4 kB / 0.6126 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.5, allocations: 0 / 0.6126 GB, free: 7.547 MB / 0.4948 GB