Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.241e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3787, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002629/0.3814, allocations: 1.491 MB / 326.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.3824, allocations: 446.7 kB / 326.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3825, allocations: 5.156 kB / 326.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.3826, allocations: 12.77 kB / 326.8 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3827, allocations: 38.59 kB / 326.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.3829, allocations: 26.2 kB / 326.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3831, allocations: 79.28 kB / 327 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3832, allocations: 33.7 kB / 327 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3834, allocations: 45.58 kB / 327 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3835, allocations: 48.41 kB / 327.1 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.445e-05/0.3836, allocations: 5.25 kB / 327.1 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3836, allocations: 7.75 kB / 327.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.3837, allocations: 17.16 kB / 327.1 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3837, allocations: 12.56 kB / 327.1 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.3839, allocations: 106.5 kB / 327.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3839, allocations: 0 / 327.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.384, allocations: 0 / 327.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.384, allocations: 0 / 327.2 MB, free: 2.285 MB / 266.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.0006137/0.3846, allocations: 410.6 kB / 327.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3847, allocations: 9.438 kB / 327.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.3847, allocations: 15.62 kB / 327.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.385, allocations: 208.6 kB / 327.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.385, allocations: 9.906 kB / 327.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3851, allocations: 18 kB / 327.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.3854, allocations: 124.4 kB / 328 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3855, allocations: 4.938 kB / 328 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3855, allocations: 5.828 kB / 328 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3855, allocations: 3.156 kB / 328 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.3858, allocations: 84.06 kB / 328.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009702/0.3868, allocations: 488.4 kB / 328.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.3872, allocations: 111.5 kB / 328.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3872, allocations: 5.875 kB / 328.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3872, allocations: 36.45 kB / 328.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.3873, allocations: 0 / 328.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.002113/0.3894, allocations: 0.8186 MB / 329.5 MB, free: 472 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3895, allocations: 57.72 kB / 329.6 MB, free: 404 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3896, allocations: 122.7 kB / 329.7 MB, free: 304 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3896, allocations: 30.86 kB / 329.7 MB, free: 268 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.3897, allocations: 113.7 kB / 329.9 MB, free: 160 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.3898, allocations: 65.56 kB / 329.9 MB, free: 108 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.3898, allocations: 1.219 kB / 329.9 MB, free: 108 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.39, allocations: 326.8 kB / 330.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3901, allocations: 42.7 kB / 330.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3904, allocations: 81.25 kB / 330.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3906, allocations: 63.97 kB / 330.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3906, allocations: 0 / 330.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006654/0.3913, allocations: 209.8 kB / 330.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3913, allocations: 6.172 kB / 330.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3913, allocations: 5.5 kB / 330.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.3916, allocations: 39.89 kB / 330.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.3919, allocations: 33.73 kB / 330.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.3941, allocations: 1.575 MB / 332.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3943, allocations: 8.734 kB / 332.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3943, allocations: 8.969 kB / 332.3 MB, free: 14.07 MB / 282.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.0001717/0.3945, allocations: 125.9 kB / 332.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.3946, allocations: 11.62 kB / 332.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.3947, allocations: 25.52 kB / 332.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3947, allocations: 2.078 kB / 332.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3947, allocations: 1.375 kB / 332.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3947, allocations: 5.344 kB / 332.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.396, allocations: 0.5597 MB / 333 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.396, allocations: 1.406 kB / 333 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3964, allocations: 37.02 kB / 333.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.3966, allocations: 35.83 kB / 333.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.3966, allocations: 6.797 kB / 333.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.3982, allocations: 1.382 MB / 334.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3983, allocations: 5.672 kB / 334.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.3992, allocations: 365.2 kB / 334.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3994, allocations: 102.6 kB / 335 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.3995, allocations: 9.375 kB / 335 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3996, allocations: 5.484 kB / 335 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.3997, allocations: 15.17 kB / 335 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3998, allocations: 4.125 kB / 335 MB, free: 11.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.3999, allocations: 106 kB / 335.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3999, allocations: 0 / 335.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004722/0.4004, allocations: 42.38 kB / 335.1 MB, free: 11.64 MB / 282.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.000173/0.4006, allocations: 111.2 kB / 335.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007962/0.4014, allocations: 260.8 kB / 335.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4014, allocations: 0 / 335.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.4019, allocations: 197.8 kB / 335.7 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.4022, allocations: 17.84 kB / 335.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4036, allocations: 0.5189 MB / 336.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.4041, allocations: 0.7222 MB / 337 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.4042, allocations: 12.05 kB / 337 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.4043, allocations: 19 kB / 337 MB, free: 10.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4043, allocations: 0 / 337 MB, free: 10.14 MB / 282.7 MB Notification: Performance of Templates: time 0.007143/0.4114, allocations: 1.45 MB / 338.4 MB, free: 10.02 MB / 282.7 MB