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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.63/1.63, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.339e-05, allocations: 4 kB / 228.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.07974, allocations: 38.76 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3105/0.3903, allocations: 52.17 MB / 319.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.4231, allocations: 11.34 MB / 330.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01403/0.4371, allocations: 277 kB / 330.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.4474, allocations: 2.753 MB / 333.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02893/0.4764, allocations: 7.394 MB / 340.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.4811, allocations: 0.6124 MB / 341.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006146/0.4873, allocations: 1.799 MB / 343.3 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01126/0.4986, allocations: 5.233 MB / 348.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.5011, allocations: 0.9506 MB / 349.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.5046, allocations: 1.469 MB / 350.9 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.5074, allocations: 0.7997 MB / 351.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.5085, allocations: 136 kB / 351.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002912/0.5114, allocations: 1.757 MB / 353.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.513, allocations: 324 kB / 353.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.524, allocations: 6.663 MB / 360.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5241, allocations: 3.938 kB / 360.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5241, allocations: 0 / 360.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002829/0.5244, allocations: 0 / 360.6 MB, free: 2.453 MB / 282.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.03085/0.5553, allocations: 5.919 MB / 366.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5553, allocations: 8.031 kB / 366.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/0.5703, allocations: 2.337 MB / 368.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.5792, allocations: 2.902 MB / 371.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/0.5796, allocations: 303.8 kB / 372 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.5817, allocations: 411.6 kB / 372.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03765/0.6193, allocations: 12.57 MB / 385 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.6196, allocations: 51.52 kB / 385.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.621, allocations: 191.8 kB / 385.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006093/0.6271, allocations: 2.14 MB / 387.4 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03849/0.6657, allocations: 11.14 MB / 398.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3592/1.025, allocations: 47.52 MB / 446 MB, free: 97.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02874/1.054, allocations: 5.328 MB / 451.4 MB, free: 96.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/1.055, allocations: 398.9 kB / 451.8 MB, free: 96.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.055, allocations: 56.81 kB / 451.8 MB, free: 96.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 5.861e-06/1.055, allocations: 0 / 451.8 MB, free: 96.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.1197/1.175, allocations: 26.53 MB / 478.3 MB, free: 86.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/1.175, allocations: 156.7 kB / 478.5 MB, free: 86.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008379/1.184, allocations: 4.213 MB / 482.7 MB, free: 82.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007499/1.184, allocations: 61.7 kB / 482.8 MB, free: 82.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002694/1.187, allocations: 3.57 MB / 486.3 MB, free: 78.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.189, allocations: 0.9467 MB / 487.3 MB, free: 77.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/1.189, allocations: 143.7 kB / 487.4 MB, free: 77.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004338/1.19, allocations: 0.6033 MB / 488 MB, free: 77.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007357/1.197, allocations: 3.055 MB / 491.1 MB, free: 74.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009606/1.207, allocations: 7.076 MB / 498.2 MB, free: 65.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009937/1.217, allocations: 4.551 MB / 0.4909 GB, free: 60.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/1.217, allocations: 40 kB / 0.491 GB, free: 60.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.02898/1.246, allocations: 10.98 MB / 0.5017 GB, free: 49.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.246, allocations: 67.98 kB / 0.5018 GB, free: 49.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/1.246, allocations: 144 kB / 0.5019 GB, free: 49.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004812/1.251, allocations: 1.141 MB / 0.503 GB, free: 48.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/1.263, allocations: 1.734 MB / 0.5047 GB, free: 46.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.274, allocations: 6.118 MB / 0.5107 GB, free: 40.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007998/1.282, allocations: 421 kB / 0.5111 GB, free: 40.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.284, allocations: 435.9 kB / 0.5115 GB, free: 39.78 MB / 362.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.005829/1.29, allocations: 2.394 MB / 0.5138 GB, free: 37.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.291, allocations: 415.5 kB / 0.5142 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/1.307, allocations: 5.639 MB / 0.5197 GB, free: 31.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/1.307, allocations: 28 kB / 0.5198 GB, free: 31.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.307, allocations: 7.984 kB / 0.5198 GB, free: 31.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/1.307, allocations: 7.969 kB / 0.5198 GB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03306/1.34, allocations: 12.24 MB / 0.5317 GB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/1.34, allocations: 4 kB / 0.5317 GB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005246/1.346, allocations: 0.5152 MB / 0.5322 GB, free: 18.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004359/1.35, allocations: 0.9452 MB / 0.5332 GB, free: 17.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005485/1.351, allocations: 47.98 kB / 0.5332 GB, free: 17.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.362, allocations: 5.819 MB / 0.5389 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.362, allocations: 15.89 kB / 0.5389 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.384, allocations: 9.974 MB / 0.5486 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003013/1.387, allocations: 0.9173 MB / 0.5495 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.388, allocations: 47.69 kB / 0.5496 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00381/1.392, allocations: 181.5 kB / 0.5498 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006785/1.393, allocations: 157.7 kB / 0.5499 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/1.393, allocations: 64 kB / 0.55 GB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00705/1.4, allocations: 2.966 MB / 0.5529 GB, free: 12.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.4, allocations: 7.875 kB / 0.5529 GB, free: 12.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007803/1.408, allocations: 1.272 MB / 0.5541 GB, free: 11.64 MB / 378.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.0009302/1.409, allocations: 206.6 kB / 0.5543 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01953/1.429, allocations: 7.299 MB / 0.5614 GB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.429, allocations: 0 / 0.5614 GB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00785/1.437, allocations: 2.759 MB / 0.5641 GB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.44, allocations: 452.2 kB / 0.5646 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03505/1.475, allocations: 14.06 MB / 0.5783 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2379/1.713, allocations: 3.897 MB / 0.5821 GB, free: 141.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01146/1.725, allocations: 2.323 MB / 0.5844 GB, free: 141.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/1.728, allocations: 317.1 kB / 0.5847 GB, free: 141.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/1.728, allocations: 0 / 0.5847 GB, free: 141.5 MB / 394.7 MB Notification: Performance of Templates: time 0.1251/1.853, allocations: 48.09 MB / 0.6316 GB, free: 111.6 MB / 394.7 MB