Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.672e-05, allocations: 4 kB / 219.5 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 38.76 MB / 258.3 MB, free: 12.14 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4017, allocations: 65.84 MB / 324.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.402, allocations: 63.97 kB / 324.2 MB, free: 12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009586/0.4116, allocations: 2.161 MB / 326.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4116, allocations: 3.938 kB / 326.4 MB, free: 9.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.4116, allocations: 4 kB / 326.4 MB, free: 9.828 MB / 282.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.0005707/0.4122, allocations: 394.1 kB / 326.8 MB, free: 9.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4123, allocations: 8.031 kB / 326.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.4123, allocations: 11.91 kB / 326.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.4127, allocations: 207.3 kB / 327 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.4127, allocations: 0 / 327 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.4128, allocations: 11.94 kB / 327 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.4129, allocations: 31.94 kB / 327 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4131, allocations: 61.69 kB / 327.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4131, allocations: 0 / 327.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4131, allocations: 4 kB / 327.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.4131, allocations: 0 / 327.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.4139, allocations: 388.5 kB / 327.5 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4141, allocations: 50.61 kB / 327.5 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.4142, allocations: 24.98 kB / 327.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4142, allocations: 0 / 327.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4142, allocations: 30.56 kB / 327.6 MB, free: 8.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.4143, allocations: 3.938 kB / 327.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002152/0.4145, allocations: 69.64 kB / 327.6 MB, free: 8.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.4145, allocations: 51.41 kB / 327.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4147, allocations: 130.1 kB / 327.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4147, allocations: 25.7 kB / 327.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.4148, allocations: 178.5 kB / 328 MB, free: 7.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.4148, allocations: 19.8 kB / 328 MB, free: 7.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.4149, allocations: 0 / 328 MB, free: 7.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.415, allocations: 314.8 kB / 328.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.4151, allocations: 12 kB / 328.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.4151, allocations: 16 kB / 328.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.4152, allocations: 12 kB / 328.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4152, allocations: 4 kB / 328.4 MB, free: 7.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001748/0.4154, allocations: 77.55 kB / 328.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4154, allocations: 4 kB / 328.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4154, allocations: 0 / 328.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4154, allocations: 11.92 kB / 328.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.4158, allocations: 36.03 kB / 328.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4159, allocations: 4 kB / 328.5 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.416, allocations: 11.84 kB / 328.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.416, allocations: 4 kB / 328.5 MB, free: 7.445 MB / 282.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.562e-05/0.4161, allocations: 110.3 kB / 328.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001698/0.4163, allocations: 69.53 kB / 328.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.4163, allocations: 7.906 kB / 328.7 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.4164, allocations: 12.41 kB / 328.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4164, allocations: 3.984 kB / 328.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4164, allocations: 0 / 328.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4164, allocations: 0 / 328.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.4167, allocations: 170.2 kB / 328.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4167, allocations: 0 / 328.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.417, allocations: 27.97 kB / 328.9 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.417, allocations: 0 / 328.9 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.417, allocations: 0 / 328.9 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.417, allocations: 4 kB / 328.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.417, allocations: 0 / 328.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.4173, allocations: 183.4 kB / 329.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4174, allocations: 89.03 kB / 329.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.4175, allocations: 4.062 kB / 329.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4176, allocations: 4 kB / 329.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.4177, allocations: 11.92 kB / 329.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4177, allocations: 0 / 329.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.4178, allocations: 107.8 kB / 329.3 MB, free: 6.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4178, allocations: 0 / 329.3 MB, free: 6.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.4182, allocations: 15.91 kB / 329.3 MB, free: 6.555 MB / 282.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.0005806/0.4188, allocations: 0.7203 MB / 330.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4189, allocations: 35.94 kB / 330.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.419, allocations: 0 / 330.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.419, allocations: 16 kB / 330.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4194, allocations: 15.98 kB / 330.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.4203, allocations: 259.8 kB / 330.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4207, allocations: 0.7041 MB / 331.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.4208, allocations: 31.42 kB / 331.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4208, allocations: 0 / 331.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.412/2.833, allocations: 1.629 MB / 332.7 MB, free: 3.062 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat