Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 223.8 MB, free: 432 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.181e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3519, allocations: 48.7 MB / 324.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03231/0.3842, allocations: 20.53 MB / 345.4 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.4023, allocations: 5.388 MB / 350.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005605/0.4079, allocations: 104.7 kB / 350.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.4123, allocations: 1.037 MB / 351.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.4267, allocations: 3.041 MB / 355 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.4298, allocations: 430 kB / 355.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.4331, allocations: 0.738 MB / 356.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005299/0.4384, allocations: 1.791 MB / 357.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.4396, allocations: 351.4 kB / 358.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.441, allocations: 0.5182 MB / 358.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.4425, allocations: 422.2 kB / 359.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003782/0.4429, allocations: 52.25 kB / 359.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.444, allocations: 0.5309 MB / 359.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.4446, allocations: 107.1 kB / 359.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.4488, allocations: 1.863 MB / 361.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4488, allocations: 0 / 361.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4489, allocations: 3.938 kB / 361.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.406e-05/0.449, allocations: 0 / 361.8 MB, free: 10.51 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006072/0.4551, allocations: 1.566 MB / 363.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.4551, allocations: 8.031 kB / 363.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.4577, allocations: 277.6 kB / 363.6 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/0.4622, allocations: 1.266 MB / 364.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.4624, allocations: 90.33 kB / 365 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.4628, allocations: 119.9 kB / 365.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.4748, allocations: 2.911 MB / 368 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.475, allocations: 11.94 kB / 368 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/0.4753, allocations: 67.84 kB / 368.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.4767, allocations: 417.9 kB / 368.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.4881, allocations: 2.108 MB / 370.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02207/0.5102, allocations: 10.47 MB / 381 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006428/0.5167, allocations: 1.107 MB / 382.2 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005593/0.5223, allocations: 2.645 MB / 384.8 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.5224, allocations: 38.56 kB / 384.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/0.5224, allocations: 0 / 384.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.01962/0.542, allocations: 3.563 MB / 388.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.5421, allocations: 85.53 kB / 388.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.5444, allocations: 1.144 MB / 389.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.5445, allocations: 37.7 kB / 389.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.5454, allocations: 0.916 MB / 390.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.5457, allocations: 201.4 kB / 390.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.5458, allocations: 28 kB / 390.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.546, allocations: 369.9 kB / 391.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.547, allocations: 379.8 kB / 391.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.5487, allocations: 1.193 MB / 392.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.5503, allocations: 0.6418 MB / 393.4 MB, free: 9.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.5503, allocations: 8 kB / 393.4 MB, free: 9.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003995/0.5543, allocations: 1.635 MB / 395 MB, free: 7.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.5544, allocations: 19.59 kB / 395 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.5544, allocations: 36 kB / 395.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003066/0.5547, allocations: 88.83 kB / 395.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.5567, allocations: 335.4 kB / 395.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.5589, allocations: 1.725 MB / 397.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5602, allocations: 63.97 kB / 397.3 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.5604, allocations: 84 kB / 397.4 MB, free: 5.375 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (180): * Single equations (assignments): 179 * Array equations: 0 * 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.001275/0.5617, allocations: 0.6127 MB / 398 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.5619, allocations: 114.6 kB / 398.1 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.5638, allocations: 0.6682 MB / 398.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.5639, allocations: 8 kB / 398.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5639, allocations: 4 kB / 398.8 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5639, allocations: 0 / 398.8 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.5691, allocations: 2.135 MB / 400.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.5691, allocations: 4.125 kB / 400.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.5698, allocations: 83.84 kB / 401 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.5701, allocations: 68.8 kB / 401 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.5702, allocations: 16.39 kB / 401.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.5727, allocations: 1.768 MB / 402.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5727, allocations: 8.219 kB / 402.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.5765, allocations: 1.194 MB / 404 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/0.5772, allocations: 223.6 kB / 404.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.5774, allocations: 12 kB / 404.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.578, allocations: 23.98 kB / 404.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.5782, allocations: 55.83 kB / 404.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.5782, allocations: 20 kB / 404.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.5799, allocations: 0.8335 MB / 405.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.58, allocations: 0 / 405.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001797/0.5818, allocations: 304 kB / 405.5 MB, free: 12.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003987/0.5822, allocations: 143.2 kB / 405.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.5848, allocations: 1.019 MB / 406.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5848, allocations: 4 kB / 406.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008563/0.5857, allocations: 382.4 kB / 407 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.587, allocations: 170.2 kB / 407.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006632/0.5936, allocations: 3.249 MB / 410.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.5955, allocations: 1.465 MB / 411.9 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001849/0.5973, allocations: 397.3 kB / 412.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.5976, allocations: 71.44 kB / 412.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5976, allocations: 0 / 412.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of Templates: time 0.0334/0.631, allocations: 9.95 MB / 422.3 MB, free: 11.89 MB / 362.7 MB