Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.365e-05, allocations: 0 / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09165, allocations: 44.51 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.4669, allocations: 71.78 MB / 371.7 MB, free: 21.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4672, allocations: 64.22 kB / 371.8 MB, free: 21.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009819/0.477, allocations: 2.172 MB / 373.9 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4771, allocations: 0 / 373.9 MB, free: 21.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4771, allocations: 2.094 kB / 373.9 MB, free: 21.38 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.0004941/0.4776, allocations: 389.3 kB / 374.3 MB, free: 21.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.005e-05/0.4777, allocations: 8.906 kB / 374.3 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.4777, allocations: 42.03 kB / 374.4 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4778, allocations: 14.59 kB / 374.4 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4781, allocations: 208.8 kB / 374.6 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4781, allocations: 6.438 kB / 374.6 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.4782, allocations: 5.531 kB / 374.6 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.4784, allocations: 72.52 kB / 374.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4784, allocations: 0 / 374.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4784, allocations: 1.094 kB / 374.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.4784, allocations: 4.484 kB / 374.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4786, allocations: 34.2 kB / 374.7 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.4793, allocations: 411.6 kB / 375.1 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.4795, allocations: 58.78 kB / 375.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.507e-05/0.4795, allocations: 27.39 kB / 375.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4796, allocations: 2.125 kB / 375.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4796, allocations: 34.52 kB / 375.2 MB, free: 20.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.4796, allocations: 1.562 kB / 375.2 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002345/0.4799, allocations: 74.77 kB / 375.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.4799, allocations: 56.59 kB / 375.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.48, allocations: 127.6 kB / 375.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4801, allocations: 25.7 kB / 375.5 MB, free: 20.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.4801, allocations: 179.7 kB / 375.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4802, allocations: 12.53 kB / 375.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.4802, allocations: 4.625 kB / 375.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.4803, allocations: 313.2 kB / 376 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.4803, allocations: 16.89 kB / 376 MB, free: 19.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.4804, allocations: 13.98 kB / 376 MB, free: 19.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.268e-05/0.4805, allocations: 14.08 kB / 376 MB, free: 19.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4805, allocations: 0.9688 kB / 376 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001714/0.4807, allocations: 80.02 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4807, allocations: 5.984 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4807, allocations: 4 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4807, allocations: 5.016 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.4811, allocations: 42.02 kB / 376.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.4811, allocations: 1.156 kB / 376.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.4812, allocations: 5.312 kB / 376.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4813, allocations: 9.047 kB / 376.2 MB, free: 19.53 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 5.818e-05/0.4813, allocations: 110.1 kB / 376.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.4814, allocations: 12.16 kB / 376.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.4814, allocations: 12.61 kB / 376.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4814, allocations: 5.234 kB / 376.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4814, allocations: 0 / 376.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4815, allocations: 0 / 376.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.4817, allocations: 196.1 kB / 376.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4817, allocations: 0 / 376.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.482, allocations: 24.33 kB / 376.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.482, allocations: 0 / 376.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.482, allocations: 5.031 kB / 376.6 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4821, allocations: 2.25 kB / 376.6 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4821, allocations: 5.078 kB / 376.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.4824, allocations: 189.9 kB / 376.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.4824, allocations: 84.48 kB / 376.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4824, allocations: 4.656 kB / 376.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4826, allocations: 5.219 kB / 376.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.4826, allocations: 6.375 kB / 376.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.4827, allocations: 7.109 kB / 376.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.4828, allocations: 104.4 kB / 377 MB, free: 18.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4828, allocations: 0 / 377 MB, free: 18.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003023/0.4831, allocations: 19.5 kB / 377 MB, free: 18.88 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.0004473/0.4835, allocations: 0.7291 MB / 377.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4837, allocations: 40.12 kB / 377.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4837, allocations: 0 / 377.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.4838, allocations: 20.38 kB / 377.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4841, allocations: 17.03 kB / 377.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.485, allocations: 252.3 kB / 378 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4852, allocations: 0.7098 MB / 378.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.4853, allocations: 29.91 kB / 378.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4853, allocations: 0 / 378.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.526/3.011, allocations: 1.616 MB / 380.4 MB, free: 17.21 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat