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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.481e-05, allocations: 0 / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2858, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.07592/0.3617, allocations: 52.19 MB / 355.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03078/0.3926, allocations: 11.37 MB / 366.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01122/0.4038, allocations: 275.4 kB / 367.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008974/0.4129, allocations: 2.745 MB / 369.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02604/0.439, allocations: 7.394 MB / 377.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.4433, allocations: 0.6006 MB / 377.9 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005401/0.4487, allocations: 1.797 MB / 379.7 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.4592, allocations: 5.239 MB / 384.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.4613, allocations: 0.9429 MB / 385.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.4644, allocations: 1.473 MB / 387.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.467, allocations: 0.7958 MB / 388.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009358/0.468, allocations: 135.9 kB / 388.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002667/0.4707, allocations: 1.765 MB / 390 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.4723, allocations: 327.9 kB / 390.4 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.4823, allocations: 6.667 MB / 397 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4824, allocations: 0 / 397 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4824, allocations: 4 kB / 397 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002694/0.4827, allocations: 0 / 397 MB, free: 15.61 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.02959/0.5123, allocations: 5.9 MB / 402.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5123, allocations: 8.031 kB / 402.9 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.527, allocations: 2.333 MB / 405.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008336/0.5354, allocations: 2.917 MB / 408.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.5358, allocations: 303.8 kB / 408.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.5378, allocations: 403.8 kB / 408.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03553/0.5734, allocations: 12.59 MB / 421.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.5736, allocations: 51.48 kB / 421.5 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/0.5749, allocations: 187.8 kB / 421.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005664/0.5805, allocations: 2.144 MB / 423.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2811/0.8617, allocations: 11.12 MB / 435 MB, free: 102.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07693/0.9387, allocations: 47.53 MB / 482.5 MB, free: 58.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02605/0.9648, allocations: 5.331 MB / 487.8 MB, free: 52.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.9661, allocations: 394.7 kB / 488.2 MB, free: 52.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.9662, allocations: 63.8 kB / 488.3 MB, free: 52.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 5.962e-06/0.9662, allocations: 0 / 488.3 MB, free: 52.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.1136/1.08, allocations: 26.52 MB / 0.5027 GB, free: 25.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/1.08, allocations: 158.5 kB / 0.5029 GB, free: 25.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007706/1.088, allocations: 4.196 MB / 0.507 GB, free: 21.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007397/1.088, allocations: 65.7 kB / 0.507 GB, free: 21.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/1.091, allocations: 3.571 MB / 0.5105 GB, free: 17.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.093, allocations: 0.9506 MB / 0.5114 GB, free: 16.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007334/1.093, allocations: 136 kB / 0.5116 GB, free: 16.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000391/1.094, allocations: 0.6072 MB / 0.5122 GB, free: 16.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007259/1.101, allocations: 3.059 MB / 0.5152 GB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009694/1.111, allocations: 7.072 MB / 0.5221 GB, free: 3.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.121, allocations: 4.546 MB / 0.5265 GB, free: 15.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/1.121, allocations: 40 kB / 0.5265 GB, free: 15.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.03237/1.153, allocations: 10.99 MB / 0.5373 GB, free: 4.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.154, allocations: 68.56 kB / 0.5373 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/1.154, allocations: 144 kB / 0.5375 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004997/1.159, allocations: 1.15 MB / 0.5386 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/1.171, allocations: 1.731 MB / 0.5403 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.184, allocations: 6.111 MB / 0.5463 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00785/1.192, allocations: 427.2 kB / 0.5467 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.194, allocations: 434.9 kB / 0.5471 GB, free: 10.12 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.005801/1.199, allocations: 2.392 MB / 0.5494 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.201, allocations: 414.6 kB / 0.5498 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.217, allocations: 5.631 MB / 0.5553 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.431e-05/1.217, allocations: 28.66 kB / 0.5553 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.217, allocations: 0 / 0.5553 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.894e-05/1.217, allocations: 15.95 kB / 0.5554 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/1.251, allocations: 12.23 MB / 0.5673 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.251, allocations: 4 kB / 0.5673 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005324/1.257, allocations: 0.5113 MB / 0.5678 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004634/1.261, allocations: 0.9527 MB / 0.5687 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/1.262, allocations: 55.92 kB / 0.5688 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2696/1.531, allocations: 5.812 MB / 0.5745 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/1.531, allocations: 7.031 kB / 0.5745 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/1.555, allocations: 9.969 MB / 0.5842 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.558, allocations: 0.9175 MB / 0.5851 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.559, allocations: 47.39 kB / 0.5851 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003867/1.563, allocations: 171 kB / 0.5853 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006644/1.563, allocations: 164 kB / 0.5855 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003117/1.564, allocations: 66.48 kB / 0.5855 GB, free: 130.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005944/1.57, allocations: 2.959 MB / 0.5884 GB, free: 129.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.57, allocations: 0 / 0.5884 GB, free: 129.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007221/1.577, allocations: 1.275 MB / 0.5897 GB, free: 129.7 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.0009855/1.578, allocations: 207.2 kB / 0.5899 GB, free: 129.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01648/1.595, allocations: 7.301 MB / 0.597 GB, free: 127.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.595, allocations: 0 / 0.597 GB, free: 127.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00639/1.601, allocations: 2.749 MB / 0.5997 GB, free: 125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.605, allocations: 467.9 kB / 0.6001 GB, free: 124.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/1.633, allocations: 14.04 MB / 0.6138 GB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006488/1.64, allocations: 3.902 MB / 0.6176 GB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.009706/1.649, allocations: 2.325 MB / 0.6199 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/1.652, allocations: 319.3 kB / 0.6202 GB, free: 105.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/1.652, allocations: 3.938 kB / 0.6202 GB, free: 105.6 MB / 410.7 MB Notification: Performance of Templates: time 0.2851/1.937, allocations: 48.1 MB / 0.6672 GB, free: 57.56 MB / 410.7 MB