Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/3.047e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004034/0.1346, allocations: 2.227 MB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1362, allocations: 0.6002 MB / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.1365, allocations: 12 kB / 413.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1366, allocations: 39.7 kB / 413.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.137, allocations: 115.6 kB / 413.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1373, allocations: 67.92 kB / 414 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.1378, allocations: 231.4 kB / 414.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.138, allocations: 82.91 kB / 414.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.1383, allocations: 119.7 kB / 414.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1386, allocations: 139.5 kB / 414.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.1387, allocations: 12 kB / 414.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.1388, allocations: 12 kB / 414.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.1388, allocations: 55.77 kB / 414.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.139, allocations: 40 kB / 414.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.1394, allocations: 303.4 kB / 415 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1394, allocations: 4 kB / 415 MB, free: 8.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1395, allocations: 0 / 415 MB, free: 8.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1395, allocations: 4 kB / 415 MB, free: 8.785 MB / 346.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.001302/0.1408, allocations: 0.5695 MB / 415.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1409, allocations: 8.031 kB / 415.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.141, allocations: 43.53 kB / 415.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1415, allocations: 267.3 kB / 415.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.1415, allocations: 29 kB / 415.9 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1416, allocations: 47.91 kB / 415.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.1426, allocations: 394.1 kB / 416.3 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.1427, allocations: 3.906 kB / 416.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.1428, allocations: 16 kB / 416.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1428, allocations: 15.94 kB / 416.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.1435, allocations: 219.8 kB / 416.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.1473, allocations: 1.727 MB / 418.3 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.148, allocations: 262.4 kB / 418.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.1481, allocations: 8.078 kB / 418.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.1481, allocations: 42.5 kB / 418.6 MB, free: 4.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.627e-06/0.1481, allocations: 4 kB / 418.6 MB, free: 4.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001094/0.1492, allocations: 273.3 kB / 418.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.1494, allocations: 221.9 kB / 419.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.1498, allocations: 238 kB / 419.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.1498, allocations: 33.7 kB / 419.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.1501, allocations: 289.7 kB / 419.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.1502, allocations: 118.5 kB / 419.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.1503, allocations: 12 kB / 419.7 MB, free: 3.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1504, allocations: 334.8 kB / 420.1 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.1508, allocations: 109.2 kB / 420.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.1515, allocations: 416.9 kB / 420.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.152, allocations: 179.8 kB / 420.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.152, allocations: 0 / 420.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001415/0.1534, allocations: 0.5172 MB / 421.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.1535, allocations: 12 kB / 421.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.1535, allocations: 12 kB / 421.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/0.1536, allocations: 16 kB / 421.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.1545, allocations: 155.7 kB / 421.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.464e-05/0.1545, allocations: 27.86 kB / 421.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.155, allocations: 63.44 kB / 421.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.1551, allocations: 32.06 kB / 421.6 MB, free: 1.602 MB / 346.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.0002803/0.1554, allocations: 177.5 kB / 421.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.1556, allocations: 35.61 kB / 421.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/0.1557, allocations: 33.78 kB / 421.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1557, allocations: 4 kB / 421.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.1558, allocations: 7.953 kB / 421.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1558, allocations: 3.938 kB / 421.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.1578, allocations: 0.6518 MB / 422.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.1578, allocations: 4.125 kB / 422.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.1588, allocations: 87.94 kB / 422.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.1588, allocations: 4 kB / 422.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.1589, allocations: 15.95 kB / 422.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.1589, allocations: 7.938 kB / 422.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1589, allocations: 4 kB / 422.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3169/0.4758, allocations: 0.928 MB / 423.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.476, allocations: 108.6 kB / 423.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.4761, allocations: 10.11 kB / 423.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.4766, allocations: 12.53 kB / 423.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.4768, allocations: 31.31 kB / 423.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.4768, allocations: 11.95 kB / 423.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000291/0.4771, allocations: 181.3 kB / 423.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4771, allocations: 0 / 423.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001026/0.4782, allocations: 102.2 kB / 424 MB, free: 11.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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.0001466/0.4783, allocations: 110.3 kB / 424.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009921/0.4793, allocations: 298 kB / 424.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4794, allocations: 2.953 kB / 424.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.4797, allocations: 94.41 kB / 424.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.4807, allocations: 56.73 kB / 424.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.4842, allocations: 1.877 MB / 426.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.4846, allocations: 0.8108 MB / 427.2 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.4848, allocations: 30.91 kB / 427.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4848, allocations: 0 / 427.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of Templates: time 0.01185/0.4967, allocations: 3.973 MB / 431.2 MB, free: 8.809 MB / 346.7 MB