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.94/1.94, allocations: 209.2 MB / 224.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.104e-05, allocations: 4 kB / 276.1 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3632, allocations: 48.7 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.05744/0.4207, allocations: 36.98 MB / 361.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.4494, allocations: 8.94 MB / 370.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.461, allocations: 203.5 kB / 371 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01877/0.4799, allocations: 2.034 MB / 373 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0497/0.5296, allocations: 5.325 MB / 378.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.5338, allocations: 0.6785 MB / 379 MB, free: 9.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005131/0.539, allocations: 1.642 MB / 380.6 MB, free: 7.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00722/0.5463, allocations: 3.479 MB / 384.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.5488, allocations: 1.044 MB / 385.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.5515, allocations: 1.321 MB / 386.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.5544, allocations: 0.9011 MB / 387.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009229/0.5553, allocations: 132 kB / 387.5 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.5578, allocations: 1.558 MB / 389.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.5591, allocations: 272 kB / 389.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009372/0.5685, allocations: 5.452 MB / 394.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5685, allocations: 0 / 394.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5685, allocations: 0 / 394.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.5688, allocations: 0 / 394.8 MB, free: 9.457 MB / 330.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.01673/0.5855, allocations: 4.637 MB / 399.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5856, allocations: 8.031 kB / 399.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.599, allocations: 2.201 MB / 401.6 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008467/0.6075, allocations: 2.715 MB / 404.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.6079, allocations: 237.8 kB / 404.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.6095, allocations: 311.8 kB / 404.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0322/0.6417, allocations: 11.39 MB / 416.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/0.642, allocations: 55.52 kB / 416.3 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009589/0.643, allocations: 151.8 kB / 416.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007045/0.65, allocations: 2.127 MB / 418.6 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04544/0.6955, allocations: 10.02 MB / 428.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08834/0.7839, allocations: 44.27 MB / 472.9 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/0.8085, allocations: 5.948 MB / 478.8 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2888/1.097, allocations: 9.296 MB / 488.1 MB, free: 126 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01987/1.117, allocations: 3.489 MB / 491.6 MB, free: 125.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 1.121e-05/1.117, allocations: 0 / 491.6 MB, free: 125.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.2096/1.327, allocations: 34.31 MB / 0.5136 GB, free: 105.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/1.327, allocations: 162.5 kB / 0.5138 GB, free: 105.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007839/1.335, allocations: 3.817 MB / 0.5175 GB, free: 101.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009618/1.336, allocations: 70.95 kB / 0.5176 GB, free: 101.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00307/1.339, allocations: 3.125 MB / 0.5206 GB, free: 98.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001822/1.341, allocations: 1.037 MB / 0.5216 GB, free: 97.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008845/1.342, allocations: 132 kB / 0.5218 GB, free: 96.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004183/1.342, allocations: 0.5915 MB / 0.5223 GB, free: 96.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008001/1.35, allocations: 3.339 MB / 0.5256 GB, free: 92.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.361, allocations: 6.89 MB / 0.5323 GB, free: 84.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.372, allocations: 4.738 MB / 0.537 GB, free: 79.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.372, allocations: 40 kB / 0.537 GB, free: 79.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03835/1.41, allocations: 12.38 MB / 0.5491 GB, free: 67.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.41, allocations: 89.7 kB / 0.5492 GB, free: 67.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/1.411, allocations: 124 kB / 0.5493 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/1.423, allocations: 2.672 MB / 0.5519 GB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009695/1.433, allocations: 1.458 MB / 0.5533 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04436/1.477, allocations: 22.28 MB / 0.5751 GB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007818/1.485, allocations: 435.2 kB / 0.5755 GB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.487, allocations: 391.9 kB / 0.5759 GB, free: 39.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * 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 (755): * Single equations (assignments): 747 * 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.005621/1.492, allocations: 2.183 MB / 0.578 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.493, allocations: 398.8 kB / 0.5784 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02439/1.518, allocations: 7.986 MB / 0.5862 GB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/1.518, allocations: 32 kB / 0.5862 GB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/1.518, allocations: 12 kB / 0.5862 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.005e-05/1.518, allocations: 15.94 kB / 0.5862 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0432/1.561, allocations: 14.71 MB / 0.6006 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.529e-05/1.561, allocations: 8.188 kB / 0.6006 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004162/1.566, allocations: 383.4 kB / 0.601 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01134/1.577, allocations: 2.426 MB / 0.6033 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008897/1.578, allocations: 47.98 kB / 0.6034 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4028/1.981, allocations: 22.13 MB / 0.625 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.981, allocations: 6.594 kB / 0.625 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/2.008, allocations: 8.322 MB / 0.6331 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003919/2.012, allocations: 1.005 MB / 0.6341 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/2.014, allocations: 46.39 kB / 0.6342 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005138/2.019, allocations: 219.9 kB / 0.6344 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/2.021, allocations: 187.7 kB / 0.6345 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005151/2.021, allocations: 73.3 kB / 0.6346 GB, free: 123.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007756/2.029, allocations: 2.687 MB / 0.6372 GB, free: 122.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.029, allocations: 1.406 kB / 0.6372 GB, free: 122.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00968/2.039, allocations: 1.383 MB / 0.6386 GB, free: 122.6 MB / 426.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 (186): * Single equations (assignments): 178 * 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,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.002249/2.041, allocations: 413 kB / 0.639 GB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02383/2.065, allocations: 8.904 MB / 0.6477 GB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.065, allocations: 0 / 0.6477 GB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01116/2.076, allocations: 4.016 MB / 0.6516 GB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/2.081, allocations: 427.9 kB / 0.652 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/2.114, allocations: 14.21 MB / 0.6659 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007538/2.122, allocations: 3.666 MB / 0.6695 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/2.125, allocations: 321.2 kB / 0.6698 GB, free: 107.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.502e-06/2.125, allocations: 0 / 0.6698 GB, free: 107.3 MB / 426.7 MB Notification: Performance of Templates: time 0.535/2.66, allocations: 142.6 MB / 0.8091 GB, free: 131.4 MB / 442.7 MB