Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.3 MB / 224.4 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.544e-05, allocations: 7.984 kB / 276.1 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3611, allocations: 48.71 MB / 324.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03795/0.3991, allocations: 23.83 MB / 348.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01852/0.4177, allocations: 5.823 MB / 354.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006666/0.4244, allocations: 115.8 kB / 354.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005214/0.4296, allocations: 1.269 MB / 355.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.4451, allocations: 3.605 MB / 359.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.4475, allocations: 364.7 kB / 359.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0046/0.4522, allocations: 1.375 MB / 361.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004362/0.4566, allocations: 1.907 MB / 363.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.4586, allocations: 0.6935 MB / 363.8 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.4613, allocations: 1.181 MB / 365 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.4638, allocations: 0.6397 MB / 365.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009616/0.4649, allocations: 112 kB / 365.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002353/0.4672, allocations: 1.336 MB / 367.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.4685, allocations: 216 kB / 367.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007806/0.4763, allocations: 4.764 MB / 372.1 MB, free: 240 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4764, allocations: 3.938 kB / 372.1 MB, free: 236 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4764, allocations: 0 / 372.1 MB, free: 236 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002091/0.4766, allocations: 0 / 372.1 MB, free: 236 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.009762/0.4864, allocations: 3.471 MB / 375.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4864, allocations: 8.031 kB / 375.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02353/0.51, allocations: 3.723 MB / 379.3 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006789/0.5168, allocations: 2.143 MB / 381.4 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.5172, allocations: 193.7 kB / 381.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/0.5188, allocations: 259.8 kB / 381.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.5478, allocations: 10.41 MB / 392.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.548, allocations: 35.67 kB / 392.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.5491, allocations: 115.8 kB / 392.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00796/0.5571, allocations: 2.553 MB / 395 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/0.5884, allocations: 9.483 MB / 404.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07537/0.6639, allocations: 32.46 MB / 436.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.6743, allocations: 3.358 MB / 440.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.6763, allocations: 1.31 MB / 441.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.6765, allocations: 51.81 kB / 441.6 MB, free: 8.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 7.063e-06/0.6765, allocations: 0 / 441.6 MB, free: 8.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.04074/0.7172, allocations: 10.32 MB / 452 MB, free: 14.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.7174, allocations: 94.42 kB / 452 MB, free: 14.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006142/0.7236, allocations: 2.448 MB / 454.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003591/0.724, allocations: 49.69 kB / 454.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003382/0.7274, allocations: 2.734 MB / 457.3 MB, free: 8.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.7287, allocations: 0.7171 MB / 458 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/0.7292, allocations: 96.03 kB / 458.1 MB, free: 7.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005169/0.7298, allocations: 0.5176 MB / 458.6 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00487/0.7346, allocations: 1.54 MB / 460.1 MB, free: 5.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008634/0.7433, allocations: 4.408 MB / 464.6 MB, free: 56 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007441/0.7508, allocations: 2.624 MB / 467.2 MB, free: 13.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.751, allocations: 28 kB / 467.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.02148/0.7725, allocations: 5.813 MB / 473 MB, free: 7.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.7727, allocations: 48 kB / 473.1 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002532/0.773, allocations: 100 kB / 473.2 MB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.7737, allocations: 192.8 kB / 473.3 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009201/0.783, allocations: 1.084 MB / 474.4 MB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.7864, allocations: 1.702 MB / 476.1 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006395/0.7928, allocations: 215.9 kB / 476.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/0.794, allocations: 288 kB / 476.6 MB, free: 3.824 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 24 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (602): * Single equations (assignments): 595 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007211/0.8013, allocations: 2 MB / 478.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009015/0.8022, allocations: 248.7 kB / 478.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.295/1.097, allocations: 2.522 MB / 481.4 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-05/1.097, allocations: 24.75 kB / 481.4 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.097, allocations: 3.906 kB / 481.4 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/1.097, allocations: 8.578 kB / 481.4 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/1.12, allocations: 8.15 MB / 489.6 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.12, allocations: 13.09 kB / 489.6 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.122, allocations: 251.7 kB / 489.8 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/1.123, allocations: 58.12 kB / 489.9 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/1.123, allocations: 43.98 kB / 489.9 MB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.125, allocations: 1.523 MB / 491.5 MB, free: 118 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/1.125, allocations: 15.23 kB / 491.5 MB, free: 118 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009994/1.135, allocations: 4.876 MB / 496.3 MB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/1.137, allocations: 0.5013 MB / 496.9 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007807/1.137, allocations: 37.19 kB / 496.9 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.139, allocations: 59.22 kB / 496.9 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.14, allocations: 117 kB / 497.1 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.14, allocations: 69.5 kB / 497.1 MB, free: 115 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004148/1.144, allocations: 1.683 MB / 498.8 MB, free: 114.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.144, allocations: 1.531 kB / 498.8 MB, free: 114.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005466/1.15, allocations: 0.8298 MB / 499.6 MB, free: 114.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009144/1.151, allocations: 191.1 kB / 499.8 MB, free: 114.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00903/1.16, allocations: 3.846 MB / 0.4919 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/1.16, allocations: 3.625 kB / 0.4919 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/1.162, allocations: 1.235 MB / 0.4931 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.165, allocations: 316.7 kB / 0.4934 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.188, allocations: 10.83 MB / 0.504 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006077/1.194, allocations: 3.281 MB / 0.5072 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.195, allocations: 231 kB / 0.5074 GB, free: 104.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/1.195, allocations: 0 / 0.5074 GB, free: 104.6 MB / 410.7 MB Notification: Performance of Templates: time 0.1138/1.309, allocations: 63.88 MB / 0.5698 GB, free: 41.41 MB / 410.7 MB