Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.131e-05, allocations: 7.984 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3892/0.519, allocations: 40.95 MB / 451.9 MB, free: 5.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02847/0.5475, allocations: 9.252 MB / 461.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01195/0.5595, allocations: 213.9 kB / 461.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008869/0.5684, allocations: 2.099 MB / 463.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02568/0.5942, allocations: 5.907 MB / 469.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.5982, allocations: 492.8 kB / 469.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.6033, allocations: 1.469 MB / 471.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008181/0.6115, allocations: 3.991 MB / 475.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.6135, allocations: 0.7558 MB / 476 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.6161, allocations: 1.169 MB / 477.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.6189, allocations: 0.7295 MB / 477.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009176/0.6199, allocations: 108 kB / 478 MB, free: 4.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.6224, allocations: 1.418 MB / 479.5 MB, free: 2.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.6238, allocations: 248 kB / 479.7 MB, free: 2.723 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009127/0.6329, allocations: 5.253 MB / 485 MB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.633, allocations: 0 / 485 MB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.633, allocations: 4 kB / 485 MB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002446/0.6333, allocations: 0 / 485 MB, free: 13.45 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02763/0.6609, allocations: 4.239 MB / 489.2 MB, free: 9.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.661, allocations: 8.031 kB / 489.2 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/0.675, allocations: 2.194 MB / 491.4 MB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006929/0.682, allocations: 2.315 MB / 493.7 MB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.6823, allocations: 233.8 kB / 493.9 MB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.6838, allocations: 303.8 kB / 494.2 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/0.7161, allocations: 10.28 MB / 0.4927 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001763/0.7164, allocations: 43.53 kB / 0.4927 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008143/0.7172, allocations: 151.9 kB / 0.4929 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006215/0.7234, allocations: 1.86 MB / 0.4947 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03218/0.7557, allocations: 9.252 MB / 0.5037 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07068/0.8264, allocations: 37.67 MB / 0.5405 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02564/0.8521, allocations: 3.755 MB / 0.5442 GB, free: 3.129 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.8538, allocations: 0.6746 MB / 0.5448 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.8539, allocations: 51.12 kB / 0.5449 GB, free: 2.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 5.28e-06/0.8539, allocations: 0 / 0.5449 GB, free: 2.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=136): time 0.07819/0.9321, allocations: 13.25 MB / 0.5578 GB, free: 4.863 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.9322, allocations: 149.1 kB / 0.558 GB, free: 4.688 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008838/0.9411, allocations: 3.66 MB / 0.5616 GB, free: 1.047 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004003/0.9415, allocations: 45.7 kB / 0.5616 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003307/0.9449, allocations: 2.93 MB / 0.5645 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.9459, allocations: 0.5441 MB / 0.565 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/0.9465, allocations: 112 kB / 0.5651 GB, free: 13.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004896/0.947, allocations: 0.5383 MB / 0.5656 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005295/0.9523, allocations: 1.92 MB / 0.5675 GB, free: 10.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008732/0.9611, allocations: 5.473 MB / 0.5728 GB, free: 3.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/0.9693, allocations: 3.172 MB / 0.5759 GB, free: 444 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.9695, allocations: 36 kB / 0.576 GB, free: 408 kB / 490.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02433/0.9939, allocations: 7.775 MB / 0.5836 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.994, allocations: 60 kB / 0.5836 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/0.9943, allocations: 132 kB / 0.5838 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/0.9988, allocations: 0.9144 MB / 0.5846 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008119/1.007, allocations: 1.29 MB / 0.5859 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.019, allocations: 4.968 MB / 0.5908 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.025, allocations: 303.7 kB / 0.591 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.026, allocations: 360 kB / 0.5914 GB, free: 476 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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.groundColor[3],world.groundColor[2],world.groundColor[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 (680): * Single equations (assignments): 676 * 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.00526/1.031, allocations: 1.959 MB / 0.5933 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009237/1.032, allocations: 327.7 kB / 0.5936 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00961/1.041, allocations: 2.794 MB / 0.5963 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/1.042, allocations: 16 kB / 0.5964 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.042, allocations: 7.953 kB / 0.5964 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/1.042, allocations: 11.97 kB / 0.5964 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/1.064, allocations: 7.27 MB / 0.6035 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/1.064, allocations: 4.031 kB / 0.6035 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/1.067, allocations: 255.7 kB / 0.6037 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.071, allocations: 0.7225 MB / 0.6044 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003423/1.071, allocations: 31.97 kB / 0.6045 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.364/1.435, allocations: 4.512 MB / 0.6089 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.436, allocations: 2.406 kB / 0.6089 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.451, allocations: 5.294 MB / 0.614 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.452, allocations: 399 kB / 0.6144 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.453, allocations: 24.3 kB / 0.6144 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.456, allocations: 87.5 kB / 0.6145 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006498/1.457, allocations: 88.72 kB / 0.6146 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.457, allocations: 49.09 kB / 0.6147 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007525/1.465, allocations: 2.567 MB / 0.6172 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.082e-06/1.465, allocations: 0 / 0.6172 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006686/1.472, allocations: 0.9191 MB / 0.6181 GB, free: 160 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009295/1.473, allocations: 182.4 kB / 0.6182 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.485, allocations: 4.579 MB / 0.6227 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.485, allocations: 0.9688 kB / 0.6227 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/1.488, allocations: 1.367 MB / 0.624 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.492, allocations: 386.9 kB / 0.6244 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.517, allocations: 10.41 MB / 0.6346 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006001/1.523, allocations: 3.201 MB / 0.6377 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.524, allocations: 290.9 kB / 0.638 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/1.524, allocations: 0 / 0.638 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1247/1.649, allocations: 68.89 MB / 0.7053 GB, free: 90.13 MB / 0.5105 GB