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.2_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.185e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3806, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.05814/0.4388, allocations: 37.04 MB / 399.9 MB, free: 8.703 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02694/0.4658, allocations: 8.926 MB / 408.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009209/0.4751, allocations: 203.5 kB / 409 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007588/0.4827, allocations: 2.034 MB / 411.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02082/0.5036, allocations: 5.329 MB / 416.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.5079, allocations: 0.6667 MB / 417.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005141/0.513, allocations: 1.657 MB / 418.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007175/0.5203, allocations: 3.487 MB / 422.2 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.5228, allocations: 1.048 MB / 423.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.5258, allocations: 1.336 MB / 424.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.5287, allocations: 0.8933 MB / 425.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.5298, allocations: 132 kB / 425.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.5323, allocations: 1.562 MB / 427.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.5335, allocations: 276 kB / 427.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009148/0.5427, allocations: 5.46 MB / 432.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5428, allocations: 4 kB / 432.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.5428, allocations: 0 / 432.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002858/0.5431, allocations: 0 / 432.9 MB, free: 7.582 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.01746/0.5606, allocations: 4.674 MB / 437.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5606, allocations: 8.031 kB / 437.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/0.5745, allocations: 2.209 MB / 439.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008406/0.583, allocations: 2.719 MB / 442.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.5834, allocations: 241.9 kB / 442.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.5852, allocations: 319.7 kB / 443.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03362/0.6188, allocations: 11.41 MB / 454.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.6191, allocations: 47.53 kB / 454.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/0.6203, allocations: 159.8 kB / 454.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005612/0.6259, allocations: 2.119 MB / 456.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03427/0.6602, allocations: 10.02 MB / 466.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4362/1.097, allocations: 44.32 MB / 0.4991 GB, free: 94.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02708/1.124, allocations: 5.985 MB / 0.505 GB, free: 93.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02088/1.145, allocations: 9.405 MB / 0.5142 GB, free: 88.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01847/1.163, allocations: 3.504 MB / 0.5176 GB, free: 87.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=211): time 2.087e-05/1.163, allocations: 0 / 0.5176 GB, free: 87.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=282): time 0.1999/1.363, allocations: 33.83 MB / 0.5506 GB, free: 55.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/1.363, allocations: 158.5 kB / 0.5508 GB, free: 55.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00783/1.371, allocations: 3.83 MB / 0.5545 GB, free: 51.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008845/1.372, allocations: 73.27 kB / 0.5546 GB, free: 51.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002826/1.375, allocations: 3.133 MB / 0.5577 GB, free: 48.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.377, allocations: 1.031 MB / 0.5587 GB, free: 47.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007764/1.378, allocations: 128.9 kB / 0.5588 GB, free: 47.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003805/1.378, allocations: 0.5876 MB / 0.5594 GB, free: 46.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007744/1.386, allocations: 3.277 MB / 0.5626 GB, free: 43.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/1.396, allocations: 6.823 MB / 0.5692 GB, free: 34.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.407, allocations: 4.662 MB / 0.5738 GB, free: 30.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/1.407, allocations: 36 kB / 0.5738 GB, free: 30.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.03743/1.444, allocations: 12.24 MB / 0.5858 GB, free: 18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.445, allocations: 93.59 kB / 0.5859 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.445, allocations: 124 kB / 0.586 GB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/1.457, allocations: 2.66 MB / 0.5886 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009977/1.467, allocations: 1.458 MB / 0.59 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05406/1.521, allocations: 22.28 MB / 0.6117 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/1.533, allocations: 443.3 kB / 0.6122 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/1.536, allocations: 387.9 kB / 0.6125 GB, free: 6.047 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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.008513/1.544, allocations: 2.181 MB / 0.6147 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.546, allocations: 402.8 kB / 0.6151 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03747/1.583, allocations: 7.812 MB / 0.6227 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/1.584, allocations: 28.55 kB / 0.6227 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.058e-05/1.584, allocations: 8 kB / 0.6227 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/1.584, allocations: 15.95 kB / 0.6227 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05242/1.636, allocations: 14.47 MB / 0.6369 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-05/1.636, allocations: 4.031 kB / 0.6369 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005769/1.642, allocations: 383.4 kB / 0.6372 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01712/1.659, allocations: 2.425 MB / 0.6396 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/1.66, allocations: 51.52 kB / 0.6396 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07059/1.731, allocations: 22.13 MB / 0.6613 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/1.731, allocations: 7.938 kB / 0.6613 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0275/1.759, allocations: 8.182 MB / 0.6693 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003917/1.762, allocations: 0.9799 MB / 0.6702 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/1.764, allocations: 51.98 kB / 0.6703 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/1.769, allocations: 211.7 kB / 0.6705 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/1.77, allocations: 188.3 kB / 0.6706 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004671/1.771, allocations: 72 kB / 0.6707 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007192/1.778, allocations: 2.704 MB / 0.6734 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.21e-07/1.778, allocations: 0 / 0.6734 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008989/1.787, allocations: 1.372 MB / 0.6747 GB, free: 5.543 MB / 0.4948 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 (185): * Single equations (assignments): 176 * 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,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.002373/1.79, allocations: 449.1 kB / 0.6751 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.353/2.143, allocations: 8.741 MB / 0.6837 GB, free: 183.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.143, allocations: 0 / 0.6837 GB, free: 183.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01049/2.153, allocations: 3.927 MB / 0.6875 GB, free: 183.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/2.157, allocations: 437.5 kB / 0.6879 GB, free: 183.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/2.188, allocations: 14.04 MB / 0.7016 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006945/2.195, allocations: 3.668 MB / 0.7052 GB, free: 175 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002628/2.198, allocations: 311.8 kB / 0.7055 GB, free: 175 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/2.198, allocations: 3.625 kB / 0.7055 GB, free: 175 MB / 0.4948 GB Notification: Performance of Templates: time 0.3202/2.518, allocations: 142.2 MB / 0.8444 GB, free: 36.29 MB / 0.4948 GB