Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 194.9 MB / 211.2 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.275e-05, allocations: 7.906 kB / 258.8 MB, free: 8.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3134, allocations: 44.51 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.08246/0.3959, allocations: 52.17 MB / 355.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0343/0.4303, allocations: 11.37 MB / 366.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01249/0.4428, allocations: 279.4 kB / 367.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009847/0.4527, allocations: 2.753 MB / 369.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02876/0.4815, allocations: 7.394 MB / 377.3 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.4862, allocations: 0.6045 MB / 377.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00572/0.492, allocations: 1.797 MB / 379.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/0.5033, allocations: 5.246 MB / 384.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.5058, allocations: 0.9389 MB / 385.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.5093, allocations: 1.48 MB / 387.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.5122, allocations: 0.7919 MB / 388.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.5134, allocations: 135.9 kB / 388.2 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.5165, allocations: 1.761 MB / 390 MB, free: 6.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.5182, allocations: 323.9 kB / 390.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.5292, allocations: 6.663 MB / 397 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5293, allocations: 0 / 397 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5293, allocations: 4 kB / 397 MB, free: 15.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003332/0.5297, allocations: 0 / 397 MB, free: 15.66 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03153/0.5612, allocations: 5.907 MB / 402.9 MB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.5613, allocations: 12.02 kB / 402.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.5763, allocations: 2.329 MB / 405.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009175/0.5855, allocations: 2.917 MB / 408.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.586, allocations: 299.8 kB / 408.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/0.5881, allocations: 411.7 kB / 408.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03866/0.6268, allocations: 12.58 MB / 421.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/0.6272, allocations: 55.48 kB / 421.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/0.6289, allocations: 191.8 kB / 421.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006201/0.6351, allocations: 2.144 MB / 423.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3008/0.9359, allocations: 11.12 MB / 434.9 MB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0842/1.02, allocations: 47.53 MB / 482.5 MB, free: 58.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02709/1.047, allocations: 5.327 MB / 487.8 MB, free: 53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/1.049, allocations: 402.5 kB / 488.2 MB, free: 52.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/1.049, allocations: 59.81 kB / 488.2 MB, free: 52.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 7.123e-06/1.049, allocations: 4 kB / 488.2 MB, free: 52.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.1226/1.172, allocations: 26.52 MB / 0.5027 GB, free: 25.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.172, allocations: 154.5 kB / 0.5028 GB, free: 25.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008839/1.181, allocations: 4.198 MB / 0.5069 GB, free: 21.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008204/1.182, allocations: 61.7 kB / 0.507 GB, free: 21.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002753/1.184, allocations: 3.463 MB / 0.5104 GB, free: 17.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.186, allocations: 0.9551 MB / 0.5113 GB, free: 16.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008853/1.187, allocations: 140 kB / 0.5115 GB, free: 16.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004575/1.187, allocations: 0.6081 MB / 0.512 GB, free: 16.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007699/1.195, allocations: 3.055 MB / 0.515 GB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009941/1.205, allocations: 7.076 MB / 0.5219 GB, free: 4.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/1.216, allocations: 4.545 MB / 0.5264 GB, free: 15.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/1.216, allocations: 40 kB / 0.5264 GB, free: 15.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.03485/1.251, allocations: 10.84 MB / 0.537 GB, free: 4.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.251, allocations: 71.94 kB / 0.5371 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002574/1.251, allocations: 140 kB / 0.5372 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/1.257, allocations: 1.155 MB / 0.5383 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/1.27, allocations: 1.727 MB / 0.54 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.284, allocations: 6.112 MB / 0.546 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/1.292, allocations: 431.3 kB / 0.5464 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/1.294, allocations: 427.9 kB / 0.5468 GB, free: 10.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 648 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 864 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007094/1.301, allocations: 2.391 MB / 0.5491 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.303, allocations: 426.5 kB / 0.5495 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/1.322, allocations: 5.623 MB / 0.555 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/1.322, allocations: 28 kB / 0.5551 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/1.322, allocations: 4 kB / 0.5551 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/1.322, allocations: 12.05 kB / 0.5551 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03896/1.361, allocations: 12.24 MB / 0.567 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/1.361, allocations: 4 kB / 0.567 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005661/1.367, allocations: 0.5038 MB / 0.5675 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005046/1.372, allocations: 0.9528 MB / 0.5685 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008226/1.373, allocations: 51.98 kB / 0.5685 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2845/1.658, allocations: 5.819 MB / 0.5742 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.658, allocations: 4.188 kB / 0.5742 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/1.684, allocations: 9.97 MB / 0.5839 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/1.687, allocations: 0.9244 MB / 0.5848 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/1.689, allocations: 44.81 kB / 0.5849 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004662/1.694, allocations: 171.8 kB / 0.585 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/1.695, allocations: 162.5 kB / 0.5852 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004221/1.695, allocations: 70.38 kB / 0.5853 GB, free: 130.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006946/1.702, allocations: 2.957 MB / 0.5882 GB, free: 129.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.702, allocations: 0 / 0.5882 GB, free: 129.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007606/1.71, allocations: 1.273 MB / 0.5894 GB, free: 129.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 223 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/1.711, allocations: 198.3 kB / 0.5896 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01761/1.729, allocations: 7.31 MB / 0.5967 GB, free: 126.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.729, allocations: 0 / 0.5967 GB, free: 126.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007421/1.736, allocations: 2.751 MB / 0.5994 GB, free: 125.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/1.741, allocations: 470.6 kB / 0.5999 GB, free: 124.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/1.773, allocations: 14.59 MB / 0.6141 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007365/1.781, allocations: 3.905 MB / 0.6179 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/1.784, allocations: 379.1 kB / 0.6183 GB, free: 107.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/1.784, allocations: 0 / 0.6183 GB, free: 107.5 MB / 410.7 MB Notification: Performance of Templates: time 0.1638/1.948, allocations: 91.91 MB / 0.708 GB, free: 15.41 MB / 410.7 MB