Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.932e-05, allocations: 2.25 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07698/0.07703, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.4811, allocations: 71.78 MB / 371.6 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4813, allocations: 64.19 kB / 371.7 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009199/0.4906, allocations: 2.165 MB / 373.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.964e-06/0.4906, allocations: 1.031 kB / 373.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.4906, allocations: 6.094 kB / 373.8 MB, free: 21.35 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.0004122/0.4911, allocations: 386.7 kB / 374.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4911, allocations: 10.42 kB / 374.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.4912, allocations: 13 kB / 374.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4914, allocations: 208.4 kB / 374.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4915, allocations: 3.031 kB / 374.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4915, allocations: 8.75 kB / 374.5 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4917, allocations: 74.36 kB / 374.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4917, allocations: 0 / 374.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4917, allocations: 4.719 kB / 374.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-06/0.4918, allocations: 2.188 kB / 374.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.4919, allocations: 30.86 kB / 374.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.4925, allocations: 408.8 kB / 375 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.4927, allocations: 60.38 kB / 375 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.4927, allocations: 24.44 kB / 375 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4928, allocations: 1.781 kB / 375 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.4928, allocations: 31.56 kB / 375.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.528e-06/0.4928, allocations: 0 / 375.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002244/0.493, allocations: 82.61 kB / 375.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.4931, allocations: 56.19 kB / 375.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4932, allocations: 128.5 kB / 375.3 MB, free: 20.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4932, allocations: 26.73 kB / 375.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.4933, allocations: 174.2 kB / 375.5 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.4933, allocations: 16.11 kB / 375.5 MB, free: 19.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-06/0.4934, allocations: 0 / 375.5 MB, free: 19.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.4934, allocations: 313.9 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.4935, allocations: 23.47 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.4935, allocations: 14.64 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.4936, allocations: 18.53 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-06/0.4936, allocations: 1.203 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001603/0.4938, allocations: 72.59 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4938, allocations: 5.703 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.917e-06/0.4938, allocations: 1.062 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4939, allocations: 4.609 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.4942, allocations: 41.64 kB / 376 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.904e-06/0.4942, allocations: 10.03 kB / 376 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.4943, allocations: 3.016 kB / 376 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4943, allocations: 2.25 kB / 376.1 MB, free: 19.54 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.2e-05/0.4944, allocations: 110.9 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.4944, allocations: 12.94 kB / 376.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.4945, allocations: 11.41 kB / 376.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-06/0.4945, allocations: 1.188 kB / 376.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4945, allocations: 7.891 kB / 376.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-06/0.4945, allocations: 4.609 kB / 376.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.4947, allocations: 195.6 kB / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-06/0.4948, allocations: 0 / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.495, allocations: 23.38 kB / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.922e-06/0.495, allocations: 0 / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.495, allocations: 1.703 kB / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.707e-06/0.495, allocations: 5.5 kB / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.809e-06/0.495, allocations: 0 / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.4953, allocations: 196.6 kB / 376.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4953, allocations: 88.19 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4954, allocations: 1.516 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4955, allocations: 3.75 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4956, allocations: 4.031 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-06/0.4956, allocations: 1.906 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.169e-05/0.4957, allocations: 114.8 kB / 376.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.4957, allocations: 0 / 376.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.496, allocations: 17.28 kB / 376.8 MB, free: 18.89 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.0001139/0.4962, allocations: 106.6 kB / 376.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.4963, allocations: 39.58 kB / 377 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.721e-06/0.4963, allocations: 1.156 kB / 377 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.575e-05/0.4964, allocations: 16.16 kB / 377 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4967, allocations: 22.16 kB / 377 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.4973, allocations: 218.8 kB / 377.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.4975, allocations: 0.7068 MB / 377.9 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.4976, allocations: 15 kB / 378 MB, free: 17.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4976, allocations: 0 / 378 MB, free: 17.93 MB / 314.7 MB Notification: Performance of Templates: time 0.003048/0.5007, allocations: 1.148 MB / 379.1 MB, free: 17.86 MB / 314.7 MB