Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.163e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3976, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5549, allocations: 80.68 MB / 435.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5552, allocations: 59.97 kB / 435.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.5693, allocations: 2.69 MB / 437.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5694, allocations: 0 / 437.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.5694, allocations: 3.938 kB / 437.9 MB, free: 11.65 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.000474/0.5699, allocations: 380.1 kB / 438.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.57, allocations: 16.03 kB / 438.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.57, allocations: 4 kB / 438.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.5701, allocations: 159.1 kB / 438.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.5702, allocations: 0 / 438.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.5702, allocations: 0 / 438.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.311e-05/0.5702, allocations: 0 / 438.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.455e-05/0.5703, allocations: 41.58 kB / 438.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5703, allocations: 0 / 438.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5704, allocations: 0 / 438.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5704, allocations: 0 / 438.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.5705, allocations: 130.2 kB / 438.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.793e-05/0.5706, allocations: 18.61 kB / 438.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.5706, allocations: 4.859 kB / 438.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.5706, allocations: 0 / 438.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.5707, allocations: 64.33 kB / 438.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.5707, allocations: 0 / 438.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001947/0.5709, allocations: 41.59 kB / 438.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.571, allocations: 81.09 kB / 438.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/0.571, allocations: 85 kB / 438.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.5711, allocations: 25.7 kB / 438.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.5711, allocations: 80.14 kB / 439 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.5712, allocations: 4 kB / 439 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.5712, allocations: 0 / 439 MB, free: 10.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5713, allocations: 310.8 kB / 439.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.5713, allocations: 0 / 439.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.5714, allocations: 4.031 kB / 439.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.5714, allocations: 8 kB / 439.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5714, allocations: 0 / 439.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.528e-05/0.5715, allocations: 37.62 kB / 439.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.5716, allocations: 33.7 kB / 439.4 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5716, allocations: 0 / 439.4 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5716, allocations: 0 / 439.4 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-06/0.5717, allocations: 4 kB / 439.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5717, allocations: 0 / 439.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.5717, allocations: 8.047 kB / 439.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.5717, allocations: 3.938 kB / 439.4 MB, free: 9.914 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 9.751e-05/0.5718, allocations: 130.7 kB / 439.5 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.369e-05/0.5719, allocations: 37.69 kB / 439.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.572, allocations: 0 / 439.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.572, allocations: 11.75 kB / 439.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.572, allocations: 3.938 kB / 439.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.572, allocations: 3.953 kB / 439.6 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5721, allocations: 0 / 439.6 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5722, allocations: 130.3 kB / 439.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5722, allocations: 0 / 439.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-06/0.5722, allocations: 0 / 439.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5722, allocations: 4 kB / 439.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.5722, allocations: 0 / 439.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5722, allocations: 0 / 439.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5722, allocations: 0 / 439.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.5724, allocations: 69.02 kB / 439.8 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.5725, allocations: 81.14 kB / 439.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.5725, allocations: 4 kB / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.5725, allocations: 0 / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.5725, allocations: 0 / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.5726, allocations: 0 / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.5726, allocations: 75.28 kB / 439.9 MB, free: 9.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5726, allocations: 0 / 439.9 MB, free: 9.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005464/0.5732, allocations: 83.86 kB / 440 MB, free: 9.199 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.001088/0.5743, allocations: 0.7211 MB / 440.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.5744, allocations: 63.34 kB / 440.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5744, allocations: 0 / 440.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.5745, allocations: 55.41 kB / 440.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.5746, allocations: 0 / 440.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.575, allocations: 113.7 kB / 440.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5753, allocations: 0.6768 MB / 441.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.442e-06/0.5754, allocations: 0 / 441.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.5754, allocations: 7.438 kB / 441.6 MB, free: 7.461 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5754, allocations: 0 / 441.6 MB, free: 7.461 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.621, allocations: 1.744 MB / 443.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004105/0.6215, allocations: 166.9 kB / 443.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.627/3.249, allocations: 0 / 443.5 MB, free: 5.527 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat