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.355/2.355, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.242e-05, allocations: 4.938 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.5918, allocations: 81.35 MB / 441.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5921, allocations: 63.97 kB / 441.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.6052, allocations: 2.685 MB / 444 MB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6053, allocations: 4 kB / 444 MB, free: 12.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.6053, allocations: 0 / 444 MB, free: 12.72 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.0004549/0.6058, allocations: 384.1 kB / 444.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.6058, allocations: 12.03 kB / 444.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.6059, allocations: 35.92 kB / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.6059, allocations: 0 / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.606, allocations: 159.1 kB / 444.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6061, allocations: 0 / 444.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.6061, allocations: 0 / 444.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.983e-05/0.6062, allocations: 37.66 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6062, allocations: 0 / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.6062, allocations: 0 / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6062, allocations: 0 / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.6063, allocations: 4 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.6064, allocations: 153.5 kB / 444.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.537e-05/0.6065, allocations: 18.58 kB / 444.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.6065, allocations: 8.953 kB / 444.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.6065, allocations: 4 kB / 444.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.6066, allocations: 60.22 kB / 444.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.6066, allocations: 0 / 444.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.6068, allocations: 64.33 kB / 444.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.6069, allocations: 77.11 kB / 445 MB, free: 11.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.264e-05/0.6069, allocations: 85 kB / 445.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.6069, allocations: 29.64 kB / 445.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.607, allocations: 84.14 kB / 445.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.607, allocations: 4.031 kB / 445.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.607, allocations: 4 kB / 445.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6072, allocations: 310.8 kB / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.6072, allocations: 0 / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.6072, allocations: 0 / 445.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.6072, allocations: 30.64 kB / 445.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6073, allocations: 0 / 445.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.953e-05/0.6074, allocations: 60.08 kB / 445.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.6074, allocations: 37.8 kB / 445.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.6074, allocations: 0 / 445.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.6075, allocations: 3.953 kB / 445.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.6075, allocations: 0 / 445.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6075, allocations: 0 / 445.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.6075, allocations: 0 / 445.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.6075, allocations: 5.5 kB / 445.6 MB, free: 10.83 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.071e-05/0.6076, allocations: 133.3 kB / 445.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.6077, allocations: 3.984 kB / 445.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.6077, allocations: 7.125 kB / 445.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6077, allocations: 4 kB / 445.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6077, allocations: 7.891 kB / 445.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6077, allocations: 0 / 445.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.6079, allocations: 143.3 kB / 445.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6079, allocations: 0 / 445.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.6079, allocations: 0 / 445.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.6079, allocations: 0 / 445.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6079, allocations: 11.92 kB / 445.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6079, allocations: 0.5 kB / 445.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6079, allocations: 0 / 445.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.6081, allocations: 98.78 kB / 446 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.6081, allocations: 81.09 kB / 446.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.6082, allocations: 0 / 446.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.6082, allocations: 2.062 kB / 446.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.6082, allocations: 0 / 446.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.6082, allocations: 4 kB / 446.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.566e-05/0.6083, allocations: 79.23 kB / 446.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6083, allocations: 4.031 kB / 446.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000521/0.6088, allocations: 79.92 kB / 446.3 MB, free: 10.08 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.001017/0.6098, allocations: 0.7426 MB / 447 MB, free: 9.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.61, allocations: 55.41 kB / 447.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.61, allocations: 0 / 447.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.61, allocations: 59.47 kB / 447.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.6102, allocations: 4 kB / 447.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.6105, allocations: 118.5 kB / 447.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.6109, allocations: 0.6737 MB / 447.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.903e-06/0.6109, allocations: 0 / 447.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.6109, allocations: 11.44 kB / 447.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6109, allocations: 0 / 447.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.6337, allocations: 2.019 MB / 449.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/0.6341, allocations: 181.3 kB / 450.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.922, allocations: 4.062 kB / 450.1 MB, free: 6.129 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