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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.911e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.432/0.5432, allocations: 87.94 MB / 498.2 MB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004151/0.5437, allocations: 63.97 kB / 498.3 MB, free: 124 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05023/0.5939, allocations: 6.454 MB / 0.4929 GB, free: 9.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.693e-06/0.594, allocations: 0 / 0.4929 GB, free: 9.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.417e-05/0.594, allocations: 8 kB / 0.4929 GB, free: 9.625 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.00151/0.5956, allocations: 0.5804 MB / 0.4935 GB, free: 8.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.5956, allocations: 8.031 kB / 0.4935 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.5958, allocations: 39.53 kB / 0.4935 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.5965, allocations: 283.2 kB / 0.4938 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.5966, allocations: 28.78 kB / 0.4938 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.5968, allocations: 36 kB / 0.4939 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5981, allocations: 348.7 kB / 0.4942 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.5981, allocations: 11.89 kB / 0.4942 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.5982, allocations: 18.84 kB / 0.4942 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5983, allocations: 8 kB / 0.4942 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.5992, allocations: 211.9 kB / 0.4944 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.6026, allocations: 1.101 MB / 0.4955 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.6038, allocations: 327.6 kB / 0.4958 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.6042, allocations: 162.5 kB / 0.496 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.6043, allocations: 4 kB / 0.496 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.6043, allocations: 38.56 kB / 0.496 GB, free: 6.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.784e-06/0.6044, allocations: 4 kB / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.004801/0.6092, allocations: 2.27 MB / 0.4982 GB, free: 3.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.6093, allocations: 118.8 kB / 0.4983 GB, free: 3.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.6096, allocations: 207 kB / 0.4985 GB, free: 3.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.6097, allocations: 37.7 kB / 0.4986 GB, free: 3.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.6099, allocations: 176.7 kB / 0.4987 GB, free: 3.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.6101, allocations: 197.1 kB / 0.4989 GB, free: 2.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.6101, allocations: 8 kB / 0.4989 GB, free: 2.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.6103, allocations: 346.8 kB / 0.4993 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.6106, allocations: 113.1 kB / 0.4994 GB, free: 2.473 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.611, allocations: 206.8 kB / 0.4996 GB, free: 2.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.6114, allocations: 155.8 kB / 0.4997 GB, free: 2.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6115, allocations: 0 / 0.4997 GB, free: 2.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001381/0.6128, allocations: 0.5111 MB / 0.5002 GB, free: 1.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.6129, allocations: 11.98 kB / 0.5002 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6129, allocations: 11.92 kB / 0.5002 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.6134, allocations: 118.8 kB / 0.5004 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.614, allocations: 103.8 kB / 0.5005 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.6197, allocations: 4.649 MB / 0.505 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.6201, allocations: 23.98 kB / 0.505 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.6202, allocations: 19.98 kB / 0.505 GB, free: 12.21 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.0001976/0.6204, allocations: 140.9 kB / 0.5052 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.6205, allocations: 35.53 kB / 0.5052 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.6207, allocations: 49.95 kB / 0.5053 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.6207, allocations: 8 kB / 0.5053 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.6207, allocations: 3.953 kB / 0.5053 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6207, allocations: 7.984 kB / 0.5053 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.6236, allocations: 1.285 MB / 0.5065 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6236, allocations: 3.984 kB / 0.5065 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.6243, allocations: 95.89 kB / 0.5066 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.6248, allocations: 98.55 kB / 0.5067 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.6248, allocations: 12.19 kB / 0.5067 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.6297, allocations: 4.1 MB / 0.5107 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.6297, allocations: 7.969 kB / 0.5107 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.6315, allocations: 0.9396 MB / 0.5117 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.6316, allocations: 116.6 kB / 0.5118 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.6317, allocations: 15.95 kB / 0.5118 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.6321, allocations: 20.11 kB / 0.5118 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.6322, allocations: 43.94 kB / 0.5118 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.6323, allocations: 20 kB / 0.5119 GB, free: 4.648 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002378/0.6326, allocations: 171.1 kB / 0.512 GB, free: 4.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6326, allocations: 0 / 0.512 GB, free: 4.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009417/0.6335, allocations: 120 kB / 0.5121 GB, free: 4.359 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.0001934/0.6337, allocations: 115.2 kB / 0.5123 GB, free: 4.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.6352, allocations: 0.6999 MB / 0.5129 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6352, allocations: 0 / 0.5129 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.6362, allocations: 0.5403 MB / 0.5135 GB, free: 2.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.6368, allocations: 48.78 kB / 0.5135 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.6388, allocations: 0.9173 MB / 0.5144 GB, free: 1.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.6394, allocations: 0.8362 MB / 0.5152 GB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.6396, allocations: 35.25 kB / 0.5153 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.6397, allocations: 27.44 kB / 0.5153 GB, free: 1.008 MB / 426.7 MB Notification: Performance of SimCode: time 2.113e-06/0.6397, allocations: 0 / 0.5153 GB, free: 1.008 MB / 426.7 MB Notification: Performance of Templates: time 0.01241/0.6521, allocations: 3.964 MB / 0.5192 GB, free: 13.06 MB / 442.7 MB