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_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.158/2.158, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.79e-05, allocations: 4 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3951, allocations: 54.86 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.5514, allocations: 101.9 MB / 461.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5517, allocations: 80.73 kB / 461.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5839/1.136, allocations: 83.97 MB / 0.5329 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.348e-06/1.136, allocations: 3.844 kB / 0.5329 GB, free: 102.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002386/1.136, allocations: 81.53 kB / 0.533 GB, free: 102.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01873/1.155, allocations: 4.484 MB / 0.5374 GB, free: 100.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.155, allocations: 13.23 kB / 0.5374 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/1.168, allocations: 2.218 MB / 0.5396 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/1.182, allocations: 4.517 MB / 0.544 GB, free: 99.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/1.182, allocations: 322.5 kB / 0.5443 GB, free: 99.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/1.184, allocations: 423.5 kB / 0.5447 GB, free: 99.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/1.211, allocations: 10.62 MB / 0.5551 GB, free: 96.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002016/1.211, allocations: 54.91 kB / 0.5551 GB, free: 96.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.212, allocations: 209.7 kB / 0.5553 GB, free: 96.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001669/1.214, allocations: 1.011 MB / 0.5563 GB, free: 96.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/1.235, allocations: 8.724 MB / 0.5648 GB, free: 95.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05647/1.292, allocations: 47.41 MB / 0.6111 GB, free: 60.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/1.305, allocations: 3.554 MB / 0.6146 GB, free: 58.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/1.308, allocations: 1.796 MB / 0.6163 GB, free: 58.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008999/1.317, allocations: 4.747 MB / 0.621 GB, free: 55.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.317, allocations: 58.09 kB / 0.621 GB, free: 55.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.514e-06/1.317, allocations: 0 / 0.621 GB, free: 55.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.03031/1.348, allocations: 9.879 MB / 0.6307 GB, free: 48.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/1.348, allocations: 141.3 kB / 0.6308 GB, free: 48.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006721/1.355, allocations: 3.593 MB / 0.6343 GB, free: 44.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003013/1.355, allocations: 45.7 kB / 0.6344 GB, free: 44.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.357, allocations: 3.064 MB / 0.6374 GB, free: 41.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/1.358, allocations: 0.5953 MB / 0.6379 GB, free: 41.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/1.358, allocations: 112 kB / 0.638 GB, free: 41.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000338/1.358, allocations: 0.5575 MB / 0.6386 GB, free: 40.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/1.362, allocations: 1.886 MB / 0.6404 GB, free: 39.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/1.368, allocations: 5.53 MB / 0.6458 GB, free: 32.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005758/1.374, allocations: 3.207 MB / 0.649 GB, free: 29.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.374, allocations: 36 kB / 0.649 GB, free: 29.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01741/1.391, allocations: 7.426 MB / 0.6562 GB, free: 22.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.391, allocations: 65 kB / 0.6563 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/1.391, allocations: 128 kB / 0.6564 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.394, allocations: 0.9133 MB / 0.6573 GB, free: 22.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/1.4, allocations: 1.353 MB / 0.6586 GB, free: 20.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007108/1.407, allocations: 4.772 MB / 0.6633 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005848/1.413, allocations: 319.7 kB / 0.6636 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.414, allocations: 368 kB / 0.664 GB, free: 15.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (711): * Single equations (assignments): 707 * 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.001141/1.416, allocations: 0.5493 MB / 0.6645 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/1.416, allocations: 343.2 kB / 0.6648 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006389/1.423, allocations: 2.827 MB / 0.6676 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-05/1.423, allocations: 16 kB / 0.6676 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.423, allocations: 7.938 kB / 0.6676 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/1.423, allocations: 7.984 kB / 0.6676 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.44, allocations: 7.089 MB / 0.6745 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/1.44, allocations: 4 kB / 0.6745 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.441, allocations: 243.6 kB / 0.6748 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.444, allocations: 0.7035 MB / 0.6755 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002875/1.444, allocations: 28 kB / 0.6755 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/1.451, allocations: 4.342 MB / 0.6797 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.451, allocations: 7.969 kB / 0.6797 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.463, allocations: 5.128 MB / 0.6847 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.465, allocations: 0.6096 MB / 0.6853 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009772/1.466, allocations: 27.98 kB / 0.6854 GB, free: 9.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00241/1.469, allocations: 95.88 kB / 0.6855 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/1.469, allocations: 88.66 kB / 0.6855 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.469, allocations: 39.98 kB / 0.6856 GB, free: 8.887 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006672/1.476, allocations: 2.5 MB / 0.688 GB, free: 6.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.971e-06/1.476, allocations: 4 kB / 0.688 GB, free: 6.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007088/1.483, allocations: 0.9493 MB / 0.689 GB, free: 5.414 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (117): * Single equations (assignments): 113 * 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.0006401/1.484, allocations: 151.5 kB / 0.6891 GB, free: 5.258 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.494, allocations: 4.416 MB / 0.6934 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.494, allocations: 4 kB / 0.6934 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.497, allocations: 1.348 MB / 0.6947 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.5, allocations: 395 kB / 0.6951 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.521, allocations: 7.632 MB / 0.7026 GB, free: 7.457 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007558/1.528, allocations: 3.311 MB / 0.7058 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.53, allocations: 283.4 kB / 0.7061 GB, free: 3.859 MB / 490.7 MB Notification: Performance of SimCode: time 2.14e-06/1.53, allocations: 0 / 0.7061 GB, free: 3.859 MB / 490.7 MB Notification: Performance of Templates: time 0.3791/1.909, allocations: 70.27 MB / 0.7747 GB, free: 102.7 MB / 490.7 MB