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.3_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.163e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3541, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5177, allocations: 106.2 MB / 488.4 MB, free: 2.301 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.518, allocations: 71.97 kB / 488.5 MB, free: 2.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6531/1.171, allocations: 94.08 MB / 0.5689 GB, free: 106.6 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.317e-06/1.171, allocations: 0 / 0.5689 GB, free: 106.6 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002315/1.171, allocations: 91.94 kB / 0.569 GB, free: 106.5 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01341/1.185, allocations: 4.715 MB / 0.5736 GB, free: 101.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.185, allocations: 8.031 kB / 0.5736 GB, free: 101.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/1.197, allocations: 2.236 MB / 0.5758 GB, free: 99.46 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.212, allocations: 5.084 MB / 0.5807 GB, free: 94.39 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/1.212, allocations: 330.4 kB / 0.5811 GB, free: 94.09 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/1.214, allocations: 435.4 kB / 0.5815 GB, free: 93.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/1.241, allocations: 11.46 MB / 0.5927 GB, free: 81.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/1.241, allocations: 55.47 kB / 0.5927 GB, free: 81.24 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/1.242, allocations: 215.1 kB / 0.5929 GB, free: 81.06 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/1.244, allocations: 1.153 MB / 0.594 GB, free: 79.91 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/1.267, allocations: 9.718 MB / 0.6035 GB, free: 70.18 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/1.326, allocations: 50.85 MB / 0.6532 GB, free: 18.03 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.343, allocations: 5.862 MB / 0.6589 GB, free: 12.02 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004615/1.347, allocations: 3.143 MB / 0.662 GB, free: 8.863 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01486/1.362, allocations: 9.298 MB / 0.6711 GB, free: 15.22 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01498/1.377, allocations: 3.377 MB / 0.6744 GB, free: 11.82 MB / 474.8 MB Notification: Performance of pre-optimization done (n=211): time 6.765e-06/1.377, allocations: 0 / 0.6744 GB, free: 11.82 MB / 474.8 MB Notification: Performance of matching and sorting (n=285): time 0.1229/1.5, allocations: 27.23 MB / 0.7009 GB, free: 0.5664 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.5, allocations: 166.5 kB / 0.7011 GB, free: 380 kB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007907/1.508, allocations: 3.693 MB / 0.7047 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006293/1.509, allocations: 65.7 kB / 0.7048 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00411/1.513, allocations: 3.278 MB / 0.708 GB, free: 9.254 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.515, allocations: 1.045 MB / 0.709 GB, free: 8.195 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007038/1.516, allocations: 132 kB / 0.7091 GB, free: 8.066 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005961/1.516, allocations: 0.5792 MB / 0.7097 GB, free: 7.48 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006948/1.523, allocations: 3.243 MB / 0.7129 GB, free: 4.234 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.312/1.835, allocations: 6.814 MB / 0.7195 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.846, allocations: 4.662 MB / 0.7241 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002855/1.846, allocations: 40.41 kB / 0.7241 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03157/1.878, allocations: 12.01 MB / 0.7358 GB, free: 134 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/1.878, allocations: 56.78 kB / 0.7359 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/1.878, allocations: 127.9 kB / 0.736 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.888, allocations: 2.67 MB / 0.7386 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007307/1.896, allocations: 1.486 MB / 0.7401 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03597/1.932, allocations: 21.54 MB / 0.7611 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00718/1.939, allocations: 435.1 kB / 0.7615 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/1.941, allocations: 397 kB / 0.7619 GB, free: 122.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[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],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[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.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 (767): * Single equations (assignments): 760 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002139/1.943, allocations: 0.5925 MB / 0.7625 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/1.944, allocations: 405.7 kB / 0.7629 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.962, allocations: 7.855 MB / 0.7705 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.128e-05/1.962, allocations: 31.5 kB / 0.7706 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/1.962, allocations: 11.89 kB / 0.7706 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/1.962, allocations: 21.33 kB / 0.7706 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.996, allocations: 14.62 MB / 0.7849 GB, free: 109.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/1.997, allocations: 0 / 0.7849 GB, free: 109.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/1.999, allocations: 402.3 kB / 0.7853 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008034/2.007, allocations: 2.441 MB / 0.7876 GB, free: 107 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006305/2.008, allocations: 48 kB / 0.7877 GB, free: 107 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/2.039, allocations: 21.36 MB / 0.8085 GB, free: 87.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.676e-06/2.04, allocations: 0 / 0.8085 GB, free: 87.77 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/2.057, allocations: 8.227 MB / 0.8166 GB, free: 79.87 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/2.06, allocations: 1.004 MB / 0.8176 GB, free: 78.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/2.061, allocations: 44 kB / 0.8176 GB, free: 78.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/2.064, allocations: 206.7 kB / 0.8178 GB, free: 78.61 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009793/2.065, allocations: 193.7 kB / 0.818 GB, free: 78.42 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005057/2.065, allocations: 80.77 kB / 0.8181 GB, free: 78.35 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005589/2.071, allocations: 2.582 MB / 0.8206 GB, free: 75.75 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.55e-07/2.071, allocations: 0 / 0.8206 GB, free: 75.75 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007897/2.079, allocations: 1.369 MB / 0.8219 GB, free: 74.4 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/2.081, allocations: 490.8 kB / 0.8224 GB, free: 74.04 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01569/2.097, allocations: 8.4 MB / 0.8306 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.333e-06/2.097, allocations: 4 kB / 0.8306 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007391/2.104, allocations: 3.882 MB / 0.8344 GB, free: 61.69 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/2.107, allocations: 437.5 kB / 0.8348 GB, free: 61.27 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/2.129, allocations: 10.11 MB / 0.8447 GB, free: 51.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005853/2.135, allocations: 3.689 MB / 0.8483 GB, free: 47.41 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007421/2.142, allocations: 2.152 MB / 0.8504 GB, free: 45.26 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/2.144, allocations: 275.4 kB / 0.8506 GB, free: 44.99 MB / 0.4949 GB Notification: Performance of SimCode: time 2.869e-06/2.144, allocations: 1.641 kB / 0.8506 GB, free: 44.99 MB / 0.4949 GB Notification: Performance of Templates: time 0.4334/2.577, allocations: 59.38 MB / 0.9086 GB, free: 147.2 MB / 0.5105 GB