Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.934e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.488, allocations: 106.9 MB / 489.1 MB, free: 1.547 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4883, allocations: 79.95 kB / 489.2 MB, free: 1.469 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7004/1.189, allocations: 115 MB / 0.5901 GB, free: 85.36 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.224e-06/1.189, allocations: 0 / 0.5901 GB, free: 85.36 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003225/1.189, allocations: 108 kB / 0.5902 GB, free: 85.25 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01661/1.206, allocations: 5.468 MB / 0.5955 GB, free: 79.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.206, allocations: 8.031 kB / 0.5955 GB, free: 79.71 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03493/1.241, allocations: 6.954 MB / 0.6023 GB, free: 72.73 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/1.26, allocations: 6.887 MB / 0.609 GB, free: 65.76 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004776/1.261, allocations: 414.9 kB / 0.6094 GB, free: 65.36 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/1.263, allocations: 0.5466 MB / 0.61 GB, free: 64.81 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/1.294, allocations: 13.21 MB / 0.6229 GB, free: 50.34 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002949/1.294, allocations: 79.23 kB / 0.6229 GB, free: 50.26 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/1.296, allocations: 263.9 kB / 0.6232 GB, free: 50 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/1.298, allocations: 1.262 MB / 0.6244 GB, free: 48.74 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/1.323, allocations: 10.28 MB / 0.6345 GB, free: 38.45 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0773/1.4, allocations: 59.77 MB / 0.6928 GB, free: 8.859 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.416, allocations: 4.574 MB / 0.6973 GB, free: 4.125 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/1.42, allocations: 2.219 MB / 0.6995 GB, free: 1.895 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/1.436, allocations: 6.505 MB / 0.7058 GB, free: 11.29 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/1.437, allocations: 55.72 kB / 0.7059 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=183): time 6.117e-06/1.437, allocations: 0 / 0.7059 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of matching and sorting (n=195): time 0.3562/1.793, allocations: 14.56 MB / 0.7201 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.793, allocations: 232.6 kB / 0.7203 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01783/1.811, allocations: 5.172 MB / 0.7253 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004545/1.811, allocations: 52.73 kB / 0.7254 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004165/1.816, allocations: 4.138 MB / 0.7294 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008961/1.816, allocations: 0.7732 MB / 0.7302 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/1.817, allocations: 142.4 kB / 0.7303 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004294/1.817, allocations: 0.6119 MB / 0.7309 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/1.822, allocations: 2.246 MB / 0.7331 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006636/1.829, allocations: 6.711 MB / 0.7397 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006912/1.836, allocations: 3.879 MB / 0.7435 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.836, allocations: 47.47 kB / 0.7435 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.02048/1.856, allocations: 8.718 MB / 0.752 GB, free: 116 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.856, allocations: 72.69 kB / 0.7521 GB, free: 116 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/1.857, allocations: 160.4 kB / 0.7522 GB, free: 116 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/1.858, allocations: 0.611 MB / 0.7528 GB, free: 115.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007074/1.865, allocations: 1.644 MB / 0.7544 GB, free: 115.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007336/1.873, allocations: 5.733 MB / 0.76 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007297/1.88, allocations: 388.9 kB / 0.7604 GB, free: 111.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.881, allocations: 446 kB / 0.7608 GB, free: 111.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 880 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001406/1.883, allocations: 0.6716 MB / 0.7615 GB, free: 111 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.884, allocations: 489.9 kB / 0.762 GB, free: 110.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/1.891, allocations: 3.02 MB / 0.7649 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/1.891, allocations: 19.78 kB / 0.7649 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.891, allocations: 8.688 kB / 0.7649 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.891, allocations: 6.984 kB / 0.7649 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/1.911, allocations: 8.454 MB / 0.7732 GB, free: 106.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.911, allocations: 6.375 kB / 0.7732 GB, free: 106.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.913, allocations: 326.3 kB / 0.7735 GB, free: 106.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.914, allocations: 362.5 kB / 0.7739 GB, free: 106.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/1.915, allocations: 38.45 kB / 0.7739 GB, free: 106.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006841/1.922, allocations: 5.063 MB / 0.7788 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.548e-06/1.922, allocations: 3.375 kB / 0.7789 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.932, allocations: 6.092 MB / 0.7848 GB, free: 99.46 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.935, allocations: 0.7995 MB / 0.7856 GB, free: 98.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.936, allocations: 35.53 kB / 0.7856 GB, free: 98.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/1.939, allocations: 91.81 kB / 0.7857 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/1.94, allocations: 120 kB / 0.7858 GB, free: 98.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.94, allocations: 58.84 kB / 0.7859 GB, free: 98.89 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00847/1.948, allocations: 3.685 MB / 0.7895 GB, free: 95.96 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.15e-06/1.948, allocations: 0 / 0.7895 GB, free: 95.96 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008482/1.957, allocations: 1.223 MB / 0.7907 GB, free: 94.75 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006339/1.958, allocations: 181.9 kB / 0.7908 GB, free: 94.57 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.968, allocations: 5.4 MB / 0.7961 GB, free: 89.66 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.979e-06/1.968, allocations: 2.078 kB / 0.7961 GB, free: 89.66 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.971, allocations: 1.659 MB / 0.7977 GB, free: 88.13 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.975, allocations: 0.5986 MB / 0.7983 GB, free: 87.62 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.996, allocations: 9.602 MB / 0.8077 GB, free: 79.03 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008087/2.004, allocations: 4.251 MB / 0.8118 GB, free: 75.88 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0123/2.016, allocations: 2.327 MB / 0.8141 GB, free: 74.39 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/2.019, allocations: 317.7 kB / 0.8144 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of SimCode: time 3.074e-06/2.019, allocations: 0 / 0.8144 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of Templates: time 0.1562/2.175, allocations: 42.58 MB / 0.856 GB, free: 37.8 MB / 0.4949 GB