Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.982e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4856, allocations: 54.86 MB / 362.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.09874/0.5844, allocations: 52.23 MB / 415.1 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0339/0.6184, allocations: 11.37 MB / 426.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01231/0.6307, allocations: 279.4 kB / 426.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009682/0.6405, allocations: 2.741 MB / 429.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02823/0.6688, allocations: 7.394 MB / 436.9 MB, free: 3.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.6735, allocations: 0.6084 MB / 437.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005846/0.6794, allocations: 1.798 MB / 439.3 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.6912, allocations: 5.422 MB / 444.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.6939, allocations: 0.9507 MB / 445.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.6975, allocations: 1.465 MB / 447.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.7005, allocations: 0.7958 MB / 447.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.7018, allocations: 136 kB / 448 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.7049, allocations: 1.757 MB / 449.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.7066, allocations: 320 kB / 450.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.7208, allocations: 6.675 MB / 456.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7209, allocations: 4 kB / 456.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.7209, allocations: 0 / 456.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000321/0.7213, allocations: 0 / 456.8 MB, free: 15.63 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.04232/0.7636, allocations: 5.927 MB / 462.7 MB, free: 9.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.7637, allocations: 8.031 kB / 462.7 MB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/0.785, allocations: 2.329 MB / 465 MB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.7975, allocations: 2.921 MB / 468 MB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006212/0.7982, allocations: 303.9 kB / 468.3 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003024/0.8012, allocations: 423.6 kB / 468.7 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05484/0.8561, allocations: 12.61 MB / 481.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003162/0.8565, allocations: 51.53 kB / 481.3 MB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/0.8587, allocations: 187.8 kB / 481.5 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008579/0.8673, allocations: 2.14 MB / 483.7 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05624/0.9236, allocations: 11.21 MB / 494.9 MB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4504/1.374, allocations: 47.04 MB / 0.5292 GB, free: 87.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02817/1.402, allocations: 5.486 MB / 0.5346 GB, free: 84.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/1.404, allocations: 0.7061 MB / 0.5353 GB, free: 83.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/1.404, allocations: 55.48 kB / 0.5353 GB, free: 83.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 7.394e-06/1.404, allocations: 0 / 0.5353 GB, free: 83.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.1274/1.532, allocations: 27.08 MB / 0.5618 GB, free: 56.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.532, allocations: 158.5 kB / 0.5619 GB, free: 56.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008937/1.541, allocations: 4.115 MB / 0.5659 GB, free: 51.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008483/1.542, allocations: 65.7 kB / 0.566 GB, free: 51.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002872/1.545, allocations: 3.428 MB / 0.5693 GB, free: 48.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.547, allocations: 0.9588 MB / 0.5703 GB, free: 47.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/1.548, allocations: 136 kB / 0.5704 GB, free: 47.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006124/1.548, allocations: 0.5999 MB / 0.571 GB, free: 46.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008278/1.556, allocations: 3.051 MB / 0.574 GB, free: 43.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/1.567, allocations: 6.943 MB / 0.5808 GB, free: 34.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.579, allocations: 4.506 MB / 0.5852 GB, free: 30.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.579, allocations: 40 kB / 0.5852 GB, free: 30.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.03093/1.61, allocations: 10.72 MB / 0.5957 GB, free: 19.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.61, allocations: 64 kB / 0.5957 GB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.61, allocations: 136 kB / 0.5958 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004912/1.615, allocations: 1.149 MB / 0.597 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01156/1.627, allocations: 1.712 MB / 0.5986 GB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/1.639, allocations: 6.112 MB / 0.6046 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007973/1.647, allocations: 423.5 kB / 0.605 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.648, allocations: 423.9 kB / 0.6054 GB, free: 9.438 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (850): * Single equations (assignments): 846 * 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.006049/1.655, allocations: 2.372 MB / 0.6077 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.656, allocations: 410.6 kB / 0.6081 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.673, allocations: 5.72 MB / 0.6137 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/1.673, allocations: 28 kB / 0.6137 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.673, allocations: 0 / 0.6137 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/1.673, allocations: 16.61 kB / 0.6138 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0396/1.713, allocations: 12.39 MB / 0.6259 GB, free: 4.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/1.713, allocations: 4.375 kB / 0.6259 GB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005816/1.719, allocations: 0.5304 MB / 0.6264 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004996/1.724, allocations: 0.9449 MB / 0.6273 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008084/1.725, allocations: 52 kB / 0.6273 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.738, allocations: 5.828 MB / 0.633 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.739, allocations: 7.938 kB / 0.633 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02882/1.767, allocations: 10.12 MB / 0.6429 GB, free: 2.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00368/1.771, allocations: 0.9212 MB / 0.6438 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.773, allocations: 40 kB / 0.6439 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004507/1.777, allocations: 187.7 kB / 0.644 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009739/1.778, allocations: 161.6 kB / 0.6442 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003605/1.779, allocations: 67.98 kB / 0.6443 GB, free: 1.145 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007774/1.786, allocations: 2.905 MB / 0.6471 GB, free: 14.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.786, allocations: 0 / 0.6471 GB, free: 14.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008596/1.795, allocations: 1.268 MB / 0.6483 GB, free: 12.97 MB / 474.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,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 226 * 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.001164/1.796, allocations: 209.2 kB / 0.6485 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02113/1.817, allocations: 7.301 MB / 0.6557 GB, free: 5.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/1.817, allocations: 0 / 0.6557 GB, free: 5.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008675/1.826, allocations: 2.783 MB / 0.6584 GB, free: 2.688 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/1.831, allocations: 475.1 kB / 0.6588 GB, free: 2.227 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03976/1.87, allocations: 14.62 MB / 0.6731 GB, free: 3.527 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3263/2.197, allocations: 3.896 MB / 0.6769 GB, free: 165.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003519/2.2, allocations: 363.9 kB / 0.6773 GB, free: 165.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/2.2, allocations: 0.625 kB / 0.6773 GB, free: 165.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1732/2.374, allocations: 91.65 MB / 0.7668 GB, free: 91.11 MB / 490.7 MB