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.982/1.982, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.567e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2859, allocations: 38.76 MB / 263.9 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.4657, allocations: 66.5 MB / 330.4 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.466, allocations: 67.97 kB / 330.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.4761, allocations: 2.173 MB / 332.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4762, allocations: 0 / 332.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.4762, allocations: 4 kB / 332.6 MB, free: 4.836 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.0005997/0.4768, allocations: 390.1 kB / 333 MB, free: 4.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4769, allocations: 8.031 kB / 333 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.477, allocations: 42.55 kB / 333 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.477, allocations: 11.91 kB / 333.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.4774, allocations: 215 kB / 333.3 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4774, allocations: 4 kB / 333.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.4775, allocations: 8 kB / 333.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.4777, allocations: 73.62 kB / 333.3 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4777, allocations: 0 / 333.3 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.4778, allocations: 4 kB / 333.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4778, allocations: 4 kB / 333.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.4779, allocations: 24 kB / 333.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.4788, allocations: 420 kB / 333.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.479, allocations: 50.52 kB / 333.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.4791, allocations: 25.02 kB / 333.9 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4791, allocations: 8 kB / 333.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.4792, allocations: 38.55 kB / 333.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.295e-06/0.4792, allocations: 0 / 333.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002796/0.4795, allocations: 69.64 kB / 334 MB, free: 3.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.4795, allocations: 55.34 kB / 334 MB, free: 3.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.4797, allocations: 130.1 kB / 334.2 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4798, allocations: 29.7 kB / 334.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.4799, allocations: 116 kB / 334.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4799, allocations: 11.81 kB / 334.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.4799, allocations: 7.938 kB / 334.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4801, allocations: 322.8 kB / 334.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.4802, allocations: 12.22 kB / 334.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.4802, allocations: 19.98 kB / 334.7 MB, free: 2.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.4803, allocations: 24.08 kB / 334.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4803, allocations: 0 / 334.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001879/0.4805, allocations: 73.59 kB / 334.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4805, allocations: 4 kB / 334.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4806, allocations: 8 kB / 334.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4806, allocations: 3.984 kB / 334.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.481, allocations: 35.97 kB / 334.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.481, allocations: 0 / 334.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.4811, allocations: 7.938 kB / 334.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4812, allocations: 4 kB / 334.8 MB, free: 2.383 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 9.136e-05/0.4813, allocations: 113.6 kB / 334.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.4813, allocations: 15.81 kB / 335 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.4814, allocations: 12.09 kB / 335 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4814, allocations: 3.984 kB / 335 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4814, allocations: 0 / 335 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4814, allocations: 0 / 335 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.4818, allocations: 197.6 kB / 335.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4818, allocations: 0 / 335.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.482, allocations: 19.98 kB / 335.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4821, allocations: 4 kB / 335.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4821, allocations: 4 kB / 335.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4821, allocations: 4 kB / 335.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4821, allocations: 0 / 335.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.4825, allocations: 191.3 kB / 335.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.4826, allocations: 85.05 kB / 335.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4826, allocations: 7.984 kB / 335.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4827, allocations: 4 kB / 335.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.4828, allocations: 4 kB / 335.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4828, allocations: 4.188 kB / 335.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4829, allocations: 111.6 kB / 335.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.483, allocations: 0 / 335.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.4833, allocations: 16 kB / 335.6 MB, free: 1.508 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.0006586/0.484, allocations: 0.7279 MB / 336.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.4842, allocations: 47.94 kB / 336.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4842, allocations: 0 / 336.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.4842, allocations: 23.98 kB / 336.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4846, allocations: 19.92 kB / 336.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4856, allocations: 223.7 kB / 336.6 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.486, allocations: 0.7082 MB / 337.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.4861, allocations: 4 kB / 337.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.4862, allocations: 31.42 kB / 337.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4862, allocations: 0 / 337.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.5126, allocations: 1.942 MB / 339.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004298/0.5131, allocations: 141.3 kB / 339.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/2.929, allocations: 4 kB / 339.5 MB, free: 13.53 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