Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.684e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.405, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5608, allocations: 83.7 MB / 443.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5612, allocations: 63.97 kB / 443.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.118/0.6791, allocations: 25.63 MB / 469.3 MB, free: 3.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6792, allocations: 0 / 469.3 MB, free: 3.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.6792, allocations: 0 / 469.3 MB, free: 3.5 MB / 394.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.000814/0.68, allocations: 445.7 kB / 469.7 MB, free: 3.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6801, allocations: 8.031 kB / 469.7 MB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.6802, allocations: 38.55 kB / 469.7 MB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.6802, allocations: 0 / 469.7 MB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.6803, allocations: 159.1 kB / 469.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.6803, allocations: 3.938 kB / 469.9 MB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.6803, allocations: 0 / 469.9 MB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.6804, allocations: 29.7 kB / 469.9 MB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.6805, allocations: 11.89 kB / 469.9 MB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.6805, allocations: 0 / 469.9 MB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6805, allocations: 4 kB / 470 MB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.6805, allocations: 0 / 470 MB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.6807, allocations: 149.7 kB / 470.1 MB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.6807, allocations: 18.58 kB / 470.1 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.6808, allocations: 4.859 kB / 470.1 MB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6808, allocations: 6.719 kB / 470.1 MB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.6809, allocations: 60.27 kB / 470.2 MB, free: 2.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.6809, allocations: 0 / 470.2 MB, free: 2.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.6811, allocations: 67.28 kB / 470.3 MB, free: 2.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.6811, allocations: 81.11 kB / 470.3 MB, free: 2.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.6812, allocations: 85 kB / 470.4 MB, free: 2.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.6812, allocations: 25.7 kB / 470.4 MB, free: 2.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.6812, allocations: 80.14 kB / 470.5 MB, free: 2.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.6813, allocations: 4 kB / 470.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.6813, allocations: 0 / 470.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6814, allocations: 314.9 kB / 470.8 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.6814, allocations: 4 kB / 470.8 MB, free: 1.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.6815, allocations: 0 / 470.8 MB, free: 1.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.6815, allocations: 25.7 kB / 470.9 MB, free: 1.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6815, allocations: 0 / 470.9 MB, free: 1.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.231e-05/0.6816, allocations: 63.39 kB / 470.9 MB, free: 1.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.6817, allocations: 29.7 kB / 471 MB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6817, allocations: 0 / 471 MB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6817, allocations: 8.078 kB / 471 MB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.6817, allocations: 7.938 kB / 471 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6817, allocations: 3.953 kB / 471 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.6818, allocations: 0 / 471 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6818, allocations: 0 / 471 MB, free: 1.539 MB / 394.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 9.75e-05/0.6819, allocations: 134.7 kB / 471.1 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.6819, allocations: 0 / 471.1 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.6819, allocations: 7.109 kB / 471.1 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.682, allocations: 3.938 kB / 471.1 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.682, allocations: 0 / 471.1 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.682, allocations: 8.984 kB / 471.1 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.6821, allocations: 145.7 kB / 471.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6821, allocations: 0 / 471.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.6821, allocations: 0 / 471.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6821, allocations: 0 / 471.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6822, allocations: 3.984 kB / 471.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6822, allocations: 0 / 471.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6822, allocations: 0 / 471.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.6823, allocations: 94.8 kB / 471.4 MB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.6824, allocations: 77.11 kB / 471.4 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.6824, allocations: 7.984 kB / 471.4 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.6824, allocations: 0.6562 kB / 471.4 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.6824, allocations: 3.938 kB / 471.4 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.6824, allocations: 0 / 471.4 MB, free: 0.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.6825, allocations: 75.28 kB / 471.5 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6825, allocations: 0 / 471.5 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008906/0.6834, allocations: 155.9 kB / 471.7 MB, free: 0.7305 MB / 394.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.001655/0.6851, allocations: 0.8706 MB / 472.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.6852, allocations: 63.34 kB / 472.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6852, allocations: 64 / 472.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.6853, allocations: 67.33 kB / 472.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.6854, allocations: 4.875 kB / 472.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.6859, allocations: 141.2 kB / 472.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.6862, allocations: 0.677 MB / 473.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.181e-06/0.6862, allocations: 0 / 473.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.6862, allocations: 7.438 kB / 473.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6862, allocations: 0 / 473.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.7238, allocations: 5.245 MB / 478.7 MB, free: 9.621 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003192/0.7242, allocations: 187.5 kB / 478.9 MB, free: 9.387 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.309, allocations: 0 / 478.9 MB, free: 9.387 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat