Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.795e-05, allocations: 0 / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3319, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4783, allocations: 86.3 MB / 468.5 MB, free: 6.219 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/0.4787, allocations: 71.95 kB / 468.6 MB, free: 6.148 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.4947, allocations: 2.492 MB / 471.1 MB, free: 3.645 MB / 394.8 MB Notification: Performance of FrontEnd: time 7.685e-06/0.4948, allocations: 0 / 471.1 MB, free: 3.645 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.4948, allocations: 7.938 kB / 471.1 MB, free: 3.637 MB / 394.8 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.0008505/0.4957, allocations: 406.6 kB / 471.5 MB, free: 3.195 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4958, allocations: 8.031 kB / 471.5 MB, free: 3.188 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.4959, allocations: 19.81 kB / 471.5 MB, free: 3.168 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.4963, allocations: 202.8 kB / 471.7 MB, free: 2.93 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.4963, allocations: 8 kB / 471.7 MB, free: 2.922 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.4964, allocations: 12 kB / 471.7 MB, free: 2.91 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.4969, allocations: 121.7 kB / 471.8 MB, free: 2.785 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.497, allocations: 3.984 kB / 471.8 MB, free: 2.781 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.497, allocations: 4 kB / 471.8 MB, free: 2.777 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.4971, allocations: 4 kB / 471.8 MB, free: 2.773 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.4974, allocations: 64 kB / 471.9 MB, free: 2.711 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.4989, allocations: 476.1 kB / 472.4 MB, free: 2.195 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.4993, allocations: 106.6 kB / 472.5 MB, free: 2.082 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.4996, allocations: 56.84 kB / 472.5 MB, free: 2.023 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4996, allocations: 4.25 kB / 472.5 MB, free: 2.02 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.4997, allocations: 30.56 kB / 472.6 MB, free: 1.98 MB / 394.8 MB Notification: Performance of pre-optimization done (n=13): time 5.643e-06/0.4997, allocations: 0 / 472.6 MB, free: 1.98 MB / 394.8 MB Notification: Performance of matching and sorting (n=19): time 0.002854/0.5026, allocations: 0.7582 MB / 473.3 MB, free: 1.133 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.5027, allocations: 55.41 kB / 473.4 MB, free: 1.066 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.503, allocations: 127.4 kB / 473.5 MB, free: 0.9336 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.503, allocations: 25.7 kB / 473.5 MB, free: 0.9023 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.5032, allocations: 116.2 kB / 473.6 MB, free: 0.7852 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.5033, allocations: 70.98 kB / 473.7 MB, free: 0.7148 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.5034, allocations: 4 kB / 473.7 MB, free: 0.7109 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.5037, allocations: 322.8 kB / 474 MB, free: 396 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.5039, allocations: 44.38 kB / 474.1 MB, free: 348 kB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.5041, allocations: 67.98 kB / 474.1 MB, free: 268 kB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.5044, allocations: 47.94 kB / 474.2 MB, free: 220 kB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.46e-06/0.5044, allocations: 0 / 474.2 MB, free: 220 kB / 394.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008136/0.5052, allocations: 190.2 kB / 474.4 MB, free: 20 kB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5053, allocations: 12.02 kB / 474.4 MB, free: 8 kB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5053, allocations: 4 kB / 474.4 MB, free: 4 kB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/0.5057, allocations: 36.84 kB / 474.4 MB, free: 15.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.5061, allocations: 39.88 kB / 474.5 MB, free: 15.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.5096, allocations: 1.561 MB / 476 MB, free: 14.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.5098, allocations: 12.03 kB / 476 MB, free: 14.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.5099, allocations: 7.984 kB / 476 MB, free: 14.21 MB / 410.8 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.0002079/0.5101, allocations: 113.3 kB / 476.1 MB, free: 14.09 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5103, allocations: 15.86 kB / 476.2 MB, free: 14.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.5104, allocations: 16.75 kB / 476.2 MB, free: 14.06 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.887e-06/0.5104, allocations: 0 / 476.2 MB, free: 14.06 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.467e-06/0.5104, allocations: 4 kB / 476.2 MB, free: 14.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.428e-06/0.5104, allocations: 0 / 476.2 MB, free: 14.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.5124, allocations: 0.5412 MB / 476.7 MB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.485e-06/0.5124, allocations: 0 / 476.7 MB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.5129, allocations: 39.97 kB / 476.8 MB, free: 13.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.5132, allocations: 32.78 kB / 476.8 MB, free: 13.38 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.5133, allocations: 4 kB / 476.8 MB, free: 13.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.5161, allocations: 1.367 MB / 478.2 MB, free: 11.87 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.693e-06/0.5161, allocations: 4.031 kB / 478.2 MB, free: 11.87 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.5173, allocations: 343.2 kB / 478.5 MB, free: 11.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.5175, allocations: 88.92 kB / 478.6 MB, free: 11.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.5175, allocations: 4.141 kB / 478.6 MB, free: 11.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.5178, allocations: 8 kB / 478.6 MB, free: 11.39 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.5179, allocations: 11.97 kB / 478.6 MB, free: 11.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.518, allocations: 11.98 kB / 478.6 MB, free: 11.36 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002092/0.5182, allocations: 110.6 kB / 478.7 MB, free: 11.26 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5183, allocations: 4 kB / 478.7 MB, free: 11.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000477/0.5187, allocations: 40 kB / 478.8 MB, free: 11.21 MB / 410.8 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.0001648/0.5189, allocations: 114.3 kB / 478.9 MB, free: 11.1 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.5195, allocations: 245.4 kB / 479.1 MB, free: 10.85 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.031e-06/0.5195, allocations: 0 / 479.1 MB, free: 10.85 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.5199, allocations: 173.8 kB / 479.3 MB, free: 10.67 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.5202, allocations: 27.86 kB / 479.3 MB, free: 10.64 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.521, allocations: 328.3 kB / 479.6 MB, free: 10.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.5214, allocations: 0.7207 MB / 480.4 MB, free: 9.547 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.402e-05/0.5215, allocations: 13.2 kB / 480.4 MB, free: 9.531 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.5216, allocations: 15.44 kB / 480.4 MB, free: 9.516 MB / 410.8 MB Notification: Performance of SimCode: time 1.379e-06/0.5216, allocations: 4 kB / 480.4 MB, free: 9.512 MB / 410.8 MB Notification: Performance of Templates: time 0.005882/0.5275, allocations: 1.429 MB / 481.8 MB, free: 8.082 MB / 410.8 MB