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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 2.522/2.522, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.086e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5155, allocations: 87.94 MB / 498.2 MB, free: 240 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5158, allocations: 64.97 kB / 498.3 MB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02656/0.5423, allocations: 6.449 MB / 0.4929 GB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5424, allocations: 0 / 0.4929 GB, free: 9.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.5424, allocations: 11.98 kB / 0.4929 GB, free: 9.676 MB / 410.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.001096/0.5435, allocations: 0.5804 MB / 0.4935 GB, free: 9.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5436, allocations: 8.031 kB / 0.4935 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5437, allocations: 39.53 kB / 0.4935 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.5442, allocations: 279.3 kB / 0.4938 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.5442, allocations: 32.78 kB / 0.4938 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/0.5443, allocations: 36 kB / 0.4938 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.5451, allocations: 356.7 kB / 0.4942 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.5452, allocations: 7.906 kB / 0.4942 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.5452, allocations: 14.84 kB / 0.4942 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5453, allocations: 12 kB / 0.4942 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.5458, allocations: 207.9 kB / 0.4944 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.548, allocations: 1.101 MB / 0.4955 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.5487, allocations: 327.6 kB / 0.4958 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.5491, allocations: 162.5 kB / 0.496 GB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.5491, allocations: 8 kB / 0.496 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5492, allocations: 34.5 kB / 0.496 GB, free: 6.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 5.243e-06/0.5492, allocations: 0 / 0.496 GB, free: 6.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.004707/0.5539, allocations: 2.265 MB / 0.4982 GB, free: 3.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/0.554, allocations: 114.8 kB / 0.4983 GB, free: 3.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.5544, allocations: 207 kB / 0.4985 GB, free: 3.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.5544, allocations: 41.7 kB / 0.4986 GB, free: 3.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.5546, allocations: 180.6 kB / 0.4987 GB, free: 3.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.5548, allocations: 197.1 kB / 0.4989 GB, free: 2.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.5548, allocations: 8 kB / 0.4989 GB, free: 2.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.555, allocations: 346.8 kB / 0.4993 GB, free: 2.637 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5554, allocations: 113.1 kB / 0.4994 GB, free: 2.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.5557, allocations: 210.8 kB / 0.4996 GB, free: 2.285 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.5561, allocations: 147.8 kB / 0.4997 GB, free: 2.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5562, allocations: 0 / 0.4997 GB, free: 2.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001322/0.5575, allocations: 0.5149 MB / 0.5002 GB, free: 1.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.5575, allocations: 8 kB / 0.5002 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.68e-06/0.5576, allocations: 3.938 kB / 0.5002 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.5581, allocations: 130.8 kB / 0.5003 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.5586, allocations: 99.88 kB / 0.5004 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.5643, allocations: 4.653 MB / 0.505 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.5647, allocations: 20 kB / 0.505 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.5648, allocations: 19.98 kB / 0.505 GB, free: 12.27 MB / 426.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.0001816/0.565, allocations: 132.9 kB / 0.5051 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.5651, allocations: 35.53 kB / 0.5052 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.5653, allocations: 54.02 kB / 0.5052 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.5653, allocations: 11.94 kB / 0.5052 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.5653, allocations: 3.953 kB / 0.5052 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.5653, allocations: 4.25 kB / 0.5052 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.5681, allocations: 1.292 MB / 0.5065 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.545e-06/0.5682, allocations: 4 kB / 0.5065 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.5688, allocations: 103.9 kB / 0.5066 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.5692, allocations: 94.45 kB / 0.5067 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.5693, allocations: 11.98 kB / 0.5067 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.5737, allocations: 4.092 MB / 0.5107 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.599e-06/0.5738, allocations: 8.031 kB / 0.5107 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.5755, allocations: 0.9395 MB / 0.5116 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.5756, allocations: 116.6 kB / 0.5117 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.5757, allocations: 16.02 kB / 0.5118 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.5761, allocations: 20 kB / 0.5118 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5762, allocations: 43.88 kB / 0.5118 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.5763, allocations: 19.92 kB / 0.5118 GB, free: 4.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000239/0.5765, allocations: 171.1 kB / 0.512 GB, free: 4.543 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.5766, allocations: 8 kB / 0.512 GB, free: 4.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009525/0.5775, allocations: 116 kB / 0.5121 GB, free: 4.422 MB / 426.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.0001958/0.5777, allocations: 115.6 kB / 0.5122 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.5792, allocations: 0.6923 MB / 0.5129 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.231e-06/0.5792, allocations: 0 / 0.5129 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009824/0.5802, allocations: 0.5361 MB / 0.5134 GB, free: 3.016 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.5808, allocations: 49.89 kB / 0.5135 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.5829, allocations: 0.9327 MB / 0.5144 GB, free: 1.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.5836, allocations: 0.8323 MB / 0.5152 GB, free: 1.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.5838, allocations: 31.28 kB / 0.5152 GB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.5839, allocations: 31.42 kB / 0.5153 GB, free: 1.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.787e-06/0.5839, allocations: 0 / 0.5153 GB, free: 1.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01842/0.6024, allocations: 3.975 MB / 0.5191 GB, free: 13.11 MB / 442.7 MB