Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.071e-05, allocations: 4.984 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09733, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4546, allocations: 77.13 MB / 420.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4548, allocations: 62.84 kB / 420.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009583/0.4644, allocations: 2.279 MB / 422.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.192e-06/0.4645, allocations: 4 kB / 422.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4645, allocations: 0 / 422.5 MB, free: 15.11 MB / 346.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.0005277/0.465, allocations: 381.9 kB / 422.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4651, allocations: 8.031 kB / 422.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.4651, allocations: 19.77 kB / 422.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.4655, allocations: 209 kB / 423.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4655, allocations: 4 kB / 423.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.4655, allocations: 7.938 kB / 423.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4657, allocations: 69.23 kB / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.832e-06/0.4658, allocations: 0 / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4658, allocations: 4 kB / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-06/0.4658, allocations: 3.953 kB / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4659, allocations: 35.38 kB / 423.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.4667, allocations: 410.3 kB / 423.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.4668, allocations: 50.05 kB / 423.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.4669, allocations: 24.48 kB / 423.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4669, allocations: 11.92 kB / 423.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.467, allocations: 34.59 kB / 423.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.641e-06/0.467, allocations: 0 / 423.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002301/0.4672, allocations: 69.23 kB / 423.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4673, allocations: 55.39 kB / 423.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4675, allocations: 135.4 kB / 424 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4675, allocations: 29.7 kB / 424.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.4676, allocations: 107.8 kB / 424.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4676, allocations: 23.56 kB / 424.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-06/0.4677, allocations: 0 / 424.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4678, allocations: 318.8 kB / 424.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.4679, allocations: 15.81 kB / 424.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.468, allocations: 19.69 kB / 424.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.468, allocations: 15.48 kB / 424.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-06/0.4681, allocations: 3.953 kB / 424.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.4682, allocations: 74.05 kB / 424.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4683, allocations: 7.984 kB / 424.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.352e-06/0.4683, allocations: 8 kB / 424.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4683, allocations: 0 / 424.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.4686, allocations: 35.97 kB / 424.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.451e-06/0.4686, allocations: 240 / 424.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.4687, allocations: 10.59 kB / 424.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4688, allocations: 7.984 kB / 424.7 MB, free: 12.89 MB / 346.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 8.53e-05/0.4689, allocations: 103.9 kB / 424.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.4689, allocations: 11.86 kB / 424.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.469, allocations: 24 kB / 424.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-06/0.469, allocations: 0 / 424.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.753e-06/0.469, allocations: 0 / 424.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.159e-06/0.469, allocations: 0 / 424.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.4693, allocations: 202.9 kB / 425 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-06/0.4693, allocations: 0 / 425 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.4696, allocations: 23.94 kB / 425.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.272e-06/0.4696, allocations: 0 / 425.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4696, allocations: 8.062 kB / 425.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-06/0.4696, allocations: 0 / 425.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-06/0.4696, allocations: 4 kB / 425.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.47, allocations: 184.6 kB / 425.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.47, allocations: 85.05 kB / 425.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.4701, allocations: 3.953 kB / 425.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4702, allocations: 7.5 kB / 425.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4703, allocations: 3.984 kB / 425.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.4703, allocations: 7.938 kB / 425.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4704, allocations: 108.7 kB / 425.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.4704, allocations: 0 / 425.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.4708, allocations: 27.09 kB / 425.5 MB, free: 12.07 MB / 346.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.0001437/0.4709, allocations: 99.19 kB / 425.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.4711, allocations: 37.44 kB / 425.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.436e-06/0.4711, allocations: 0 / 425.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.4712, allocations: 19.73 kB / 425.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4715, allocations: 19.3 kB / 425.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.4721, allocations: 180 kB / 425.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.4726, allocations: 0.7095 MB / 426.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.263e-05/0.4726, allocations: 7.984 kB / 426.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.4727, allocations: 11.44 kB / 426.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.527e-06/0.4727, allocations: 4 kB / 426.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Templates: time 0.003985/0.4767, allocations: 0.7843 MB / 427.4 MB, free: 10.19 MB / 346.7 MB