Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 2.064/2.064, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.611e-05, allocations: 7.984 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3671, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.06175/0.4289, allocations: 37.29 MB / 362.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.4566, allocations: 8.448 MB / 370.6 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01253/0.4692, allocations: 187.6 kB / 370.8 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007569/0.4768, allocations: 1.976 MB / 372.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02252/0.4994, allocations: 5.434 MB / 378.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.5045, allocations: 0.507 MB / 378.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006508/0.5111, allocations: 1.693 MB / 380.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006751/0.5179, allocations: 3.099 MB / 383.5 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5204, allocations: 0.9272 MB / 384.4 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.5236, allocations: 1.43 MB / 385.9 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5266, allocations: 0.8153 MB / 386.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.5278, allocations: 144 kB / 386.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00283/0.5307, allocations: 1.632 MB / 388.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.5323, allocations: 284 kB / 388.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.5426, allocations: 6.183 MB / 394.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5427, allocations: 0 / 394.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.5427, allocations: 0 / 394.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002925/0.543, allocations: 0 / 394.9 MB, free: 9.273 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.01499/0.558, allocations: 4.444 MB / 399.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.5581, allocations: 8.031 kB / 399.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/0.583, allocations: 3.846 MB / 403.2 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008291/0.5913, allocations: 2.619 MB / 405.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.5918, allocations: 258.5 kB / 406.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.5938, allocations: 339.8 kB / 406.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04113/0.635, allocations: 12.74 MB / 419.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/0.6353, allocations: 39.44 kB / 419.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/0.6374, allocations: 155.8 kB / 419.3 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01329/0.6508, allocations: 2.969 MB / 422.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.048/0.6988, allocations: 11.39 MB / 433.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09762/0.7965, allocations: 42.29 MB / 476 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/0.8139, allocations: 4.702 MB / 480.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.304/1.118, allocations: 1.311 MB / 482 MB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.578e-05/1.118, allocations: 55.59 kB / 482.1 MB, free: 126.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 1.082e-05/1.118, allocations: 0 / 482.1 MB, free: 126.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=268): time 0.1174/1.236, allocations: 20.04 MB / 0.4903 GB, free: 119.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.236, allocations: 101.8 kB / 0.4904 GB, free: 119.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006337/1.242, allocations: 2.981 MB / 0.4933 GB, free: 118.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005162/1.243, allocations: 64.81 kB / 0.4934 GB, free: 118.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.245, allocations: 3.276 MB / 0.4966 GB, free: 116.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.247, allocations: 0.9696 MB / 0.4976 GB, free: 115.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005711/1.247, allocations: 123.5 kB / 0.4977 GB, free: 115.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/1.248, allocations: 0.5611 MB / 0.4982 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005842/1.254, allocations: 2.467 MB / 0.5006 GB, free: 114.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008087/1.262, allocations: 5.807 MB / 0.5063 GB, free: 108.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/1.27, allocations: 3.775 MB / 0.51 GB, free: 106.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/1.27, allocations: 32 kB / 0.51 GB, free: 106.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.02601/1.296, allocations: 9.078 MB / 0.5189 GB, free: 97.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.243e-05/1.296, allocations: 56 kB / 0.5189 GB, free: 97.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.297, allocations: 120 kB / 0.519 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005316/1.302, allocations: 1.07 MB / 0.5201 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008519/1.31, allocations: 1.38 MB / 0.5214 GB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.322, allocations: 5.289 MB / 0.5266 GB, free: 89.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00616/1.328, allocations: 333.7 kB / 0.5269 GB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.329, allocations: 350 kB / 0.5273 GB, free: 88.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 737 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006356/1.336, allocations: 2.438 MB / 0.5296 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.337, allocations: 324.7 kB / 0.5299 GB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/1.353, allocations: 5.359 MB / 0.5352 GB, free: 80.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/1.353, allocations: 47.98 kB / 0.5352 GB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.353, allocations: 4 kB / 0.5352 GB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/1.353, allocations: 11.95 kB / 0.5352 GB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08444/1.437, allocations: 13.34 MB / 0.5483 GB, free: 66.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/1.437, allocations: 15.95 kB / 0.5483 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004862/1.442, allocations: 427.3 kB / 0.5487 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006546/1.449, allocations: 0.887 MB / 0.5496 GB, free: 65.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006804/1.45, allocations: 57.39 kB / 0.5496 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.463, allocations: 4.636 MB / 0.5541 GB, free: 60.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/1.463, allocations: 15.94 kB / 0.5542 GB, free: 60.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02921/1.492, allocations: 9.114 MB / 0.5631 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003641/1.496, allocations: 0.7325 MB / 0.5638 GB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001755/1.497, allocations: 53.33 kB / 0.5638 GB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00469/1.502, allocations: 153.3 kB / 0.564 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.503, allocations: 165.5 kB / 0.5641 GB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005026/1.504, allocations: 76 kB / 0.5642 GB, free: 49.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006768/1.511, allocations: 2.06 MB / 0.5662 GB, free: 47.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.673e-06/1.511, allocations: 5.312 kB / 0.5662 GB, free: 47.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01083/1.522, allocations: 1.127 MB / 0.5673 GB, free: 46.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/1.523, allocations: 214.5 kB / 0.5675 GB, free: 46.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01521/1.539, allocations: 6.028 MB / 0.5734 GB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.539, allocations: 0 / 0.5734 GB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00515/1.544, allocations: 2.245 MB / 0.5756 GB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.547, allocations: 402.2 kB / 0.576 GB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/1.578, allocations: 13.8 MB / 0.5895 GB, free: 23.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009862/1.588, allocations: 3.926 MB / 0.5933 GB, free: 19.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01265/1.601, allocations: 2.173 MB / 0.5954 GB, free: 17.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/1.603, allocations: 243.4 kB / 0.5957 GB, free: 17.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.502e-06/1.603, allocations: 0 / 0.5957 GB, free: 17.45 MB / 410.7 MB Notification: Performance of Templates: time 0.4063/2.009, allocations: 35.38 MB / 0.6302 GB, free: 127 MB / 426.7 MB