Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.Q.1.|bodyCylinder2.body.Q.2.|bodyCylinder2.body.Q.3.|bodyCylinder2.body.Q.4.|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.Q.1.|bodyCylinder3.body.Q.2.|bodyCylinder3.body.Q.3.|bodyCylinder3.body.Q.4.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 269 MB / 284.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.038e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.4615/0.5939, allocations: 77.86 MB / 488.8 MB, free: 9.367 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05186/0.6458, allocations: 16.82 MB / 0.4938 GB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02136/0.6673, allocations: 434.9 kB / 0.4942 GB, free: 8.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0152/0.6825, allocations: 4.079 MB / 0.4982 GB, free: 4.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04419/0.7268, allocations: 11.26 MB / 0.5092 GB, free: 8.957 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007449/0.7342, allocations: 1.225 MB / 0.5104 GB, free: 7.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.2352/0.9695, allocations: 93.88 MB / 0.602 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/0.9846, allocations: 7.083 MB / 0.6089 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.9891, allocations: 1.691 MB / 0.6106 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3988/1.388, allocations: 2.474 MB / 0.613 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/1.394, allocations: 1.303 MB / 0.6143 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003043/1.397, allocations: 219.2 kB / 0.6145 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.006634/1.403, allocations: 2.984 MB / 0.6174 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00459/1.408, allocations: 0.4901 MB / 0.6179 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01868/1.427, allocations: 9.778 MB / 0.6274 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.427, allocations: 1.281 kB / 0.6274 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/1.427, allocations: 0 / 0.6274 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005799/1.427, allocations: 0.9062 kB / 0.6274 GB, free: 96.74 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.04502/1.472, allocations: 7.679 MB / 0.6349 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.472, allocations: 9.938 kB / 0.6349 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2514/1.724, allocations: 26.75 MB / 0.6611 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02558/1.749, allocations: 7.398 MB / 0.6683 GB, free: 70.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/1.75, allocations: 388.6 kB / 0.6687 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004651/1.755, allocations: 0.6835 MB / 0.6693 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0564/1.811, allocations: 17.12 MB / 0.6861 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004639/1.812, allocations: 85.73 kB / 0.6861 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003294/1.815, allocations: 243.6 kB / 0.6864 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007533/1.822, allocations: 2.777 MB / 0.6891 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05196/1.874, allocations: 14.66 MB / 0.7034 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1239/1.998, allocations: 67.4 MB / 0.7692 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05477/2.053, allocations: 9.11 MB / 0.7781 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/2.056, allocations: 1.034 MB / 0.7791 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.083e-05/2.056, allocations: 56.56 kB / 0.7792 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=268): time 6.322e-06/2.056, allocations: 0 / 0.7792 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=345): time 0.3042/2.36, allocations: 51.81 MB / 0.8298 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003528/2.363, allocations: 3.262 MB / 0.833 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3754/2.739, allocations: 7.345 MB / 0.8401 GB, free: 233 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/2.74, allocations: 80.88 kB / 0.8402 GB, free: 233 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.005387/2.746, allocations: 4.815 MB / 0.8449 GB, free: 230.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/2.749, allocations: 1.311 MB / 0.8462 GB, free: 229.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/2.751, allocations: 189.5 kB / 0.8464 GB, free: 229.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001086/2.752, allocations: 0.7176 MB / 0.8471 GB, free: 229.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01458/2.766, allocations: 5.014 MB / 0.852 GB, free: 227.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01893/2.785, allocations: 10.24 MB / 0.862 GB, free: 218.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/2.802, allocations: 6.989 MB / 0.8688 GB, free: 216.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000194/2.802, allocations: 54.97 kB / 0.8689 GB, free: 216.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1239) (initialization): time 0.1282/2.93, allocations: 32.36 MB / 0.9005 GB, free: 201.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/2.931, allocations: 87.95 kB / 0.9005 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09047/3.021, allocations: 21.68 MB / 0.9217 GB, free: 179.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08906/3.11, allocations: 16.89 MB / 0.9382 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01499/3.125, allocations: 2.246 MB / 0.9404 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08135/3.207, allocations: 37.03 MB / 0.9766 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0148/3.221, allocations: 0.7874 MB / 0.9773 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002723/3.224, allocations: 0.5936 MB / 0.9779 GB, free: 121.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 833 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1073): * Single equations (assignments): 1056 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01118/3.235, allocations: 3.361 MB / 0.9812 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002475/3.238, allocations: 0.6701 MB / 0.9818 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03834/3.276, allocations: 11.27 MB / 0.9928 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03294/3.309, allocations: 9.945 MB / 1.003 GB, free: 96.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/3.309, allocations: 19.94 kB / 1.003 GB, free: 96.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-05/3.309, allocations: 19.94 kB / 1.003 GB, free: 96.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0758/3.385, allocations: 25.32 MB / 1.027 GB, free: 70.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/3.385, allocations: 4 kB / 1.027 GB, free: 70.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007518/3.393, allocations: 0.7568 MB / 1.028 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02377/3.417, allocations: 4.129 MB / 1.032 GB, free: 65.69 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001329/3.418, allocations: 135.8 kB / 1.032 GB, free: 65.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04704/3.465, allocations: 24.38 MB / 1.056 GB, free: 40.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00237/3.468, allocations: 3.025 MB / 1.059 GB, free: 37.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04648/3.514, allocations: 17.44 MB / 1.076 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00285/3.517, allocations: 0.7423 MB / 1.077 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003675/3.521, allocations: 83.95 kB / 1.077 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00906/3.53, allocations: 363.5 kB / 1.077 GB, free: 18.35 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/3.532, allocations: 289.6 kB / 1.077 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/3.533, allocations: 137.3 kB / 1.078 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.4062/3.939, allocations: 5.303 MB / 1.083 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.052e-06/3.939, allocations: 0 / 1.083 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01582/3.955, allocations: 2.175 MB / 1.085 GB, free: 211.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001953/3.957, allocations: 238.9 kB / 1.085 GB, free: 211.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03422/3.991, allocations: 12.84 MB / 1.098 GB, free: 209.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/3.991, allocations: 3.969 kB / 1.098 GB, free: 209.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/4.006, allocations: 5.568 MB / 1.103 GB, free: 207.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009464/4.015, allocations: 0.9446 MB / 1.104 GB, free: 206.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05684/4.072, allocations: 22.63 MB / 1.126 GB, free: 195.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/4.086, allocations: 5.493 MB / 1.131 GB, free: 194.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004632/4.091, allocations: 0.6221 MB / 1.132 GB, free: 194 MB / 0.5886 GB Notification: Performance of SimCode: time 1.833e-06/4.091, allocations: 0 / 1.132 GB, free: 194 MB / 0.5886 GB Notification: Performance of Templates: time 0.9401/5.031, allocations: 302.5 MB / 1.427 GB, free: 118.2 MB / 0.5886 GB