Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.117e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3633, allocations: 54.85 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5326, allocations: 81.31 MB / 441.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.5329, allocations: 71.95 kB / 441.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008963/0.5418, allocations: 2.327 MB / 443.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5419, allocations: 0 / 443.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5419, allocations: 4 kB / 443.5 MB, free: 13.26 MB / 378.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.0005719/0.5425, allocations: 399.3 kB / 443.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5426, allocations: 12.03 kB / 443.9 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.5426, allocations: 19.31 kB / 443.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.5429, allocations: 206.8 kB / 444.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5429, allocations: 9.328 kB / 444.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.543, allocations: 16 kB / 444.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.5433, allocations: 121.6 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5433, allocations: 0 / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5433, allocations: 7.953 kB / 444.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-06/0.5434, allocations: 4 kB / 444.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.5436, allocations: 68 kB / 444.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.5445, allocations: 460.3 kB / 444.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.5448, allocations: 110.5 kB / 444.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.5451, allocations: 59.58 kB / 444.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.5452, allocations: 7.984 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.5453, allocations: 30.56 kB / 445 MB, free: 11.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-05/0.5453, allocations: 0 / 445 MB, free: 11.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.003002/0.5483, allocations: 0.7462 MB / 445.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.5484, allocations: 55.41 kB / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5486, allocations: 128.5 kB / 445.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.5487, allocations: 29.7 kB / 445.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.5488, allocations: 108.3 kB / 446 MB, free: 10.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.5489, allocations: 71 kB / 446.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.5489, allocations: 7.938 kB / 446.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5491, allocations: 322.8 kB / 446.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.5492, allocations: 40.38 kB / 446.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.5494, allocations: 71.98 kB / 446.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.5496, allocations: 45.73 kB / 446.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-06/0.5497, allocations: 3.281 kB / 446.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006337/0.5503, allocations: 190.8 kB / 446.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.5503, allocations: 17.73 kB / 446.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.486e-06/0.5504, allocations: 0 / 446.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.5506, allocations: 37.72 kB / 446.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.5508, allocations: 35.98 kB / 446.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.5528, allocations: 1.556 MB / 448.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.553, allocations: 8.016 kB / 448.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.553, allocations: 11.98 kB / 448.4 MB, free: 7.859 MB / 378.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.000126/0.5531, allocations: 124.9 kB / 448.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.5532, allocations: 11.91 kB / 448.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.5533, allocations: 17.69 kB / 448.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-06/0.5533, allocations: 7.938 kB / 448.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5533, allocations: 0.75 kB / 448.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-06/0.5533, allocations: 0 / 448.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5544, allocations: 0.5427 MB / 449.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-06/0.5544, allocations: 0 / 449.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.5547, allocations: 36.22 kB / 449.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.5548, allocations: 32.84 kB / 449.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.5549, allocations: 8 kB / 449.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.5567, allocations: 1.37 MB / 450.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.249e-06/0.5567, allocations: 1.922 kB / 450.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.5573, allocations: 345.6 kB / 450.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.5574, allocations: 88.95 kB / 451 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.5575, allocations: 0 / 451 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.5576, allocations: 8 kB / 451 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.5577, allocations: 20.11 kB / 451 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.5578, allocations: 11.94 kB / 451.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.5579, allocations: 107 kB / 451.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.5579, allocations: 1.031 kB / 451.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004613/0.5584, allocations: 44 kB / 451.2 MB, free: 4.848 MB / 378.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.0001563/0.5585, allocations: 103.2 kB / 451.3 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.5592, allocations: 234.9 kB / 451.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.083e-06/0.5593, allocations: 0 / 451.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.5596, allocations: 178.7 kB / 451.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.5599, allocations: 15.98 kB / 451.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.5607, allocations: 336.2 kB / 452.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.5612, allocations: 0.7221 MB / 452.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.5613, allocations: 13.2 kB / 452.8 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.5613, allocations: 19.44 kB / 452.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of SimCode: time 1.385e-06/0.5614, allocations: 0 / 452.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of Templates: time 0.005855/0.5672, allocations: 1.443 MB / 454.3 MB, free: 1.738 MB / 378.7 MB