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.705/1.705, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.347e-05, allocations: 4 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.3909, allocations: 65.83 MB / 324.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.3912, allocations: 63.97 kB / 324.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009381/0.4006, allocations: 2.162 MB / 326.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4006, allocations: 3.938 kB / 326.4 MB, free: 9.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.4007, allocations: 4 kB / 326.4 MB, free: 9.715 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.0005517/0.4012, allocations: 390.1 kB / 326.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4013, allocations: 16.02 kB / 326.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4014, allocations: 7.906 kB / 326.8 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.4017, allocations: 207.3 kB / 327 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4017, allocations: 4 kB / 327 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.4017, allocations: 4 kB / 327 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001254/0.4019, allocations: 27.95 kB / 327 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4021, allocations: 69.61 kB / 327.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4021, allocations: 0 / 327.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4021, allocations: 0 / 327.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4021, allocations: 8 kB / 327.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.4029, allocations: 380.5 kB / 327.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.403, allocations: 54.64 kB / 327.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.4031, allocations: 24.98 kB / 327.6 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4032, allocations: 0 / 327.6 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.4032, allocations: 30.56 kB / 327.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.4032, allocations: 0 / 327.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002595/0.4035, allocations: 77.53 kB / 327.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4035, allocations: 51.41 kB / 327.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4037, allocations: 126.1 kB / 327.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4037, allocations: 33.7 kB / 327.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.4038, allocations: 112 kB / 328 MB, free: 7.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.4039, allocations: 15.8 kB / 328 MB, free: 7.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4039, allocations: 0 / 328 MB, free: 7.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.404, allocations: 318.8 kB / 328.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.4041, allocations: 16 kB / 328.3 MB, free: 7.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.4041, allocations: 12 kB / 328.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.934e-05/0.4042, allocations: 19.92 kB / 328.4 MB, free: 7.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4042, allocations: 0 / 328.4 MB, free: 7.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001879/0.4044, allocations: 89.66 kB / 328.5 MB, free: 7.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4045, allocations: 4 kB / 328.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4045, allocations: 0 / 328.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4045, allocations: 0 / 328.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.4049, allocations: 43.91 kB / 328.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4049, allocations: 0 / 328.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.405, allocations: 7.938 kB / 328.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.405, allocations: 0 / 328.5 MB, free: 7.387 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.459e-05/0.4051, allocations: 108.9 kB / 328.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001688/0.4053, allocations: 73.5 kB / 328.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.4053, allocations: 11.89 kB / 328.7 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.4054, allocations: 12.41 kB / 328.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4054, allocations: 0 / 328.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4054, allocations: 0 / 328.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4054, allocations: 0 / 328.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.4057, allocations: 170.1 kB / 328.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4057, allocations: 4 kB / 328.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.406, allocations: 31.92 kB / 328.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.406, allocations: 0 / 328.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.406, allocations: 0 / 328.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.406, allocations: 0 / 328.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.406, allocations: 0 / 328.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.4063, allocations: 187.4 kB / 329.1 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.4064, allocations: 85.05 kB / 329.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4065, allocations: 4.172 kB / 329.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4066, allocations: 12.06 kB / 329.2 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.4067, allocations: 4 kB / 329.2 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.4067, allocations: 4 kB / 329.2 MB, free: 6.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.499e-05/0.4068, allocations: 103.8 kB / 329.3 MB, free: 6.504 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4068, allocations: 0 / 329.3 MB, free: 6.504 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.4072, allocations: 15.91 kB / 329.3 MB, free: 6.488 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.0005909/0.4078, allocations: 0.7202 MB / 330 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.4079, allocations: 32 kB / 330.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4079, allocations: 0 / 330.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.408, allocations: 27.92 kB / 330.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4084, allocations: 19.58 kB / 330.1 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.4093, allocations: 226.1 kB / 330.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4097, allocations: 0.7119 MB / 331 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.4098, allocations: 7.938 kB / 331.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.4099, allocations: 27.42 kB / 331.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4099, allocations: 0 / 331.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.4469, allocations: 1.615 MB / 332.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.4472, allocations: 131.8 kB / 332.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.685, allocations: 4 kB / 332.8 MB, free: 2.836 MB / 282.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