Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.036e-05, allocations: 4 kB / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08478, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4571, allocations: 76.1 MB / 393 MB, free: 12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4574, allocations: 61.23 kB / 393.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00946/0.4669, allocations: 2.224 MB / 395.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.84e-06/0.4669, allocations: 0 / 395.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.4669, allocations: 0 / 395.3 MB, free: 10.07 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.0005261/0.4675, allocations: 381.1 kB / 395.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4675, allocations: 12.03 kB / 395.7 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.4676, allocations: 15.75 kB / 395.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.4679, allocations: 200.8 kB / 395.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.468, allocations: 11.19 kB / 395.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.468, allocations: 11.64 kB / 395.9 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4682, allocations: 66.92 kB / 396 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.279e-06/0.4682, allocations: 4 kB / 396 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4682, allocations: 2.688 kB / 396 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4682, allocations: 0 / 396 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4684, allocations: 41.55 kB / 396 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.4691, allocations: 416 kB / 396.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.4693, allocations: 55.95 kB / 396.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.4694, allocations: 25.61 kB / 396.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4694, allocations: 0 / 396.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4694, allocations: 34.56 kB / 396.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.929e-06/0.4694, allocations: 0 / 396.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002295/0.4697, allocations: 67.03 kB / 396.6 MB, free: 8.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4697, allocations: 59.03 kB / 396.7 MB, free: 8.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4699, allocations: 138.5 kB / 396.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4699, allocations: 25.7 kB / 396.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.47, allocations: 106.6 kB / 396.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.4701, allocations: 19.42 kB / 397 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-06/0.4701, allocations: 4.656 kB / 397 MB, free: 8.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4703, allocations: 314.4 kB / 397.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.4704, allocations: 13.5 kB / 397.3 MB, free: 8.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.4704, allocations: 22.67 kB / 397.3 MB, free: 8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.4705, allocations: 15.16 kB / 397.3 MB, free: 7.992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-06/0.4705, allocations: 0 / 397.3 MB, free: 7.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001951/0.4707, allocations: 84.75 kB / 397.4 MB, free: 7.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4707, allocations: 8 kB / 397.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.877e-06/0.4708, allocations: 3.938 kB / 397.4 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4708, allocations: 4.062 kB / 397.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.4711, allocations: 39.97 kB / 397.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.191e-06/0.4711, allocations: 3.938 kB / 397.5 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.4712, allocations: 7.938 kB / 397.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4712, allocations: 11.45 kB / 397.5 MB, free: 7.84 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 9.054e-05/0.4713, allocations: 105 kB / 397.6 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.4714, allocations: 7.906 kB / 397.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.4715, allocations: 11.97 kB / 397.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-06/0.4715, allocations: 4 kB / 397.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.229e-06/0.4715, allocations: 0 / 397.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-06/0.4715, allocations: 0 / 397.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.4718, allocations: 197.5 kB / 397.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-06/0.4718, allocations: 0 / 397.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.472, allocations: 23.05 kB / 397.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.29e-06/0.472, allocations: 7.984 kB / 397.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4721, allocations: 0 / 397.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.588e-06/0.4721, allocations: 0 / 397.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4721, allocations: 0 / 397.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.4724, allocations: 190.8 kB / 398 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.4725, allocations: 86.11 kB / 398.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.4725, allocations: 8.797 kB / 398.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4727, allocations: 4 kB / 398.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.4727, allocations: 4.859 kB / 398.1 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4727, allocations: 4 kB / 398.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.4729, allocations: 105.4 kB / 398.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.4729, allocations: 4 kB / 398.2 MB, free: 7.055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.4732, allocations: 24.41 kB / 398.3 MB, free: 7.031 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.0001454/0.4734, allocations: 100.3 kB / 398.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.4735, allocations: 35.94 kB / 398.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.978e-06/0.4736, allocations: 4.5 kB / 398.4 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/0.4736, allocations: 17.38 kB / 398.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.474, allocations: 22.81 kB / 398.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.4746, allocations: 191.2 kB / 398.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.475, allocations: 0.7082 MB / 399.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.4751, allocations: 7.781 kB / 399.3 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.4752, allocations: 11.94 kB / 399.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of SimCode: time 1.471e-06/0.4752, allocations: 4 kB / 399.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of Templates: time 0.004008/0.4792, allocations: 0.7851 MB / 400.1 MB, free: 5.145 MB / 314.7 MB