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.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.671e-05/4.614e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4078, allocations: 54.86 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.06716/0.4751, allocations: 37.3 MB / 400.2 MB, free: 8.383 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03671/0.5118, allocations: 8.491 MB / 408.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01169/0.5236, allocations: 187.6 kB / 408.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009297/0.533, allocations: 1.979 MB / 410.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02425/0.5573, allocations: 5.423 MB / 416.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.5607, allocations: 0.4914 MB / 416.7 MB, free: 7.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005337/0.5661, allocations: 1.707 MB / 418.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007011/0.5732, allocations: 3.094 MB / 421.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.5754, allocations: 0.9312 MB / 422.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.5785, allocations: 1.438 MB / 423.9 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.5814, allocations: 0.8075 MB / 424.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.5825, allocations: 140 kB / 424.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002634/0.5852, allocations: 1.628 MB / 426.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.5866, allocations: 288 kB / 426.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0096/0.5963, allocations: 6.19 MB / 433 MB, free: 7.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5963, allocations: 3.938 kB / 433 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5963, allocations: 0 / 433 MB, free: 7.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002644/0.5966, allocations: 0 / 433 MB, free: 7.488 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.01495/0.6116, allocations: 4.444 MB / 437.4 MB, free: 2.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.6116, allocations: 11.97 kB / 437.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02414/0.6358, allocations: 3.846 MB / 441.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008358/0.6442, allocations: 2.611 MB / 443.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004228/0.6447, allocations: 262.5 kB / 444.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/0.6468, allocations: 339.7 kB / 444.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03503/0.6818, allocations: 12.74 MB / 457.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.6821, allocations: 31.66 kB / 457.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/0.6834, allocations: 171.8 kB / 457.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008905/0.6923, allocations: 2.958 MB / 460.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04183/0.7342, allocations: 11.4 MB / 471.8 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4389/1.173, allocations: 42.29 MB / 0.502 GB, free: 95.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/1.194, allocations: 4.703 MB / 0.5066 GB, free: 93.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.195, allocations: 1.316 MB / 0.5079 GB, free: 92.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/1.195, allocations: 61.83 kB / 0.5079 GB, free: 92.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 6.893e-06/1.195, allocations: 3.719 kB / 0.5079 GB, free: 92.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.08434/1.28, allocations: 20.03 MB / 0.5275 GB, free: 84.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/1.28, allocations: 101.8 kB / 0.5276 GB, free: 84.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009474/1.289, allocations: 2.984 MB / 0.5305 GB, free: 81.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007238/1.29, allocations: 62.88 kB / 0.5306 GB, free: 81.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004492/1.295, allocations: 3.275 MB / 0.5338 GB, free: 78.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002588/1.297, allocations: 0.9767 MB / 0.5347 GB, free: 77.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.299, allocations: 116.9 kB / 0.5348 GB, free: 77.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007802/1.3, allocations: 0.5739 MB / 0.5354 GB, free: 76.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00606/1.306, allocations: 2.456 MB / 0.5378 GB, free: 74.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008989/1.315, allocations: 5.816 MB / 0.5435 GB, free: 66.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.326, allocations: 3.765 MB / 0.5472 GB, free: 63.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.326, allocations: 36 kB / 0.5472 GB, free: 63.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.03394/1.36, allocations: 9.08 MB / 0.5561 GB, free: 53.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.361, allocations: 57.41 kB / 0.5561 GB, free: 53.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/1.361, allocations: 116 kB / 0.5562 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00705/1.368, allocations: 1.074 MB / 0.5573 GB, free: 52.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/1.379, allocations: 1.38 MB / 0.5586 GB, free: 51.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.394, allocations: 5.281 MB / 0.5638 GB, free: 45.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/1.4, allocations: 329.5 kB / 0.5641 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.401, allocations: 348 kB / 0.5644 GB, free: 45.21 MB / 426.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.006063/1.407, allocations: 2.445 MB / 0.5668 GB, free: 42.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007662/1.408, allocations: 323.9 kB / 0.5671 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/1.424, allocations: 5.355 MB / 0.5723 GB, free: 37.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/1.424, allocations: 53.16 kB / 0.5724 GB, free: 36.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/1.424, allocations: 8 kB / 0.5724 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-05/1.424, allocations: 11.95 kB / 0.5724 GB, free: 36.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03343/1.458, allocations: 13.34 MB / 0.5854 GB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.826e-05/1.458, allocations: 15.98 kB / 0.5855 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003902/1.462, allocations: 424.7 kB / 0.5859 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/1.467, allocations: 0.8943 MB / 0.5867 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005757/1.468, allocations: 49.25 kB / 0.5868 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009048/1.477, allocations: 4.635 MB / 0.5913 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/1.477, allocations: 15.94 kB / 0.5913 GB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.496, allocations: 9.115 MB / 0.6002 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.498, allocations: 0.739 MB / 0.6009 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.5, allocations: 53.39 kB / 0.601 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.503, allocations: 160.1 kB / 0.6012 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007718/1.504, allocations: 165.5 kB / 0.6013 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000368/1.504, allocations: 76.92 kB / 0.6014 GB, free: 6.398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004618/1.509, allocations: 2.056 MB / 0.6034 GB, free: 4.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.509, allocations: 4 kB / 0.6034 GB, free: 4.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006847/1.516, allocations: 1.132 MB / 0.6045 GB, free: 3.219 MB / 426.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.001265/1.517, allocations: 205.4 kB / 0.6047 GB, free: 3.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/1.533, allocations: 6.02 MB / 0.6106 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/1.533, allocations: 4 kB / 0.6106 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005908/1.539, allocations: 2.248 MB / 0.6128 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.542, allocations: 391.5 kB / 0.6131 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/1.576, allocations: 13.82 MB / 0.6266 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008878/1.585, allocations: 3.93 MB / 0.6305 GB, free: 8.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01021/1.596, allocations: 2.176 MB / 0.6326 GB, free: 6.223 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/1.598, allocations: 247.4 kB / 0.6328 GB, free: 5.98 MB / 458.7 MB Notification: Performance of SimCode: time 3.056e-06/1.598, allocations: 0 / 0.6328 GB, free: 5.98 MB / 458.7 MB Notification: Performance of Templates: time 0.1195/1.717, allocations: 35.38 MB / 0.6674 GB, free: 2.73 MB / 490.7 MB