Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.247/2.247, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.048e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3635, allocations: 61.89 MB / 408.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4973, allocations: 87.93 MB / 496.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4976, allocations: 71.94 kB / 496.8 MB, free: 2.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02535/0.523, allocations: 6.258 MB / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.523, allocations: 0 / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.5231, allocations: 12 kB / 0.4913 GB, free: 12.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009479/0.524, allocations: 0.5532 MB / 0.4919 GB, free: 11.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5241, allocations: 8.031 kB / 0.4919 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5242, allocations: 43.44 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.5246, allocations: 263.3 kB / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.5246, allocations: 28.78 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.5247, allocations: 47.89 kB / 0.4922 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.5255, allocations: 357.8 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.5255, allocations: 15.92 kB / 0.4926 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.5256, allocations: 16 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.5256, allocations: 12 kB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.5261, allocations: 183.8 kB / 0.4928 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.5292, allocations: 1.711 MB / 0.4945 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.5297, allocations: 238.4 kB / 0.4947 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.5299, allocations: 90.06 kB / 0.4948 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.5299, allocations: 7.953 kB / 0.4948 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.53, allocations: 46.5 kB / 0.4948 GB, free: 8.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.228e-06/0.53, allocations: 0 / 0.4948 GB, free: 8.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006223/0.5306, allocations: 181.2 kB / 0.495 GB, free: 8.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.5308, allocations: 221.5 kB / 0.4952 GB, free: 7.863 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.5311, allocations: 235.3 kB / 0.4954 GB, free: 7.629 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.5312, allocations: 33.7 kB / 0.4955 GB, free: 7.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.5314, allocations: 301.9 kB / 0.4958 GB, free: 7.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5315, allocations: 110.5 kB / 0.4959 GB, free: 7.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.5316, allocations: 12 kB / 0.4959 GB, free: 7.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5317, allocations: 334.9 kB / 0.4962 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.532, allocations: 81.56 kB / 0.4963 GB, free: 6.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.5325, allocations: 416.5 kB / 0.4967 GB, free: 6.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.5329, allocations: 151.8 kB / 0.4968 GB, free: 6.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.5329, allocations: 4 kB / 0.4968 GB, free: 6.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001034/0.5339, allocations: 465.3 kB / 0.4973 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.534, allocations: 19.89 kB / 0.4973 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.534, allocations: 12 kB / 0.4973 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.5341, allocations: 16 kB / 0.4973 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.5347, allocations: 152.3 kB / 0.4975 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.5348, allocations: 19.94 kB / 0.4975 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.5352, allocations: 75.36 kB / 0.4975 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.5353, allocations: 32 kB / 0.4976 GB, free: 5.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.5355, allocations: 144.7 kB / 0.4977 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.5357, allocations: 31.62 kB / 0.4977 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.5358, allocations: 37.86 kB / 0.4978 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5358, allocations: 7.938 kB / 0.4978 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.523e-06/0.5358, allocations: 8 kB / 0.4978 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.574e-06/0.5359, allocations: 0 / 0.4978 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.5376, allocations: 0.6515 MB / 0.4984 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.196e-06/0.5376, allocations: 288 / 0.4984 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.5383, allocations: 91.88 kB / 0.4985 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.5383, allocations: 8.062 kB / 0.4985 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.5384, allocations: 8 kB / 0.4985 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.182e-06/0.5384, allocations: 4 kB / 0.4985 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5384, allocations: 0 / 0.4985 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.5394, allocations: 0.9081 MB / 0.4994 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5395, allocations: 101 kB / 0.4995 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.5396, allocations: 8 kB / 0.4995 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.5401, allocations: 15.98 kB / 0.4995 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.5401, allocations: 19.94 kB / 0.4996 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.5402, allocations: 11.98 kB / 0.4996 GB, free: 3.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.5404, allocations: 183.1 kB / 0.4997 GB, free: 2.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5404, allocations: 0 / 0.4997 GB, free: 2.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001037/0.5415, allocations: 107.7 kB / 0.4999 GB, free: 2.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.5417, allocations: 119.4 kB / 0.5 GB, free: 2.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.5423, allocations: 248.8 kB / 0.5002 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.147e-06/0.5423, allocations: 0 / 0.5002 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.5425, allocations: 67.88 kB / 0.5003 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.5433, allocations: 62.72 kB / 0.5003 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.5461, allocations: 1.565 MB / 0.5019 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.5467, allocations: 0.8033 MB / 0.5026 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5468, allocations: 31.44 kB / 0.5027 GB, free: 15.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.584e-06/0.5468, allocations: 0 / 0.5027 GB, free: 15.78 MB / 442.7 MB Notification: Performance of Templates: time 0.007943/0.5548, allocations: 3.949 MB / 0.5065 GB, free: 11.84 MB / 442.7 MB