Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.778/2.778, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.918e-05/3.925e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 61.9 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5771/0.7422, allocations: 89.83 MB / 0.4885 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.7425, allocations: 59.97 kB / 0.4885 GB, free: 14.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/0.8669, allocations: 25.78 MB / 0.5137 GB, free: 4.254 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8669, allocations: 0 / 0.5137 GB, free: 4.254 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.867, allocations: 0 / 0.5137 GB, free: 4.254 MB / 426.7 MB 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.0009506/0.8679, allocations: 436.1 kB / 0.5141 GB, free: 3.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001007/0.868, allocations: 8.031 kB / 0.5141 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.8681, allocations: 34.5 kB / 0.5142 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.8682, allocations: 0 / 0.5142 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.8683, allocations: 163 kB / 0.5143 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.8683, allocations: 0 / 0.5143 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.8684, allocations: 8 kB / 0.5143 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.8685, allocations: 29.69 kB / 0.5143 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8685, allocations: 0 / 0.5143 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8685, allocations: 3.938 kB / 0.5144 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.8685, allocations: 4 kB / 0.5144 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.8686, allocations: 0 / 0.5144 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.8688, allocations: 149.6 kB / 0.5145 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.8689, allocations: 22.55 kB / 0.5145 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.8689, allocations: 12.84 kB / 0.5145 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.8689, allocations: 0 / 0.5145 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/0.869, allocations: 60.25 kB / 0.5146 GB, free: 3.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.214e-06/0.869, allocations: 0 / 0.5146 GB, free: 3.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.8693, allocations: 59.47 kB / 0.5146 GB, free: 3.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.8694, allocations: 81.11 kB / 0.5147 GB, free: 2.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.8694, allocations: 88.94 kB / 0.5148 GB, free: 2.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.8695, allocations: 29.73 kB / 0.5148 GB, free: 2.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.8695, allocations: 80.14 kB / 0.5149 GB, free: 2.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.8696, allocations: 4 kB / 0.5149 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.8696, allocations: 0 / 0.5149 GB, free: 2.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8698, allocations: 310.8 kB / 0.5152 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.8698, allocations: 0 / 0.5152 GB, free: 2.465 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.8698, allocations: 3.938 kB / 0.5152 GB, free: 2.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.8699, allocations: 33.69 kB / 0.5152 GB, free: 2.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8699, allocations: 64 / 0.5152 GB, free: 2.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001327/0.87, allocations: 67.36 kB / 0.5153 GB, free: 2.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.8701, allocations: 33.7 kB / 0.5153 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8701, allocations: 0 / 0.5153 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8702, allocations: 0 / 0.5153 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.8702, allocations: 0 / 0.5153 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8702, allocations: 3.984 kB / 0.5153 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.8702, allocations: 4 kB / 0.5154 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.8703, allocations: 0 / 0.5154 GB, free: 2.297 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000125/0.8704, allocations: 130.7 kB / 0.5155 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.8704, allocations: 3.953 kB / 0.5155 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.8705, allocations: 7.125 kB / 0.5155 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8705, allocations: 0 / 0.5155 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8705, allocations: 0 / 0.5155 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8705, allocations: 0 / 0.5155 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.8707, allocations: 145.7 kB / 0.5156 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8707, allocations: 0 / 0.5156 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-06/0.8707, allocations: 0 / 0.5156 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8707, allocations: 4 kB / 0.5156 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.8708, allocations: 3.953 kB / 0.5156 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8708, allocations: 7.938 kB / 0.5156 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8708, allocations: 0 / 0.5156 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.871, allocations: 98.75 kB / 0.5157 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.8711, allocations: 77.11 kB / 0.5158 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.8711, allocations: 4 kB / 0.5158 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.8712, allocations: 3.953 kB / 0.5158 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.8712, allocations: 0 / 0.5158 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.8712, allocations: 11.97 kB / 0.5158 GB, free: 1.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.8713, allocations: 75.28 kB / 0.5159 GB, free: 1.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8713, allocations: 0 / 0.5159 GB, free: 1.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001346/0.8726, allocations: 159.9 kB / 0.5161 GB, free: 1.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.002608/0.8753, allocations: 0.8795 MB / 0.5169 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.8755, allocations: 55.41 kB / 0.517 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8755, allocations: 0 / 0.517 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.8756, allocations: 55.41 kB / 0.517 GB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.8758, allocations: 3.953 kB / 0.517 GB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.8766, allocations: 154.5 kB / 0.5172 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.8771, allocations: 0.6731 MB / 0.5178 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.004e-06/0.8771, allocations: 0 / 0.5178 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.8771, allocations: 11.44 kB / 0.5178 GB, free: 15.54 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8771, allocations: 0 / 0.5178 GB, free: 15.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07481/0.952, allocations: 5.238 MB / 0.523 GB, free: 10.37 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/0.9524, allocations: 175.5 kB / 0.5231 GB, free: 10.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/3.841, allocations: 4.062 kB / 0.5231 GB, free: 10.15 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat