Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.815e-05, allocations: 0 / 273.1 MB, free: 3.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08606, allocations: 48.7 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3349/0.421, allocations: 75.51 MB / 397.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.4212, allocations: 68.09 kB / 397.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02093/0.4421, allocations: 5.83 MB / 403.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.38e-06/0.4422, allocations: 4 kB / 403.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.4422, allocations: 7.562 kB / 403.2 MB, free: 5.684 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008159/0.443, allocations: 0.5744 MB / 403.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4431, allocations: 15.56 kB / 403.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.4432, allocations: 46.73 kB / 403.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.4435, allocations: 272.9 kB / 404.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.4436, allocations: 26.66 kB / 404.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.4437, allocations: 40.31 kB / 404.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.4443, allocations: 345.6 kB / 404.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.4444, allocations: 7.781 kB / 404.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.4444, allocations: 16.03 kB / 404.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4444, allocations: 11.69 kB / 404.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.4449, allocations: 203.1 kB / 404.7 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4466, allocations: 1.11 MB / 405.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.4471, allocations: 328.2 kB / 406.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.4474, allocations: 159.4 kB / 406.3 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.4475, allocations: 3.812 kB / 406.3 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4475, allocations: 42.62 kB / 406.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 3.458e-06/0.4475, allocations: 0 / 406.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.003647/0.4512, allocations: 2.277 MB / 408.6 MB, free: 2.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4512, allocations: 110.6 kB / 408.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.4515, allocations: 212.6 kB / 409 MB, free: 2.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.4515, allocations: 41.2 kB / 409 MB, free: 2.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.4516, allocations: 179.4 kB / 409.2 MB, free: 1.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4518, allocations: 208.4 kB / 409.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.4518, allocations: 9.938 kB / 409.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.452, allocations: 350.1 kB / 409.7 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.4523, allocations: 112.5 kB / 409.8 MB, free: 17.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.4526, allocations: 214.3 kB / 410 MB, free: 17.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.4529, allocations: 137.4 kB / 410.2 MB, free: 17.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.931e-06/0.4529, allocations: 3.844 kB / 410.2 MB, free: 17.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001078/0.454, allocations: 0.5098 MB / 410.7 MB, free: 17.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.454, allocations: 11.86 kB / 410.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.454, allocations: 7.797 kB / 410.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/0.4545, allocations: 120.2 kB / 410.8 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.455, allocations: 105.1 kB / 410.9 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.46, allocations: 4.653 MB / 415.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.4604, allocations: 26.86 kB / 415.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.4605, allocations: 23.27 kB / 415.6 MB, free: 12.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.4607, allocations: 138.5 kB / 415.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4608, allocations: 34.86 kB / 415.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4609, allocations: 53.25 kB / 415.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.035e-06/0.461, allocations: 7.344 kB / 415.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.461, allocations: 7.875 kB / 415.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.311e-06/0.461, allocations: 3.984 kB / 415.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.4634, allocations: 1.299 MB / 417.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.338e-06/0.4635, allocations: 8.031 kB / 417.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.4641, allocations: 97.05 kB / 417.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.4645, allocations: 92.94 kB / 417.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.4646, allocations: 10.47 kB / 417.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.4688, allocations: 4.104 MB / 421.5 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.475e-06/0.4689, allocations: 0 / 421.5 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4705, allocations: 0.9426 MB / 422.4 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.4707, allocations: 135.3 kB / 422.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.4708, allocations: 18.89 kB / 422.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4712, allocations: 16.97 kB / 422.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4713, allocations: 41.91 kB / 422.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.4714, allocations: 14.91 kB / 422.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.4716, allocations: 182.2 kB / 422.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4716, allocations: 0 / 422.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.4725, allocations: 117.6 kB / 422.9 MB, free: 7.301 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001797/0.4727, allocations: 122.6 kB / 423.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.474, allocations: 0.6872 MB / 423.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.481e-06/0.474, allocations: 7.938 kB / 423.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.4749, allocations: 0.5343 MB / 424.3 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.4755, allocations: 48.5 kB / 424.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.4775, allocations: 0.9225 MB / 425.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.4781, allocations: 0.829 MB / 426.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.4783, allocations: 42.47 kB / 426.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4784, allocations: 26.62 kB / 426.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of SimCode: time 1.829e-06/0.4785, allocations: 0 / 426.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of Templates: time 0.01216/0.4906, allocations: 3.966 MB / 430.1 MB, free: 2.574 MB / 330.7 MB