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_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.144e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 48.7 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.08259/0.441, allocations: 52.2 MB / 377.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03953/0.4805, allocations: 11.33 MB / 388.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01346/0.4941, allocations: 275.4 kB / 388.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.5049, allocations: 2.737 MB / 391.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0294/0.5344, allocations: 7.398 MB / 398.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.5392, allocations: 0.624 MB / 399.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.5451, allocations: 1.798 MB / 401.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.5566, allocations: 5.443 MB / 406.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.559, allocations: 0.9506 MB / 407.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.5622, allocations: 1.461 MB / 409.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.565, allocations: 0.7919 MB / 409.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.566, allocations: 136 kB / 410 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.5687, allocations: 1.761 MB / 411.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.5701, allocations: 324 kB / 412.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.5807, allocations: 6.671 MB / 418.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5807, allocations: 0 / 418.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5808, allocations: 0 / 418.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002986/0.5811, allocations: 4 kB / 418.8 MB, free: 1.324 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.03209/0.6132, allocations: 5.927 MB / 424.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.6133, allocations: 12.03 kB / 424.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/0.6351, allocations: 2.329 MB / 427 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.6473, allocations: 2.933 MB / 430 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005706/0.6479, allocations: 299.8 kB / 430.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002729/0.6506, allocations: 415.7 kB / 430.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04854/0.6992, allocations: 12.6 MB / 443.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/0.6995, allocations: 55.48 kB / 443.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/0.7009, allocations: 191.8 kB / 443.5 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006117/0.707, allocations: 2.144 MB / 445.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03943/0.7465, allocations: 11.2 MB / 456.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3816/1.128, allocations: 47.03 MB / 0.4921 GB, free: 99.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0298/1.158, allocations: 5.474 MB / 0.4974 GB, free: 97.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001994/1.16, allocations: 0.7144 MB / 0.4981 GB, free: 97.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/1.16, allocations: 58.72 kB / 0.4982 GB, free: 97.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.702e-06/1.16, allocations: 0 / 0.4982 GB, free: 97.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.127/1.287, allocations: 27.1 MB / 0.5246 GB, free: 84.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/1.287, allocations: 157.9 kB / 0.5248 GB, free: 84.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008531/1.296, allocations: 4.129 MB / 0.5288 GB, free: 80.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007874/1.297, allocations: 61.7 kB / 0.5289 GB, free: 80.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.299, allocations: 3.534 MB / 0.5323 GB, free: 76.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.301, allocations: 0.9473 MB / 0.5333 GB, free: 75.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000904/1.302, allocations: 136.7 kB / 0.5334 GB, free: 75.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005059/1.303, allocations: 0.599 MB / 0.534 GB, free: 75.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008022/1.311, allocations: 3.051 MB / 0.537 GB, free: 72.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/1.321, allocations: 6.954 MB / 0.5437 GB, free: 63.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.332, allocations: 4.502 MB / 0.5481 GB, free: 58.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.853e-05/1.332, allocations: 40 kB / 0.5482 GB, free: 58.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.02968/1.361, allocations: 10.87 MB / 0.5588 GB, free: 47.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/1.362, allocations: 64 kB / 0.5589 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/1.362, allocations: 136.9 kB / 0.559 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004921/1.367, allocations: 1.152 MB / 0.5601 GB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/1.378, allocations: 1.708 MB / 0.5618 GB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.391, allocations: 6.114 MB / 0.5678 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/1.402, allocations: 415.6 kB / 0.5682 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/1.404, allocations: 429.4 kB / 0.5686 GB, free: 37.75 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.008395/1.413, allocations: 2.373 MB / 0.5709 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.415, allocations: 414.6 kB / 0.5713 GB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/1.441, allocations: 5.709 MB / 0.5768 GB, free: 29.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.749e-05/1.441, allocations: 32.83 kB / 0.5769 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-05/1.441, allocations: 4 kB / 0.5769 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.821e-05/1.441, allocations: 11.95 kB / 0.5769 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04259/1.484, allocations: 12.4 MB / 0.589 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/1.484, allocations: 4 kB / 0.589 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005449/1.489, allocations: 0.5229 MB / 0.5895 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004438/1.494, allocations: 0.9476 MB / 0.5904 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006126/1.494, allocations: 48.77 kB / 0.5905 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.506, allocations: 5.831 MB / 0.5962 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.506, allocations: 4.656 kB / 0.5962 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02421/1.53, allocations: 10.11 MB / 0.6061 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003609/1.533, allocations: 0.9212 MB / 0.607 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.535, allocations: 44.86 kB / 0.607 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/1.539, allocations: 187.7 kB / 0.6072 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008389/1.54, allocations: 158.8 kB / 0.6073 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003688/1.541, allocations: 71.98 kB / 0.6074 GB, free: 13.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007177/1.548, allocations: 2.913 MB / 0.6102 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.975e-06/1.548, allocations: 0 / 0.6102 GB, free: 10.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008068/1.556, allocations: 1.28 MB / 0.6115 GB, free: 9.273 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.001172/1.557, allocations: 202.7 kB / 0.6117 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02014/1.577, allocations: 7.291 MB / 0.6188 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.577, allocations: 4 kB / 0.6188 GB, free: 1.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008436/1.586, allocations: 2.787 MB / 0.6215 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.59, allocations: 458.6 kB / 0.622 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.626, allocations: 14.1 MB / 0.6357 GB, free: 384 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2885/1.914, allocations: 3.892 MB / 0.6395 GB, free: 142.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01164/1.926, allocations: 2.302 MB / 0.6418 GB, free: 142.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/1.929, allocations: 318.1 kB / 0.6421 GB, free: 142.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.929, allocations: 0 / 0.6421 GB, free: 142.6 MB / 442.7 MB Notification: Performance of Templates: time 0.1316/2.06, allocations: 48.17 MB / 0.6891 GB, free: 114.5 MB / 442.7 MB