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.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 1.936/1.936, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.914e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4079, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.08266/0.4907, allocations: 52.2 MB / 377 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03663/0.5274, allocations: 11.34 MB / 388.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01316/0.5406, allocations: 279.4 kB / 388.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.551, allocations: 2.737 MB / 391.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02874/0.5798, allocations: 7.394 MB / 398.8 MB, free: 5.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.5845, allocations: 0.6163 MB / 399.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005869/0.5905, allocations: 1.813 MB / 401.2 MB, free: 3.016 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.6024, allocations: 5.437 MB / 406.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.6051, allocations: 0.9506 MB / 407.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.6085, allocations: 1.469 MB / 409.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.6115, allocations: 0.7958 MB / 409.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.6128, allocations: 132 kB / 410 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.6159, allocations: 1.757 MB / 411.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.6176, allocations: 324 kB / 412.1 MB, free: 8.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.6287, allocations: 6.667 MB / 418.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6287, allocations: 0 / 418.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6288, allocations: 4 kB / 418.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000325/0.6291, allocations: 4 kB / 418.7 MB, free: 1.41 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.0309/0.66, allocations: 5.923 MB / 424.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.6601, allocations: 8.031 kB / 424.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.6755, allocations: 2.341 MB / 427 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009498/0.6851, allocations: 2.922 MB / 429.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004899/0.6856, allocations: 307.8 kB / 430.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/0.6882, allocations: 403.7 kB / 430.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04063/0.7289, allocations: 12.61 MB / 443.2 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/0.7292, allocations: 51.5 kB / 443.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002001/0.7312, allocations: 187.8 kB / 443.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006317/0.7376, allocations: 2.144 MB / 445.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03923/0.7768, allocations: 11.22 MB / 456.8 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3836/1.161, allocations: 47.01 MB / 0.492 GB, free: 98.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02934/1.19, allocations: 5.489 MB / 0.4974 GB, free: 97.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/1.192, allocations: 0.7138 MB / 0.4981 GB, free: 96.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/1.192, allocations: 55.8 kB / 0.4981 GB, free: 96.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.172e-06/1.192, allocations: 3.75 kB / 0.4982 GB, free: 96.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1273/1.319, allocations: 27.1 MB / 0.5246 GB, free: 84.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/1.319, allocations: 150.5 kB / 0.5248 GB, free: 84.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009059/1.329, allocations: 4.131 MB / 0.5288 GB, free: 80.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000835/1.329, allocations: 61.7 kB / 0.5289 GB, free: 80.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002757/1.332, allocations: 3.422 MB / 0.5322 GB, free: 76.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.334, allocations: 0.9599 MB / 0.5331 GB, free: 76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008797/1.335, allocations: 139.9 kB / 0.5333 GB, free: 75.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004787/1.335, allocations: 0.5999 MB / 0.5339 GB, free: 75.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007815/1.343, allocations: 3.047 MB / 0.5368 GB, free: 72.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.354, allocations: 6.949 MB / 0.5436 GB, free: 63.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.365, allocations: 4.505 MB / 0.548 GB, free: 58.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.365, allocations: 40 kB / 0.548 GB, free: 58.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.03048/1.395, allocations: 10.73 MB / 0.5585 GB, free: 48.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.395, allocations: 64 kB / 0.5586 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.396, allocations: 136 kB / 0.5587 GB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004973/1.401, allocations: 1.141 MB / 0.5598 GB, free: 46.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/1.412, allocations: 1.708 MB / 0.5615 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.425, allocations: 6.13 MB / 0.5675 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/1.433, allocations: 420.2 kB / 0.5679 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/1.435, allocations: 420.6 kB / 0.5683 GB, free: 38.07 MB / 410.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.006565/1.441, allocations: 2.381 MB / 0.5706 GB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.442, allocations: 414.6 kB / 0.571 GB, free: 35.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/1.461, allocations: 5.713 MB / 0.5766 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.688e-05/1.461, allocations: 28.55 kB / 0.5766 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/1.461, allocations: 4 kB / 0.5766 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-05/1.461, allocations: 11.95 kB / 0.5766 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03517/1.497, allocations: 12.39 MB / 0.5887 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.091e-05/1.497, allocations: 4 kB / 0.5887 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005456/1.502, allocations: 0.523 MB / 0.5892 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004552/1.507, allocations: 0.9449 MB / 0.5902 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007919/1.508, allocations: 51.98 kB / 0.5902 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.519, allocations: 5.825 MB / 0.5959 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.519, allocations: 7.938 kB / 0.5959 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02553/1.545, allocations: 10.11 MB / 0.6058 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00407/1.549, allocations: 0.9251 MB / 0.6067 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/1.551, allocations: 40 kB / 0.6067 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004999/1.556, allocations: 193.3 kB / 0.6069 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/1.557, allocations: 157.7 kB / 0.6071 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004436/1.558, allocations: 71.98 kB / 0.6071 GB, free: 13.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008262/1.566, allocations: 2.909 MB / 0.61 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.312e-06/1.566, allocations: 3.938 kB / 0.61 GB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009215/1.575, allocations: 1.276 MB / 0.6112 GB, free: 9.586 MB / 426.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.001443/1.577, allocations: 195.3 kB / 0.6114 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02139/1.598, allocations: 7.306 MB / 0.6185 GB, free: 2.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.598, allocations: 0 / 0.6185 GB, free: 2.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008678/1.607, allocations: 2.791 MB / 0.6213 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004651/1.612, allocations: 452 kB / 0.6217 GB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03916/1.651, allocations: 14.64 MB / 0.636 GB, free: 140 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3513/2.002, allocations: 3.903 MB / 0.6398 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/2.006, allocations: 366.1 kB / 0.6402 GB, free: 142.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.954e-06/2.006, allocations: 1.375 kB / 0.6402 GB, free: 142.5 MB / 442.7 MB Notification: Performance of Templates: time 0.1997/2.205, allocations: 91.62 MB / 0.7296 GB, free: 74 MB / 442.7 MB