Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.804e-05, allocations: 3.984 kB / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4634, allocations: 87.36 MB / 497.6 MB, free: 3.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4637, allocations: 63.97 kB / 497.7 MB, free: 3.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.4739, allocations: 2.579 MB / 0.4885 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.521e-06/0.474, allocations: 0 / 0.4885 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.474, allocations: 4 kB / 0.4886 GB, free: 0.5859 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005916/0.4746, allocations: 406.1 kB / 0.4889 GB, free: 148 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4746, allocations: 8.031 kB / 0.4889 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.4747, allocations: 15.81 kB / 0.489 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.475, allocations: 198.9 kB / 0.4892 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.475, allocations: 11.95 kB / 0.4892 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.4751, allocations: 15.91 kB / 0.4892 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4754, allocations: 113.6 kB / 0.4893 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4754, allocations: 0 / 0.4893 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4754, allocations: 8 kB / 0.4893 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-06/0.4755, allocations: 4 kB / 0.4893 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.4757, allocations: 75.92 kB / 0.4894 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.4766, allocations: 468.2 kB / 0.4898 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.4769, allocations: 114.5 kB / 0.4899 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.477, allocations: 60.78 kB / 0.49 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.477, allocations: 0 / 0.49 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4771, allocations: 34.56 kB / 0.49 GB, free: 14.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.308e-06/0.4771, allocations: 0 / 0.49 GB, free: 14.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001733/0.4789, allocations: 0.7506 MB / 0.4908 GB, free: 14.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4789, allocations: 51.41 kB / 0.4908 GB, free: 14.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4791, allocations: 124.2 kB / 0.4909 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4791, allocations: 29.7 kB / 0.4909 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.4792, allocations: 112.3 kB / 0.4911 GB, free: 13.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.4793, allocations: 71 kB / 0.4911 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-06/0.4793, allocations: 4 kB / 0.4911 GB, free: 13.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4795, allocations: 326.8 kB / 0.4914 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4796, allocations: 36.38 kB / 0.4915 GB, free: 13.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4798, allocations: 65.41 kB / 0.4915 GB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.48, allocations: 63.84 kB / 0.4916 GB, free: 13.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-06/0.48, allocations: 0 / 0.4916 GB, free: 13.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005067/0.4805, allocations: 190.2 kB / 0.4918 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4805, allocations: 4 kB / 0.4918 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-06/0.4806, allocations: 0 / 0.4918 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.4808, allocations: 48.77 kB / 0.4918 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.481, allocations: 35.98 kB / 0.4919 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.4831, allocations: 1.565 MB / 0.4934 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4832, allocations: 4 kB / 0.4934 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.4833, allocations: 11.98 kB / 0.4934 GB, free: 11.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.4834, allocations: 109 kB / 0.4935 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.4835, allocations: 15.89 kB / 0.4935 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.4835, allocations: 20.75 kB / 0.4935 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.846e-06/0.4836, allocations: 3.938 kB / 0.4935 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.4836, allocations: 7.891 kB / 0.4936 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-06/0.4836, allocations: 4 kB / 0.4936 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4847, allocations: 0.5365 MB / 0.4941 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4847, allocations: 0 / 0.4941 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.485, allocations: 39.91 kB / 0.4941 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/0.4852, allocations: 32.84 kB / 0.4942 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4852, allocations: 0 / 0.4942 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.4868, allocations: 1.367 MB / 0.4955 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.548e-06/0.4868, allocations: 4.203 kB / 0.4955 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.4875, allocations: 347.1 kB / 0.4958 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4876, allocations: 92.94 kB / 0.4959 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.4876, allocations: 7.953 kB / 0.4959 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4878, allocations: 4 kB / 0.4959 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.4879, allocations: 23.98 kB / 0.4959 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.4879, allocations: 4 kB / 0.4959 GB, free: 8.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.488, allocations: 109.2 kB / 0.4961 GB, free: 8.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.488, allocations: 0 / 0.4961 GB, free: 8.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000474/0.4885, allocations: 40 kB / 0.4961 GB, free: 8.152 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.4887, allocations: 101.3 kB / 0.4962 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.4892, allocations: 233.8 kB / 0.4964 GB, free: 7.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4893, allocations: 0 / 0.4964 GB, free: 7.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.4896, allocations: 185.5 kB / 0.4966 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4899, allocations: 23.94 kB / 0.4966 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.4907, allocations: 328.5 kB / 0.4969 GB, free: 7.246 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.4912, allocations: 0.7324 MB / 0.4976 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.4913, allocations: 5.219 kB / 0.4976 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.4913, allocations: 19.42 kB / 0.4977 GB, free: 6.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.451e-06/0.4914, allocations: 0 / 0.4977 GB, free: 6.461 MB / 426.7 MB Notification: Performance of Templates: time 0.005907/0.4973, allocations: 1.437 MB / 0.4991 GB, free: 5.031 MB / 426.7 MB