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_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.618e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3786, allocations: 48.7 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03394/0.4126, allocations: 20.53 MB / 345.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.4308, allocations: 5.389 MB / 350.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006133/0.437, allocations: 107.9 kB / 350.9 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004954/0.442, allocations: 1.032 MB / 351.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.4564, allocations: 3.038 MB / 354.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.4592, allocations: 437.9 kB / 355.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.4621, allocations: 0.7384 MB / 356.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004199/0.4663, allocations: 1.787 MB / 357.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.4676, allocations: 359.1 kB / 358.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.469, allocations: 0.5188 MB / 358.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.4707, allocations: 414.8 kB / 359.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.4712, allocations: 52.09 kB / 359.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009336/0.4721, allocations: 0.5353 MB / 359.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.4727, allocations: 104.7 kB / 359.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.4764, allocations: 1.866 MB / 361.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4765, allocations: 0 / 361.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4765, allocations: 0 / 361.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.4766, allocations: 0 / 361.7 MB, free: 10.61 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.005166/0.4818, allocations: 1.574 MB / 363.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4819, allocations: 8.031 kB / 363.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.4841, allocations: 273.6 kB / 363.6 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.4878, allocations: 1.269 MB / 364.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.488, allocations: 86.34 kB / 364.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003934/0.4884, allocations: 119.9 kB / 365 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4985, allocations: 2.907 MB / 368 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.242e-05/0.4986, allocations: 11.94 kB / 368 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.4989, allocations: 59.92 kB / 368 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001134/0.5, allocations: 409.9 kB / 368.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009157/0.5092, allocations: 2.108 MB / 370.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.5318, allocations: 10.49 MB / 381 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006845/0.5387, allocations: 1.099 MB / 382.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006205/0.545, allocations: 2.657 MB / 384.8 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.487e-05/0.5451, allocations: 38.56 kB / 384.8 MB, free: 2.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 4.288e-06/0.5451, allocations: 3.938 kB / 384.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.02043/0.5656, allocations: 3.544 MB / 388.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.5657, allocations: 89.55 kB / 388.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.5682, allocations: 1.148 MB / 389.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.5684, allocations: 33.7 kB / 389.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000988/0.5694, allocations: 0.9341 MB / 390.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.5698, allocations: 193.4 kB / 390.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.5699, allocations: 28 kB / 390.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.5701, allocations: 374.8 kB / 391.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.5712, allocations: 383.8 kB / 391.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.5731, allocations: 1.197 MB / 392.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.5749, allocations: 0.6341 MB / 393.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.575, allocations: 12 kB / 393.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004359/0.5793, allocations: 1.577 MB / 394.9 MB, free: 7.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.5794, allocations: 20 kB / 395 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/0.5795, allocations: 31.98 kB / 395 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.5798, allocations: 96.89 kB / 395.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.582, allocations: 335.3 kB / 395.4 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.5843, allocations: 1.725 MB / 397.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5859, allocations: 67.89 kB / 397.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.5862, allocations: 84 kB / 397.3 MB, free: 5.516 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.001499/0.5877, allocations: 0.6125 MB / 397.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.588, allocations: 106.6 kB / 398 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.59, allocations: 0.6605 MB / 398.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.59, allocations: 8 kB / 398.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.59, allocations: 0 / 398.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.59, allocations: 8.109 kB / 398.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/0.5956, allocations: 2.147 MB / 400.8 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5956, allocations: 4 kB / 400.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.5963, allocations: 83.89 kB / 400.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.5966, allocations: 60.83 kB / 401 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.5967, allocations: 11.95 kB / 401 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.5991, allocations: 1.776 MB / 402.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.5992, allocations: 4 kB / 402.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.6018, allocations: 1.201 MB / 404 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/0.6024, allocations: 215.7 kB / 404.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.6027, allocations: 19.98 kB / 404.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.6033, allocations: 23.92 kB / 404.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6034, allocations: 51.91 kB / 404.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.6035, allocations: 16 kB / 404.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001783/0.6053, allocations: 0.8296 MB / 405.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6053, allocations: 0 / 405.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002119/0.6075, allocations: 307.9 kB / 405.4 MB, free: 12.96 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.00044/0.6079, allocations: 147.2 kB / 405.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.6108, allocations: 1.019 MB / 406.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6108, allocations: 0 / 406.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000942/0.6118, allocations: 391 kB / 407 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.6133, allocations: 168.4 kB / 407.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.6214, allocations: 3.399 MB / 410.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.6233, allocations: 1.465 MB / 412 MB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.6238, allocations: 83.42 kB / 412.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6238, allocations: 0 / 412.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of Templates: time 0.04985/0.6737, allocations: 21.31 MB / 433.4 MB, free: 0.8594 MB / 362.7 MB