Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 223.8 MB, free: 0.8555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.165e-05, allocations: 7.281 kB / 276.2 MB, free: 15.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3571, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003493/0.3606, allocations: 2.182 MB / 327.1 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3622, allocations: 0.6186 MB / 327.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.3624, allocations: 13.47 kB / 327.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3625, allocations: 35.53 kB / 327.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3629, allocations: 121.4 kB / 327.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3631, allocations: 64.56 kB / 327.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3635, allocations: 226.1 kB / 328.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.3638, allocations: 84.73 kB / 328.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.364, allocations: 125.5 kB / 328.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3643, allocations: 138.9 kB / 328.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.3644, allocations: 13.62 kB / 328.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.3644, allocations: 13.22 kB / 328.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.3645, allocations: 54.45 kB / 328.5 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3646, allocations: 39.06 kB / 328.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.3652, allocations: 308.2 kB / 328.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3652, allocations: 0 / 328.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3652, allocations: 7.938 kB / 328.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3652, allocations: 1.188 kB / 328.9 MB, free: 1.391 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001183/0.3664, allocations: 0.5586 MB / 329.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3665, allocations: 8.906 kB / 329.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3666, allocations: 44.5 kB / 329.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.367, allocations: 279.1 kB / 329.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.3671, allocations: 27.69 kB / 329.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3672, allocations: 38.42 kB / 329.8 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.3682, allocations: 391.7 kB / 330.2 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3682, allocations: 7.438 kB / 330.2 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/0.3683, allocations: 17.12 kB / 330.2 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.3683, allocations: 9.359 kB / 330.3 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.369, allocations: 237.6 kB / 330.5 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.3726, allocations: 1.724 MB / 332.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.3733, allocations: 272.9 kB / 332.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.3734, allocations: 4.641 kB / 332.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3734, allocations: 42.52 kB / 332.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 3.757e-06/0.3734, allocations: 4 kB / 332.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001053/0.3745, allocations: 269.2 kB / 332.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.3746, allocations: 214.7 kB / 333 MB, free: 14.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.3751, allocations: 244.2 kB / 333.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3751, allocations: 31.08 kB / 333.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3753, allocations: 241.9 kB / 333.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3755, allocations: 123.8 kB / 333.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.3755, allocations: 10.75 kB / 333.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3757, allocations: 345.9 kB / 334 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.3761, allocations: 102.9 kB / 334.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.3767, allocations: 425.2 kB / 334.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.3772, allocations: 172.6 kB / 334.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3773, allocations: 6.125 kB / 334.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00145/0.3787, allocations: 0.5306 MB / 335.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.3788, allocations: 11.16 kB / 335.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.3788, allocations: 11.91 kB / 335.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/0.3789, allocations: 17 kB / 335.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.3797, allocations: 150.5 kB / 335.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/0.3798, allocations: 21.23 kB / 335.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.3803, allocations: 67.03 kB / 335.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.3804, allocations: 32.03 kB / 335.5 MB, free: 12.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0002843/0.3807, allocations: 178.1 kB / 335.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.3809, allocations: 36.36 kB / 335.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.381, allocations: 34.91 kB / 335.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.381, allocations: 4.609 kB / 335.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3811, allocations: 4.75 kB / 335.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3811, allocations: 2.828 kB / 335.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.3831, allocations: 0.657 MB / 336.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3831, allocations: 2.562 kB / 336.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.384, allocations: 92.52 kB / 336.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.384, allocations: 2.625 kB / 336.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.3841, allocations: 11.02 kB / 336.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.3841, allocations: 8.172 kB / 336.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.3841, allocations: 3.656 kB / 336.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3855, allocations: 0.9355 MB / 337.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.3859, allocations: 121.1 kB / 337.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.386, allocations: 9.781 kB / 337.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.3866, allocations: 14.08 kB / 337.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3867, allocations: 33.84 kB / 337.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.3868, allocations: 8.875 kB / 337.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003748/0.3872, allocations: 186.8 kB / 337.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.3872, allocations: 0 / 337.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001253/0.3884, allocations: 98.75 kB / 337.9 MB, free: 10.79 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002493/0.3887, allocations: 113.1 kB / 338 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.39, allocations: 294.5 kB / 338.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.3901, allocations: 0.875 kB / 338.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.3905, allocations: 100.1 kB / 338.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.3917, allocations: 60.39 kB / 338.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.3965, allocations: 1.865 MB / 340.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.3971, allocations: 0.8039 MB / 341.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.3974, allocations: 45.22 kB / 341.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.3975, allocations: 28.73 kB / 341.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3975, allocations: 0 / 341.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of Templates: time 0.01015/0.4077, allocations: 2.653 MB / 343.9 MB, free: 7.48 MB / 282.7 MB