Running command: translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.nextTimeEvent|rh1.1.|rh1.2.|rh1.3.|rv1.1.|rv1.2.|rv1.3.|rv2.1.|rv2.2.|rv2.3.|rh2.1.|rh2.2.|rh2.3.|r1.frame_b.r_0.1.|r1.frame_b.r_0.2.|r1.frame_b.r_0.3.|r1.frame_b.f.1.|r1.frame_b.f.2.|r1.frame_b.f.3.|r1.frame_b.t.1.|r1.frame_b.t.2.|r1.frame_b.t.3.|rod1.frame_b.r_0.1.|rod1.frame_b.r_0.2.|rod1.frame_b.r_0.3.|rod1.frame_b.f.1.|rod1.frame_b.f.2.|rod1.frame_b.f.3.|rod1.frame_b.t.1.|rod1.frame_b.t.2.|rod1.frame_b.t.3.|rod2.frame_b.r_0.1.|rod2.frame_b.r_0.2.|rod2.frame_b.r_0.3.|rod2.frame_b.f.1.|rod2.frame_b.f.2.|rod2.frame_b.f.3.|rod2.frame_b.t.1.|rod2.frame_b.t.2.|rod2.frame_b.t.3.|r2.frame_b.r_0.1.|r2.frame_b.r_0.2.|r2.frame_b.r_0.3.|r2.frame_b.f.1.|r2.frame_b.f.2.|r2.frame_b.f.3.|r2.frame_b.t.1.|r2.frame_b.t.2.|r2.frame_b.t.3.|bodyShape.frame_b.r_0.1.|bodyShape.frame_b.r_0.2.|bodyShape.frame_b.r_0.3.|bodyShape.frame_b.f.1.|bodyShape.frame_b.f.2.|bodyShape.frame_b.f.3.|bodyShape.frame_b.t.1.|bodyShape.frame_b.t.2.|bodyShape.frame_b.t.3.|bodyShape.frameTranslation.frame_b.r_0.1.|bodyShape.frameTranslation.frame_b.r_0.2.|bodyShape.frameTranslation.frame_b.r_0.3.|bodyShape.frameTranslation.frame_b.f.1.|bodyShape.frameTranslation.frame_b.f.2.|bodyShape.frameTranslation.frame_b.f.3.|bodyShape.frameTranslation.frame_b.t.1.|bodyShape.frameTranslation.frame_b.t.2.|bodyShape.frameTranslation.frame_b.t.3.|r3.frame_b.r_0.1.|r3.frame_b.r_0.2.|r3.frame_b.r_0.3.|r3.frame_b.f.1.|r3.frame_b.f.2.|r3.frame_b.f.3.|r3.frame_b.t.1.|r3.frame_b.t.2.|r3.frame_b.t.3.|r4.frame_b.r_0.1.|r4.frame_b.r_0.2.|r4.frame_b.r_0.3.|r4.frame_b.f.1.|r4.frame_b.f.2.|r4.frame_b.f.3.|r4.frame_b.t.1.|r4.frame_b.t.2.|r4.frame_b.t.3.|rod3.frame_b.r_0.1.|rod3.frame_b.r_0.2.|rod3.frame_b.r_0.3.|rod3.frame_b.f.1.|rod3.frame_b.f.2.|rod3.frame_b.f.3.|rod3.frame_b.t.1.|rod3.frame_b.t.2.|rod3.frame_b.t.3.|deg2rad1.y.1.|deg2rad1.y.2.|deg2rad1.y.3.|combiTimeTable.y.1.|combiTimeTable.y.2.|combiTimeTable.y.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.232e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.08985, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.4997, allocations: 92.82 MB / 414.6 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4999, allocations: 71.66 kB / 414.6 MB, free: 2.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3875/0.8875, allocations: 92.37 MB / 0.4951 GB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.886e-06/0.8875, allocations: 0 / 0.4951 GB, free: 13.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002782/0.8878, allocations: 88 kB / 0.4952 GB, free: 13.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01656/0.9044, allocations: 4.714 MB / 0.4998 GB, free: 8.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9045, allocations: 12.03 kB / 0.4998 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.9178, allocations: 2.236 MB / 0.502 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/0.9353, allocations: 5.046 MB / 0.5069 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005266/0.9359, allocations: 328.5 kB / 0.5072 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/0.938, allocations: 431.8 kB / 0.5077 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03221/0.9703, allocations: 11.42 MB / 0.5188 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/0.9706, allocations: 59.47 kB / 0.5189 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001722/0.9723, allocations: 211.9 kB / 0.5191 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/0.9748, allocations: 1.151 MB / 0.5202 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2698/1.245, allocations: 9.694 MB / 0.5297 GB, free: 86.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06566/1.31, allocations: 50.71 MB / 0.5792 GB, free: 58.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/1.329, allocations: 5.815 MB / 0.5849 GB, free: 56.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/1.334, allocations: 3.119 MB / 0.5879 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01675/1.35, allocations: 9.201 MB / 0.5969 GB, free: 49.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01518/1.366, allocations: 3.366 MB / 0.6002 GB, free: 49.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 7.293e-06/1.366, allocations: 3.688 kB / 0.6002 GB, free: 49.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.1193/1.485, allocations: 27.06 MB / 0.6266 GB, free: 40.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/1.485, allocations: 163.8 kB / 0.6268 GB, free: 40.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007111/1.492, allocations: 3.655 MB / 0.6303 GB, free: 36.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006351/1.493, allocations: 73.59 kB / 0.6304 GB, free: 36.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.496, allocations: 3.142 MB / 0.6335 GB, free: 33.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.497, allocations: 1.042 MB / 0.6345 GB, free: 33.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007546/1.498, allocations: 132 kB / 0.6346 GB, free: 32.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004272/1.498, allocations: 0.585 MB / 0.6352 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006091/1.504, allocations: 3.244 MB / 0.6384 GB, free: 29.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008151/1.513, allocations: 6.789 MB / 0.645 GB, free: 21.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008252/1.521, allocations: 4.69 MB / 0.6496 GB, free: 17.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.514e-05/1.521, allocations: 36 kB / 0.6496 GB, free: 17.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02824/1.549, allocations: 11.89 MB / 0.6612 GB, free: 7.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.549, allocations: 87.72 kB / 0.6613 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.55, allocations: 128.8 kB / 0.6614 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009146/1.559, allocations: 2.681 MB / 0.664 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006943/1.566, allocations: 1.476 MB / 0.6655 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2911/1.857, allocations: 21.52 MB / 0.6865 GB, free: 91.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007432/1.864, allocations: 428.1 kB / 0.6869 GB, free: 91.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/1.866, allocations: 396.6 kB / 0.6873 GB, free: 91.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002248/1.869, allocations: 0.5915 MB / 0.6879 GB, free: 91.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.87, allocations: 403.9 kB / 0.6882 GB, free: 91.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/1.891, allocations: 7.845 MB / 0.6959 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.064e-05/1.891, allocations: 31.17 kB / 0.6959 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.992e-05/1.891, allocations: 9.344 kB / 0.6959 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/1.891, allocations: 14.44 kB / 0.696 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03674/1.928, allocations: 14.52 MB / 0.7101 GB, free: 90.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/1.928, allocations: 3.781 kB / 0.7101 GB, free: 90.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/1.931, allocations: 400 kB / 0.7105 GB, free: 90.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009092/1.94, allocations: 2.445 MB / 0.7129 GB, free: 90.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007465/1.941, allocations: 44.94 kB / 0.713 GB, free: 90.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03472/1.975, allocations: 21.33 MB / 0.7338 GB, free: 81.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.677e-06/1.975, allocations: 2.438 kB / 0.7338 GB, free: 81.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.994, allocations: 8.189 MB / 0.7418 GB, free: 78.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/1.998, allocations: 0.9917 MB / 0.7428 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.999, allocations: 45.27 kB / 0.7428 GB, free: 78.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/2.002, allocations: 207.9 kB / 0.743 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/2.004, allocations: 191.4 kB / 0.7432 GB, free: 78.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004676/2.004, allocations: 81.02 kB / 0.7433 GB, free: 78.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005862/2.01, allocations: 2.55 MB / 0.7457 GB, free: 77.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.01, allocations: 0 / 0.7457 GB, free: 77.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008196/2.018, allocations: 1.376 MB / 0.7471 GB, free: 77.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/2.02, allocations: 422.2 kB / 0.7475 GB, free: 77.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01705/2.037, allocations: 8.472 MB / 0.7558 GB, free: 74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/2.037, allocations: 0 / 0.7558 GB, free: 74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007961/2.045, allocations: 3.876 MB / 0.7596 GB, free: 72.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/2.048, allocations: 434.5 kB / 0.76 GB, free: 72.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/2.073, allocations: 10.57 MB / 0.7703 GB, free: 66.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007136/2.08, allocations: 3.676 MB / 0.7739 GB, free: 63.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/2.082, allocations: 319 kB / 0.7742 GB, free: 63.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.946e-06/2.082, allocations: 0 / 0.7742 GB, free: 63.32 MB / 442.7 MB Notification: Performance of Templates: time 0.4439/2.526, allocations: 141 MB / 0.9119 GB, free: 90.21 MB / 458.7 MB