Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.273e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3665, allocations: 54.85 MB / 359.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4874, allocations: 79.69 MB / 439.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4876, allocations: 63.95 kB / 439.5 MB, free: 1.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007545/0.4952, allocations: 1.965 MB / 441.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.07e-06/0.4952, allocations: 0 / 441.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4953, allocations: 4 kB / 441.5 MB, free: 15.24 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004809/0.4957, allocations: 374.4 kB / 441.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4958, allocations: 8.688 kB / 441.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.4959, allocations: 15.86 kB / 441.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.496, allocations: 179.6 kB / 442.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4961, allocations: 4.234 kB / 442.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.4961, allocations: 20 kB / 442.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.4964, allocations: 117.7 kB / 442.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4964, allocations: 7.5 kB / 442.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4965, allocations: 4 kB / 442.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.911e-06/0.4965, allocations: 7.984 kB / 442.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.4967, allocations: 55.89 kB / 442.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.4976, allocations: 0.541 MB / 442.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.4978, allocations: 89.17 kB / 442.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.4979, allocations: 25.72 kB / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.4979, allocations: 0 / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.498, allocations: 34.56 kB / 443 MB, free: 13.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.038e-06/0.498, allocations: 0 / 443 MB, free: 13.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003899/0.4984, allocations: 107.4 kB / 443.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.4985, allocations: 89.09 kB / 443.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4986, allocations: 110.4 kB / 443.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4986, allocations: 29.7 kB / 443.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.4987, allocations: 115.8 kB / 443.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4988, allocations: 27.56 kB / 443.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-06/0.4988, allocations: 4 kB / 443.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.499, allocations: 318.8 kB / 443.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.4991, allocations: 24 kB / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4992, allocations: 86.39 kB / 443.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.4993, allocations: 43.98 kB / 443.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-06/0.4993, allocations: 0 / 443.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003878/0.4997, allocations: 159.3 kB / 444.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4997, allocations: 9.75 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4998, allocations: 7.438 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.5, allocations: 37.64 kB / 444.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5001, allocations: 19.98 kB / 444.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.5026, allocations: 2.537 MB / 446.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.5027, allocations: 11.91 kB / 446.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.5028, allocations: 8.219 kB / 446.7 MB, free: 9.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.5029, allocations: 120.8 kB / 446.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.5029, allocations: 4 kB / 446.8 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.503, allocations: 16.02 kB / 446.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.503, allocations: 4.094 kB / 446.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.216e-06/0.503, allocations: 0 / 446.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.503, allocations: 4 kB / 446.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.5034, allocations: 209.5 kB / 447 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-06/0.5034, allocations: 0 / 447 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.5036, allocations: 12.88 kB / 447 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.5037, allocations: 38.39 kB / 447.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.5038, allocations: 0 / 447.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.5061, allocations: 2.529 MB / 449.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.6e-06/0.5062, allocations: 8.016 kB / 449.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.5066, allocations: 310.2 kB / 449.9 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.5067, allocations: 81.02 kB / 450 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.5067, allocations: 11.95 kB / 450 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5069, allocations: 0 / 450 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.5069, allocations: 10.38 kB / 450 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.451e-06/0.5069, allocations: 4 kB / 450 MB, free: 5.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.507, allocations: 96.58 kB / 450.1 MB, free: 5.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.507, allocations: 4 kB / 450.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.5075, allocations: 39.84 kB / 450.2 MB, free: 5.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.5077, allocations: 99.25 kB / 450.3 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.5082, allocations: 277.2 kB / 450.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.424e-06/0.5082, allocations: 8.062 kB / 450.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.5086, allocations: 239.8 kB / 450.8 MB, free: 5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.5089, allocations: 19.98 kB / 450.8 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.5098, allocations: 406.4 kB / 451.2 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.5102, allocations: 0.7122 MB / 451.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.5103, allocations: 8.875 kB / 451.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.5103, allocations: 15.44 kB / 451.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of SimCode: time 1.801e-06/0.5103, allocations: 0 / 451.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of Templates: time 0.005203/0.5155, allocations: 1.381 MB / 453.3 MB, free: 2.422 MB / 378.7 MB