Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.297e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3739, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.533, allocations: 80.67 MB / 435 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5333, allocations: 63.97 kB / 435.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.5461, allocations: 2.696 MB / 437.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.741e-06/0.5461, allocations: 3.984 kB / 437.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.5462, allocations: 0 / 437.8 MB, free: 14.78 MB / 378.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.0004265/0.5466, allocations: 376.1 kB / 438.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5467, allocations: 12.03 kB / 438.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.5467, allocations: 0 / 438.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.5468, allocations: 163 kB / 438.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5469, allocations: 3.938 kB / 438.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.5469, allocations: 0 / 438.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.558e-05/0.5469, allocations: 4 kB / 438.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.473e-05/0.547, allocations: 37.64 kB / 438.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.547, allocations: 0 / 438.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.5471, allocations: 4 kB / 438.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5471, allocations: 0 / 438.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.5472, allocations: 126.2 kB / 438.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.5473, allocations: 18.52 kB / 438.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.5473, allocations: 4.859 kB / 438.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.5473, allocations: 3.938 kB / 438.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.5474, allocations: 64.36 kB / 438.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.5474, allocations: 0 / 438.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001845/0.5476, allocations: 41.64 kB / 438.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5476, allocations: 77.11 kB / 438.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.04e-05/0.5477, allocations: 85 kB / 438.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5477, allocations: 25.7 kB / 438.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.5478, allocations: 84.14 kB / 438.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.5478, allocations: 3.984 kB / 438.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.5478, allocations: 0 / 438.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5479, allocations: 314.9 kB / 439.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.5479, allocations: 0 / 439.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.548, allocations: 0 / 439.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.548, allocations: 4 kB / 439.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.548, allocations: 0 / 439.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.738e-05/0.5481, allocations: 41.62 kB / 439.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.5482, allocations: 33.7 kB / 439.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5482, allocations: 0 / 439.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5482, allocations: 0 / 439.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.5482, allocations: 4.094 kB / 439.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5482, allocations: 0 / 439.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.5483, allocations: 3.953 kB / 439.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5483, allocations: 4 kB / 439.3 MB, free: 13.05 MB / 378.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 8.893e-05/0.5484, allocations: 130.7 kB / 439.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.687e-05/0.5485, allocations: 33.7 kB / 439.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.5485, allocations: 4 kB / 439.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.455e-05/0.5485, allocations: 3.75 kB / 439.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5485, allocations: 4.031 kB / 439.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5485, allocations: 3.953 kB / 439.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5486, allocations: 0 / 439.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.5487, allocations: 134.2 kB / 439.6 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.5487, allocations: 4 kB / 439.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.5487, allocations: 7.922 kB / 439.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5487, allocations: 4 kB / 439.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.5487, allocations: 3.938 kB / 439.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5487, allocations: 0 / 439.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5487, allocations: 0 / 439.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.5489, allocations: 65.08 kB / 439.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.5489, allocations: 81.11 kB / 439.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.5489, allocations: 0 / 439.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.549, allocations: 0 / 439.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.549, allocations: 4 kB / 439.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.549, allocations: 0 / 439.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.992e-05/0.5491, allocations: 75.28 kB / 439.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5491, allocations: 4 kB / 439.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.5496, allocations: 83.95 kB / 439.9 MB, free: 12.32 MB / 378.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.0009433/0.5505, allocations: 0.7054 MB / 440.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.5507, allocations: 55.41 kB / 440.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5507, allocations: 4 kB / 440.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.5507, allocations: 59.47 kB / 440.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.5508, allocations: 5.953 kB / 440.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.5512, allocations: 119.1 kB / 440.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.5515, allocations: 0.669 MB / 441.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.193e-06/0.5515, allocations: 0 / 441.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.5515, allocations: 11.44 kB / 441.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5515, allocations: 0 / 441.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0731/0.6247, allocations: 1.734 MB / 443.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/0.625, allocations: 157.2 kB / 443.4 MB, free: 8.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.045, allocations: 0 / 443.4 MB, free: 8.664 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat