Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.614/1.614, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.055e-05, allocations: 4 kB / 228.1 MB, free: 7.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07826, allocations: 38.77 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002115/0.08043, allocations: 1.334 MB / 268.2 MB, free: 15.13 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009314/0.08138, allocations: 431.7 kB / 268.7 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.08147, allocations: 0 / 268.7 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/0.08156, allocations: 3.938 kB / 268.7 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.08174, allocations: 31.89 kB / 268.7 MB, free: 14.67 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.08192, allocations: 31.95 kB / 268.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.08208, allocations: 51.88 kB / 268.8 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.08219, allocations: 19.97 kB / 268.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.0823, allocations: 27.92 kB / 268.8 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.591e-05/0.08241, allocations: 31.84 kB / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.08244, allocations: 0 / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.08247, allocations: 4 kB / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.08254, allocations: 23.91 kB / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.08258, allocations: 4 kB / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.0827, allocations: 60.12 kB / 268.9 MB, free: 14.42 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.08272, allocations: 0 / 268.9 MB, free: 14.42 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.459e-06/0.08273, allocations: 3.984 kB / 268.9 MB, free: 14.42 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.08275, allocations: 0 / 268.9 MB, free: 14.42 MB / 234.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.0006222/0.08338, allocations: 379.1 kB / 269.3 MB, free: 14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.08344, allocations: 12.03 kB / 269.3 MB, free: 13.99 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.0835, allocations: 15.84 kB / 269.3 MB, free: 13.97 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.0838, allocations: 207.3 kB / 269.5 MB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.08383, allocations: 4 kB / 269.6 MB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.08387, allocations: 8 kB / 269.6 MB, free: 13.72 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.08414, allocations: 77.66 kB / 269.6 MB, free: 13.64 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.08417, allocations: 3.938 kB / 269.6 MB, free: 13.63 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.08419, allocations: 4 kB / 269.6 MB, free: 13.63 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.0842, allocations: 0 / 269.6 MB, free: 13.63 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.08442, allocations: 51.97 kB / 269.7 MB, free: 13.58 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.08519, allocations: 403.9 kB / 270.1 MB, free: 13.12 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.08542, allocations: 66.62 kB / 270.2 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.08546, allocations: 0 / 270.2 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.0855, allocations: 34.69 kB / 270.2 MB, free: 13 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.08551, allocations: 0 / 270.2 MB, free: 13 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004201/0.08594, allocations: 109.5 kB / 270.3 MB, free: 12.89 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.08599, allocations: 51.41 kB / 270.3 MB, free: 12.83 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.08615, allocations: 133.3 kB / 270.5 MB, free: 12.69 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.08619, allocations: 29.7 kB / 270.5 MB, free: 12.66 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.08627, allocations: 104 kB / 270.6 MB, free: 12.55 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.08632, allocations: 23.78 kB / 270.6 MB, free: 12.53 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.08634, allocations: 7.938 kB / 270.6 MB, free: 12.52 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.08648, allocations: 318.8 kB / 270.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.08659, allocations: 20 kB / 271 MB, free: 12.18 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.0867, allocations: 27.97 kB / 271 MB, free: 12.15 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.08682, allocations: 27.98 kB / 271 MB, free: 12.12 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.08683, allocations: 0 / 271 MB, free: 12.12 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002704/0.08711, allocations: 85.53 kB / 271.1 MB, free: 12.04 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.08714, allocations: 9.875 kB / 271.1 MB, free: 12.03 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.08716, allocations: 4 kB / 271.1 MB, free: 12.02 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.08718, allocations: 0 / 271.1 MB, free: 12.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.08754, allocations: 39.97 kB / 271.2 MB, free: 11.98 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.08756, allocations: 3.953 kB / 271.2 MB, free: 11.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.08766, allocations: 7.984 kB / 271.2 MB, free: 11.97 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.08768, allocations: 4 kB / 271.2 MB, free: 11.97 MB / 234.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 0.0001061/0.0878, allocations: 117.8 kB / 271.3 MB, free: 11.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.08785, allocations: 11.84 kB / 271.3 MB, free: 11.83 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.08789, allocations: 12.3 kB / 271.3 MB, free: 11.82 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.08791, allocations: 7.984 kB / 271.3 MB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.08792, allocations: 256 / 271.3 MB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.08794, allocations: 3.953 kB / 271.3 MB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.0882, allocations: 197.6 kB / 271.5 MB, free: 11.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.08822, allocations: 0 / 271.5 MB, free: 11.57 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.08847, allocations: 27.92 kB / 271.5 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.08849, allocations: 0 / 271.5 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.08851, allocations: 8 kB / 271.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.08853, allocations: 0 / 271.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.08854, allocations: 0 / 271.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.08897, allocations: 211.3 kB / 271.8 MB, free: 11.31 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.08906, allocations: 92.97 kB / 271.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.0891, allocations: 64 / 271.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.08924, allocations: 8 kB / 271.9 MB, free: 11.19 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.0893, allocations: 7.984 kB / 271.9 MB, free: 11.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.08932, allocations: 4 kB / 271.9 MB, free: 11.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.08943, allocations: 107.8 kB / 272 MB, free: 11.07 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.08944, allocations: 0 / 272 MB, free: 11.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.08973, allocations: 12 kB / 272 MB, free: 11.06 MB / 234.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.0001109/0.08985, allocations: 103.2 kB / 272.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.0901, allocations: 51.98 kB / 272.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.09012, allocations: 0 / 272.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.09023, allocations: 23.98 kB / 272.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.09056, allocations: 27.73 kB / 272.2 MB, free: 10.85 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.09137, allocations: 303.6 kB / 272.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.09167, allocations: 0.7121 MB / 273.2 MB, free: 9.789 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.09175, allocations: 8.172 kB / 273.2 MB, free: 9.781 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.0918, allocations: 11.44 kB / 273.2 MB, free: 9.77 MB / 234.7 MB Notification: Performance of SimCode: time 6.51e-07/0.09181, allocations: 0 / 273.2 MB, free: 9.77 MB / 234.7 MB Notification: Performance of Templates: time 0.0041/0.09592, allocations: 0.8072 MB / 274 MB, free: 8.969 MB / 234.7 MB