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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.585/1.585, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.282e-05, allocations: 7.984 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.3435, allocations: 87.27 MB / 351 MB, free: 2.453 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.3439, allocations: 91.89 kB / 351.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5296/0.8735, allocations: 96.97 MB / 448.1 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.8735, allocations: 0 / 448.1 MB, free: 25.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002538/0.8738, allocations: 100 kB / 448.2 MB, free: 25.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02177/0.8956, allocations: 5.491 MB / 453.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8956, allocations: 12.03 kB / 453.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.9096, allocations: 2.325 MB / 456 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.9233, allocations: 4.906 MB / 460.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/0.9237, allocations: 394.3 kB / 461.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.9259, allocations: 0.5153 MB / 461.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03054/0.9565, allocations: 12.84 MB / 474.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002813/0.9568, allocations: 75.34 kB / 474.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001815/0.9586, allocations: 247.9 kB / 475 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00248/0.9611, allocations: 1.207 MB / 476.2 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03098/0.9921, allocations: 10.8 MB / 487 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.335/1.327, allocations: 57.06 MB / 0.5313 GB, free: 24.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/1.346, allocations: 5.123 MB / 0.5363 GB, free: 23.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005006/1.351, allocations: 3.162 MB / 0.5394 GB, free: 23.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.352, allocations: 0.6864 MB / 0.5401 GB, free: 22.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/1.352, allocations: 57.95 kB / 0.5401 GB, free: 22.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 7.059e-06/1.352, allocations: 0 / 0.5401 GB, free: 22.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.07818/1.43, allocations: 21.48 MB / 0.5611 GB, free: 19.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/1.43, allocations: 156.2 kB / 0.5612 GB, free: 19.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008523/1.439, allocations: 4.058 MB / 0.5652 GB, free: 18.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000566/1.439, allocations: 60.7 kB / 0.5653 GB, free: 18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.442, allocations: 3.476 MB / 0.5687 GB, free: 15.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.443, allocations: 0.9461 MB / 0.5696 GB, free: 14.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007013/1.444, allocations: 145.9 kB / 0.5697 GB, free: 14.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004309/1.444, allocations: 0.5999 MB / 0.5703 GB, free: 14.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005798/1.45, allocations: 2.973 MB / 0.5732 GB, free: 13.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007913/1.458, allocations: 6.958 MB / 0.58 GB, free: 6.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008283/1.466, allocations: 4.502 MB / 0.5844 GB, free: 5.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.466, allocations: 39.22 kB / 0.5844 GB, free: 5.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02364/1.49, allocations: 10.28 MB / 0.5945 GB, free: 56 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/1.49, allocations: 72.56 kB / 0.5945 GB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001359/1.492, allocations: 213.6 kB / 0.5947 GB, free: 0 / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/1.496, allocations: 1.169 MB / 0.5959 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008563/1.505, allocations: 1.736 MB / 0.5976 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.516, allocations: 5.929 MB / 0.6034 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007372/1.523, allocations: 435 kB / 0.6038 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.525, allocations: 434.1 kB / 0.6042 GB, free: 7.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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 (870): * Single equations (assignments): 866 * 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.001757/1.527, allocations: 0.6391 MB / 0.6048 GB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.528, allocations: 414.6 kB / 0.6052 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.541, allocations: 5.492 MB / 0.6106 GB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-05/1.541, allocations: 35.88 kB / 0.6106 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/1.541, allocations: 4 kB / 0.6106 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.908e-05/1.541, allocations: 11.02 kB / 0.6106 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/1.572, allocations: 12.12 MB / 0.6225 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/1.572, allocations: 4 kB / 0.6225 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003643/1.576, allocations: 0.51 MB / 0.623 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003385/1.58, allocations: 0.9339 MB / 0.6239 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005655/1.58, allocations: 43.75 kB / 0.6239 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/1.591, allocations: 5.644 MB / 0.6294 GB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.591, allocations: 7.953 kB / 0.6294 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2369/1.827, allocations: 9.691 MB / 0.6389 GB, free: 87.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.83, allocations: 0.9092 MB / 0.6398 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.832, allocations: 44.97 kB / 0.6398 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003308/1.835, allocations: 178.7 kB / 0.64 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007575/1.836, allocations: 156.9 kB / 0.6402 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000314/1.836, allocations: 69.42 kB / 0.6402 GB, free: 87.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006263/1.842, allocations: 2.827 MB / 0.643 GB, free: 87.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.021e-06/1.842, allocations: 0 / 0.643 GB, free: 87.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007717/1.85, allocations: 1.264 MB / 0.6442 GB, free: 87.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (225): * Single equations (assignments): 221 * 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.0008054/1.851, allocations: 200.1 kB / 0.6444 GB, free: 87.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.864, allocations: 6.943 MB / 0.6512 GB, free: 86.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.465e-06/1.865, allocations: 5.688 kB / 0.6512 GB, free: 86.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00532/1.87, allocations: 2.657 MB / 0.6538 GB, free: 86.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.873, allocations: 461.6 kB / 0.6542 GB, free: 86.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.898, allocations: 10.64 MB / 0.6646 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007548/1.906, allocations: 3.901 MB / 0.6684 GB, free: 83.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/1.908, allocations: 366.5 kB / 0.6688 GB, free: 83.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.036e-06/1.908, allocations: 0 / 0.6688 GB, free: 83.34 MB / 378.7 MB Notification: Performance of Templates: time 0.1303/2.038, allocations: 90.13 MB / 0.7568 GB, free: 13.55 MB / 378.7 MB