Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.656e-05, allocations: 8 kB / 225.1 MB, free: 2.219 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2566, allocations: 38.77 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.3969, allocations: 66.5 MB / 330.3 MB, free: 7.219 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.3972, allocations: 67.97 kB / 330.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009799/0.4071, allocations: 2.173 MB / 332.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4071, allocations: 3.938 kB / 332.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4071, allocations: 4 kB / 332.6 MB, free: 4.965 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.0005467/0.4077, allocations: 386.2 kB / 333 MB, free: 4.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4078, allocations: 8.031 kB / 333 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.4078, allocations: 42.55 kB / 333 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.4079, allocations: 7.906 kB / 333 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.4082, allocations: 214.7 kB / 333.2 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4082, allocations: 4 kB / 333.2 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.4083, allocations: 8 kB / 333.2 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4085, allocations: 77.62 kB / 333.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4085, allocations: 7.984 kB / 333.3 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4085, allocations: 0 / 333.3 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.4085, allocations: 4 kB / 333.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4087, allocations: 32 kB / 333.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.4095, allocations: 412 kB / 333.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.4097, allocations: 54.55 kB / 333.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.4098, allocations: 24.98 kB / 333.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4098, allocations: 4.031 kB / 333.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.4098, allocations: 30.56 kB / 333.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.4098, allocations: 0 / 333.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002523/0.4101, allocations: 69.59 kB / 333.9 MB, free: 3.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.4102, allocations: 55.41 kB / 334 MB, free: 3.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.4103, allocations: 130.2 kB / 334.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.4104, allocations: 25.7 kB / 334.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.4105, allocations: 112 kB / 334.3 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.4105, allocations: 23.73 kB / 334.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4105, allocations: 3.938 kB / 334.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4107, allocations: 322.8 kB / 334.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.4108, allocations: 16 kB / 334.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.4108, allocations: 20 kB / 334.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.682e-05/0.4109, allocations: 20.12 kB / 334.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4109, allocations: 3.938 kB / 334.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001835/0.4111, allocations: 77.59 kB / 334.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4111, allocations: 4 kB / 334.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4112, allocations: 4.062 kB / 334.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4112, allocations: 0 / 334.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.4116, allocations: 43.97 kB / 334.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4116, allocations: 0 / 334.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.4117, allocations: 15.88 kB / 334.8 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.4117, allocations: 0 / 334.8 MB, free: 2.508 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 7.692e-05/0.4118, allocations: 104.9 kB / 334.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.4118, allocations: 11.81 kB / 334.9 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.4119, allocations: 20.08 kB / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4119, allocations: 0 / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4119, allocations: 0 / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4119, allocations: 0 / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.4122, allocations: 197.6 kB / 335.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4123, allocations: 8 kB / 335.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.4125, allocations: 19.98 kB / 335.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4125, allocations: 0 / 335.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4126, allocations: 0 / 335.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4126, allocations: 3.984 kB / 335.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4126, allocations: 0 / 335.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.4129, allocations: 191.3 kB / 335.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.413, allocations: 93.03 kB / 335.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.413, allocations: 4.062 kB / 335.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.4132, allocations: 4 kB / 335.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.4132, allocations: 3.984 kB / 335.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.4132, allocations: 3.984 kB / 335.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.4134, allocations: 115.6 kB / 335.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-07/0.4134, allocations: 0 / 335.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.4137, allocations: 19.94 kB / 335.6 MB, free: 1.629 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.0005934/0.4143, allocations: 0.728 MB / 336.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4145, allocations: 43.98 kB / 336.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4145, allocations: 0 / 336.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/0.4146, allocations: 20 kB / 336.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.4149, allocations: 21.64 kB / 336.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.4159, allocations: 235.6 kB / 336.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4162, allocations: 0.7082 MB / 337.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.4163, allocations: 4 kB / 337.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.4164, allocations: 31.42 kB / 337.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4164, allocations: 0 / 337.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.4375, allocations: 1.949 MB / 339.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004055/0.438, allocations: 134.6 kB / 339.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.68, allocations: 0 / 339.5 MB, free: 13.65 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat