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.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.674e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3503, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4859, allocations: 86.9 MB / 469.1 MB, free: 5.617 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4862, allocations: 71.95 kB / 469.2 MB, free: 5.547 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.04253/0.5287, allocations: 6.253 MB / 475.4 MB, free: 15.25 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.042e-06/0.5288, allocations: 0 / 475.4 MB, free: 15.25 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.578e-05/0.5289, allocations: 8 kB / 475.4 MB, free: 15.24 MB / 410.8 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.002106/0.531, allocations: 0.5843 MB / 476 MB, free: 14.61 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.86e-05/0.5311, allocations: 8.031 kB / 476 MB, free: 14.61 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.5314, allocations: 43.53 kB / 476.1 MB, free: 14.56 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008819/0.5323, allocations: 279.3 kB / 476.3 MB, free: 14.25 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.5324, allocations: 28.78 kB / 476.4 MB, free: 14.22 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.5326, allocations: 43.91 kB / 476.4 MB, free: 14.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.5344, allocations: 356.6 kB / 476.8 MB, free: 13.81 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.964e-05/0.5345, allocations: 7.984 kB / 476.8 MB, free: 13.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5346, allocations: 16 kB / 476.8 MB, free: 13.79 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.5346, allocations: 15.89 kB / 476.8 MB, free: 13.77 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5359, allocations: 204 kB / 477 MB, free: 13.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/0.5403, allocations: 1.101 MB / 478.1 MB, free: 12.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.5418, allocations: 327.5 kB / 478.4 MB, free: 12.07 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/0.5426, allocations: 158.6 kB / 478.6 MB, free: 11.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.5427, allocations: 4.75 kB / 478.6 MB, free: 11.9 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.5427, allocations: 38.56 kB / 478.6 MB, free: 11.85 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.075e-05/0.5428, allocations: 3.984 kB / 478.6 MB, free: 11.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=57): time 0.009598/0.5524, allocations: 2.264 MB / 480.9 MB, free: 9.312 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.5526, allocations: 114.8 kB / 481 MB, free: 9.176 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.5533, allocations: 210.9 kB / 481.2 MB, free: 8.957 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-05/0.5534, allocations: 37.7 kB / 481.2 MB, free: 8.914 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.5537, allocations: 176.7 kB / 481.4 MB, free: 8.738 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.5542, allocations: 197.1 kB / 481.6 MB, free: 8.543 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.5542, allocations: 8 kB / 481.6 MB, free: 8.535 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003587/0.5546, allocations: 350.8 kB / 481.9 MB, free: 8.184 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.5553, allocations: 113.1 kB / 482.1 MB, free: 8.074 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/0.5562, allocations: 214.7 kB / 482.3 MB, free: 7.828 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.5571, allocations: 143.9 kB / 482.4 MB, free: 7.688 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.58e-06/0.5571, allocations: 0 / 482.4 MB, free: 7.688 MB / 410.8 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002861/0.56, allocations: 0.5148 MB / 482.9 MB, free: 7.156 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.5601, allocations: 15.92 kB / 482.9 MB, free: 7.141 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.5601, allocations: 8.281 kB / 482.9 MB, free: 7.133 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.5612, allocations: 122.5 kB / 483.1 MB, free: 7.004 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5623, allocations: 99.88 kB / 483.2 MB, free: 6.906 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.5735, allocations: 4.66 MB / 487.8 MB, free: 1.848 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.5743, allocations: 27.92 kB / 487.9 MB, free: 1.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5744, allocations: 16 kB / 487.9 MB, free: 1.805 MB / 410.8 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.0003447/0.5748, allocations: 133 kB / 488 MB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.5752, allocations: 35.58 kB / 488 MB, free: 1.633 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.5755, allocations: 49.95 kB / 488.1 MB, free: 1.582 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.5755, allocations: 8.25 kB / 488.1 MB, free: 1.574 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/0.5755, allocations: 0 / 488.1 MB, free: 1.574 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.5756, allocations: 15.92 kB / 488.1 MB, free: 1.559 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.5804, allocations: 1.296 MB / 489.4 MB, free: 192 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.224e-06/0.5804, allocations: 3.984 kB / 489.4 MB, free: 188 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/0.5811, allocations: 99.89 kB / 489.5 MB, free: 88 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.5815, allocations: 90.61 kB / 489.6 MB, free: 15.99 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.5816, allocations: 12 kB / 489.6 MB, free: 15.98 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004493/0.5861, allocations: 4.096 MB / 493.7 MB, free: 11.48 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.919e-06/0.5861, allocations: 4.031 kB / 493.7 MB, free: 11.47 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5879, allocations: 0.9415 MB / 494.6 MB, free: 10.47 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.588, allocations: 108.7 kB / 494.7 MB, free: 10.34 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.5881, allocations: 12.06 kB / 494.8 MB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.5885, allocations: 23.98 kB / 494.8 MB, free: 10.31 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5886, allocations: 43.94 kB / 494.8 MB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.5887, allocations: 12 kB / 494.8 MB, free: 10.25 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002371/0.5889, allocations: 175.1 kB / 495 MB, free: 10.08 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.295e-06/0.589, allocations: 0 / 495 MB, free: 10.08 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0009761/0.5899, allocations: 119.9 kB / 495.1 MB, free: 9.965 MB / 426.8 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.0002147/0.5902, allocations: 117 kB / 495.2 MB, free: 9.844 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.5917, allocations: 0.6922 MB / 495.9 MB, free: 9.125 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.881e-06/0.5918, allocations: 4 kB / 495.9 MB, free: 9.121 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5928, allocations: 0.5364 MB / 496.5 MB, free: 8.555 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.5935, allocations: 52.42 kB / 496.5 MB, free: 8.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5957, allocations: 0.9053 MB / 497.4 MB, free: 7.562 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.5963, allocations: 0.8359 MB / 498.3 MB, free: 6.699 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.5965, allocations: 35.25 kB / 498.3 MB, free: 6.664 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.5967, allocations: 27.44 kB / 498.3 MB, free: 6.637 MB / 426.8 MB Notification: Performance of SimCode: time 4.01e-06/0.5967, allocations: 3.938 kB / 498.3 MB, free: 6.633 MB / 426.8 MB Notification: Performance of Templates: time 0.01255/0.6092, allocations: 3.977 MB / 0.4905 GB, free: 2.66 MB / 426.8 MB