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.791/1.791, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.783e-05, allocations: 2.562 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.07937, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.3938, allocations: 71.78 MB / 371.6 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.394, allocations: 65.27 kB / 371.7 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008683/0.4027, allocations: 2.161 MB / 373.9 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.949e-06/0.4028, allocations: 4 kB / 373.9 MB, free: 21.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4028, allocations: 6.125 kB / 373.9 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.0003891/0.4032, allocations: 386.8 kB / 374.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4032, allocations: 8.656 kB / 374.3 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.4033, allocations: 14.8 kB / 374.3 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.4035, allocations: 207.5 kB / 374.5 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4036, allocations: 7.781 kB / 374.5 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.4036, allocations: 7.688 kB / 374.5 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.4038, allocations: 68.8 kB / 374.6 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4038, allocations: 1.125 kB / 374.6 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4038, allocations: 3.375 kB / 374.6 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-06/0.4039, allocations: 6.156 kB / 374.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.404, allocations: 31.03 kB / 374.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.4046, allocations: 412.1 kB / 375 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.4047, allocations: 52.17 kB / 375 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.4048, allocations: 23.86 kB / 375.1 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4048, allocations: 1.312 kB / 375.1 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.4049, allocations: 38.97 kB / 375.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.385e-06/0.4049, allocations: 0 / 375.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002095/0.4051, allocations: 76.66 kB / 375.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.4051, allocations: 56.22 kB / 375.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4052, allocations: 126.2 kB / 375.4 MB, free: 20.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.4053, allocations: 29.64 kB / 375.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.4053, allocations: 174.9 kB / 375.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4054, allocations: 16.39 kB / 375.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-06/0.4054, allocations: 5.75 kB / 375.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.4054, allocations: 313 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.4055, allocations: 15.69 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.4056, allocations: 14.31 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.4056, allocations: 18.11 kB / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-06/0.4056, allocations: 0 / 375.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001578/0.4058, allocations: 71.05 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4058, allocations: 7.812 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-06/0.4059, allocations: 0 / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4059, allocations: 5.203 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.4062, allocations: 45.62 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4062, allocations: 1.781 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.4063, allocations: 7.438 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4063, allocations: 5.875 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 4.508e-05/0.4063, allocations: 101.9 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.4064, allocations: 9.781 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.4065, allocations: 14.83 kB / 376.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-06/0.4065, allocations: 5.953 kB / 376.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4065, allocations: 7.891 kB / 376.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-06/0.4065, allocations: 0.8438 kB / 376.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.4067, allocations: 196.1 kB / 376.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4067, allocations: 1.156 kB / 376.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.4069, allocations: 22.41 kB / 376.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.426e-06/0.407, allocations: 4.688 kB / 376.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.407, allocations: 6.281 kB / 376.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.208e-06/0.407, allocations: 4 kB / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-06/0.407, allocations: 0 / 376.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4073, allocations: 195.1 kB / 376.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.4073, allocations: 84.95 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.4073, allocations: 2.031 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4075, allocations: 3.562 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.4075, allocations: 4.047 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4075, allocations: 1.469 kB / 376.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.4076, allocations: 114.8 kB / 376.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4076, allocations: 4.062 kB / 376.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000314/0.408, allocations: 16.31 kB / 376.9 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.0001001/0.4081, allocations: 97.36 kB / 377 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.4082, allocations: 43.06 kB / 377 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.427e-06/0.4083, allocations: 1.25 kB / 377 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.4083, allocations: 20.42 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.000262/0.4086, allocations: 24.72 kB / 377 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.4092, allocations: 211 kB / 377.3 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.4093, allocations: 0.705 MB / 378 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.4094, allocations: 14.53 kB / 378 MB, free: 17.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.359e-06/0.4094, allocations: 0 / 378 MB, free: 17.94 MB / 314.7 MB Notification: Performance of Templates: time 0.002911/0.4123, allocations: 1.146 MB / 379.1 MB, free: 17.87 MB / 314.7 MB