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_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.838/1.838, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/2.992e-05, allocations: 8 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07878/0.07884, allocations: 44.51 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4291, allocations: 71.78 MB / 371.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4294, allocations: 63.44 kB / 371.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0095/0.4389, allocations: 2.165 MB / 373.9 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.4389, allocations: 1.344 kB / 373.9 MB, free: 21.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.4389, allocations: 5.031 kB / 373.9 MB, free: 21.69 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.0004093/0.4394, allocations: 382.6 kB / 374.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4394, allocations: 8.594 kB / 374.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.4395, allocations: 15.84 kB / 374.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.4397, allocations: 206.5 kB / 374.5 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4398, allocations: 6.688 kB / 374.5 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.4398, allocations: 8.094 kB / 374.5 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.44, allocations: 67.95 kB / 374.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.44, allocations: 1.344 kB / 374.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.44, allocations: 0 / 374.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.44, allocations: 2.406 kB / 374.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.4402, allocations: 35.42 kB / 374.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.4408, allocations: 411.1 kB / 375 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.441, allocations: 55.77 kB / 375.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.441, allocations: 27.02 kB / 375.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4411, allocations: 5.031 kB / 375.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.4411, allocations: 32.75 kB / 375.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.479e-06/0.4411, allocations: 0 / 375.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000224/0.4413, allocations: 76.42 kB / 375.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.4414, allocations: 59.22 kB / 375.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4415, allocations: 123.7 kB / 375.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4415, allocations: 30.17 kB / 375.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.4416, allocations: 112.5 kB / 375.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.4416, allocations: 16.75 kB / 375.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.4417, allocations: 0 / 375.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.4417, allocations: 320.2 kB / 375.9 MB, free: 20 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.4418, allocations: 17.22 kB / 375.9 MB, free: 20 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.234e-05/0.4418, allocations: 12.09 kB / 375.9 MB, free: 20 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.872e-05/0.4419, allocations: 21.89 kB / 375.9 MB, free: 20 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-06/0.4419, allocations: 2.172 kB / 375.9 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.4421, allocations: 77.75 kB / 376 MB, free: 19.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4421, allocations: 7.438 kB / 376 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.004e-06/0.4422, allocations: 5.781 kB / 376 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4422, allocations: 3.953 kB / 376 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.4425, allocations: 41.45 kB / 376 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.049e-06/0.4425, allocations: 5.984 kB / 376 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.4426, allocations: 10.83 kB / 376.1 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.4426, allocations: 2.156 kB / 376.1 MB, free: 19.94 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.176e-05/0.4427, allocations: 102.7 kB / 376.2 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.4427, allocations: 12.28 kB / 376.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.4428, allocations: 12.27 kB / 376.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-06/0.4428, allocations: 1.031 kB / 376.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/0.4428, allocations: 8.859 kB / 376.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.488e-06/0.4428, allocations: 0.6562 kB / 376.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.443, allocations: 200.5 kB / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-06/0.4431, allocations: 0 / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4433, allocations: 22.91 kB / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.4433, allocations: 3.062 kB / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4433, allocations: 1.062 kB / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.573e-06/0.4433, allocations: 4 kB / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-06/0.4433, allocations: 0 / 376.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.4436, allocations: 192.3 kB / 376.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.4437, allocations: 86.67 kB / 376.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.4437, allocations: 4.156 kB / 376.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4438, allocations: 2.031 kB / 376.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.4439, allocations: 4.594 kB / 376.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.743e-06/0.4439, allocations: 6.281 kB / 376.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.444, allocations: 114.8 kB / 376.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.444, allocations: 0 / 376.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.4443, allocations: 16.56 kB / 376.8 MB, free: 19.29 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.0001099/0.4445, allocations: 96.59 kB / 376.9 MB, free: 19.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4446, allocations: 43.97 kB / 377 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.829e-06/0.4446, allocations: 0 / 377 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/0.4447, allocations: 15.47 kB / 377 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.445, allocations: 27.94 kB / 377 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.4456, allocations: 181.2 kB / 377.2 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.4458, allocations: 0.7043 MB / 377.9 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.4459, allocations: 21.33 kB / 377.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.4459, allocations: 10.75 kB / 377.9 MB, free: 18.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.348e-06/0.4459, allocations: 3.938 kB / 377.9 MB, free: 18.37 MB / 314.7 MB Notification: Performance of Templates: time 0.003864/0.4498, allocations: 0.7756 MB / 378.7 MB, free: 18.3 MB / 314.7 MB