Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 270 MB / 283.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.298e-05, allocations: 7.984 kB / 348.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3511, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5179, allocations: 109.8 MB / 0.5079 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5182, allocations: 83.95 kB / 0.508 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6853/1.203, allocations: 104.5 MB / 0.61 GB, free: 31.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.843e-06/1.204, allocations: 7.938 kB / 0.61 GB, free: 31.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003046/1.204, allocations: 100 kB / 0.6101 GB, free: 31.68 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01486/1.219, allocations: 5.105 MB / 0.6151 GB, free: 26.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.219, allocations: 8.031 kB / 0.6151 GB, free: 26.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0337/1.252, allocations: 6.896 MB / 0.6218 GB, free: 19.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.018/1.271, allocations: 6.476 MB / 0.6282 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/1.271, allocations: 394.3 kB / 0.6285 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/1.273, allocations: 0.5192 MB / 0.629 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/1.3, allocations: 12.15 MB / 0.6409 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/1.301, allocations: 79.23 kB / 0.641 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/1.302, allocations: 251.9 kB / 0.6412 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0022/1.304, allocations: 1.059 MB / 0.6422 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.331, allocations: 9.681 MB / 0.6517 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1267/1.457, allocations: 55.56 MB / 0.706 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/1.472, allocations: 4.122 MB / 0.71 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/1.476, allocations: 2.232 MB / 0.7122 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3665/1.843, allocations: 9.358 MB / 0.7213 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.843, allocations: 58.47 kB / 0.7214 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 6.849e-06/1.843, allocations: 0 / 0.7214 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=197): time 0.05264/1.896, allocations: 15.08 MB / 0.7361 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/1.896, allocations: 200 kB / 0.7363 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008521/1.904, allocations: 4.106 MB / 0.7403 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000339/1.905, allocations: 49.12 kB / 0.7403 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002895/1.907, allocations: 3.658 MB / 0.7439 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000886/1.908, allocations: 0.7604 MB / 0.7447 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005585/1.909, allocations: 126.8 kB / 0.7448 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003998/1.909, allocations: 0.5709 MB / 0.7453 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/1.913, allocations: 2.028 MB / 0.7473 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/1.92, allocations: 5.835 MB / 0.753 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/1.926, allocations: 3.442 MB / 0.7564 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.927, allocations: 39.5 kB / 0.7564 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01934/1.946, allocations: 8.007 MB / 0.7642 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.946, allocations: 66.89 kB / 0.7643 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/1.946, allocations: 140.3 kB / 0.7644 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/1.95, allocations: 0.9271 MB / 0.7653 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00655/1.956, allocations: 1.439 MB / 0.7667 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.968, allocations: 7.406 MB / 0.774 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006641/1.975, allocations: 332.1 kB / 0.7743 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.976, allocations: 390.5 kB / 0.7747 GB, free: 102 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * Array equations: 3 * 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%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001142/1.977, allocations: 0.6049 MB / 0.7752 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009449/1.978, allocations: 413.8 kB / 0.7756 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/1.986, allocations: 3.16 MB / 0.7787 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-05/1.986, allocations: 19.16 kB / 0.7787 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.986, allocations: 11.38 kB / 0.7788 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/1.986, allocations: 16.19 kB / 0.7788 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/2.006, allocations: 8.532 MB / 0.7871 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/2.006, allocations: 0.9375 kB / 0.7871 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/2.008, allocations: 302.7 kB / 0.7874 GB, free: 96.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/2.011, allocations: 0.683 MB / 0.7881 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/2.011, allocations: 35.28 kB / 0.7881 GB, free: 96.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009127/2.02, allocations: 6.547 MB / 0.7945 GB, free: 90.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/2.02, allocations: 4 kB / 0.7945 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009804/2.03, allocations: 5.689 MB / 0.8 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/2.031, allocations: 454.6 kB / 0.8005 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/2.033, allocations: 32 kB / 0.8005 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/2.035, allocations: 102.8 kB / 0.8006 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/2.036, allocations: 122.1 kB / 0.8007 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/2.036, allocations: 52.89 kB / 0.8008 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006553/2.042, allocations: 2.889 MB / 0.8036 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.394e-06/2.042, allocations: 0 / 0.8036 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007772/2.05, allocations: 1.137 MB / 0.8047 GB, free: 80.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * Array equations: 3 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006616/2.051, allocations: 175.3 kB / 0.8049 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009915/2.061, allocations: 5.046 MB / 0.8098 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.252e-06/2.061, allocations: 4 kB / 0.8098 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/2.064, allocations: 1.747 MB / 0.8115 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/2.068, allocations: 0.5273 MB / 0.812 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/2.089, allocations: 8.792 MB / 0.8206 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007976/2.097, allocations: 3.968 MB / 0.8245 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007026/2.104, allocations: 2.004 MB / 0.8264 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/2.105, allocations: 270.3 kB / 0.8267 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of SimCode: time 2.326e-06/2.105, allocations: 0 / 0.8267 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.1081/2.213, allocations: 38.72 MB / 0.8645 GB, free: 29.88 MB / 0.5105 GB