Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.254/2.254, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.469e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5739, allocations: 76.1 MB / 393.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.5742, allocations: 70.11 kB / 393.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.5843, allocations: 2.224 MB / 395.4 MB, free: 9.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5843, allocations: 0 / 395.4 MB, free: 9.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.5844, allocations: 4 kB / 395.4 MB, free: 9.609 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000564/0.5849, allocations: 392.5 kB / 395.8 MB, free: 9.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.585, allocations: 12.03 kB / 395.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.5851, allocations: 42.42 kB / 395.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.5851, allocations: 12.41 kB / 395.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.5854, allocations: 199.3 kB / 396.1 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5855, allocations: 5.875 kB / 396.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.5855, allocations: 10.52 kB / 396.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.5857, allocations: 73.11 kB / 396.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5858, allocations: 3.938 kB / 396.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.5858, allocations: 1.75 kB / 396.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5858, allocations: 4 kB / 396.1 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.5859, allocations: 30.25 kB / 396.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.5867, allocations: 411.9 kB / 396.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.5869, allocations: 55.55 kB / 396.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.587, allocations: 27.05 kB / 396.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.587, allocations: 0 / 396.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.587, allocations: 34.61 kB / 396.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.587, allocations: 0 / 396.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002347/0.5873, allocations: 71.72 kB / 396.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5874, allocations: 63.34 kB / 396.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5875, allocations: 136.2 kB / 397 MB, free: 7.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5875, allocations: 25.7 kB / 397 MB, free: 7.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5877, allocations: 112.2 kB / 397.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.5877, allocations: 15.56 kB / 397.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.5877, allocations: 0 / 397.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5879, allocations: 322.3 kB / 397.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.5879, allocations: 15.19 kB / 397.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.588, allocations: 11.69 kB / 397.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.5881, allocations: 15.25 kB / 397.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5881, allocations: 4.219 kB / 397.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001909/0.5883, allocations: 80.36 kB / 397.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5883, allocations: 11.94 kB / 397.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5883, allocations: 3.984 kB / 397.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5884, allocations: 0 / 397.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5887, allocations: 39.91 kB / 397.6 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5888, allocations: 4 kB / 397.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.5889, allocations: 11.52 kB / 397.6 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.5889, allocations: 4 kB / 397.6 MB, free: 7.336 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.162e-05/0.589, allocations: 105 kB / 397.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.589, allocations: 7.906 kB / 397.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.5891, allocations: 19.33 kB / 397.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5891, allocations: 0 / 397.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5891, allocations: 0 / 397.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5891, allocations: 0 / 397.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.5894, allocations: 195.8 kB / 397.9 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5894, allocations: 3.938 kB / 397.9 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.5897, allocations: 27.98 kB / 398 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5897, allocations: 0 / 398 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5898, allocations: 3.688 kB / 398 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5898, allocations: 0 / 398 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5898, allocations: 0 / 398 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.5901, allocations: 196.8 kB / 398.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.5902, allocations: 85.05 kB / 398.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.5902, allocations: 0 / 398.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5903, allocations: 8.062 kB / 398.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.5904, allocations: 7.984 kB / 398.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.5904, allocations: 128 / 398.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.5905, allocations: 110.6 kB / 398.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5905, allocations: 0 / 398.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.5909, allocations: 19.84 kB / 398.4 MB, free: 6.527 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0006761/0.5915, allocations: 0.7373 MB / 399.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.5918, allocations: 34.06 kB / 399.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5918, allocations: 0 / 399.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.5919, allocations: 19.06 kB / 399.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.5922, allocations: 15.55 kB / 399.2 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.5932, allocations: 229.6 kB / 399.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.5935, allocations: 0.7043 MB / 400.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.675e-05/0.5936, allocations: 11.77 kB / 400.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.5937, allocations: 25.94 kB / 400.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5937, allocations: 0 / 400.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.6148, allocations: 1.954 MB / 402.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.6151, allocations: 133.6 kB / 402.2 MB, free: 2.637 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.052, allocations: 0 / 402.2 MB, free: 2.637 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat