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 1.816/1.816, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.256e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08604, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4513, allocations: 90.43 MB / 412.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.4515, allocations: 79.59 kB / 412.3 MB, free: 3.449 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1276/0.5791, allocations: 33.21 MB / 445.5 MB, free: 8.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.5792, allocations: 0 / 445.5 MB, free: 8.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.347e-05/0.5793, allocations: 32 kB / 445.5 MB, free: 8.211 MB / 346.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.00386/0.5832, allocations: 1.641 MB / 447.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5832, allocations: 12.03 kB / 447.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.5857, allocations: 398.8 kB / 447.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009398/0.5951, allocations: 2.911 MB / 450.5 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5953, allocations: 107.4 kB / 450.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.5956, allocations: 146.4 kB / 450.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007193/0.6028, allocations: 2.859 MB / 453.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.894e-05/0.6029, allocations: 11.88 kB / 453.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.6032, allocations: 65.48 kB / 453.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005844/0.6038, allocations: 263.2 kB / 453.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005978/0.6098, allocations: 2.034 MB / 455.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/0.627, allocations: 11.26 MB / 467.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/0.6317, allocations: 1.059 MB / 468.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/0.6324, allocations: 374.8 kB / 468.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004879/0.6373, allocations: 2.637 MB / 471.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.6374, allocations: 46.45 kB / 471.3 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.6374, allocations: 4 kB / 471.3 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.0135/0.6509, allocations: 3.147 MB / 474.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.6511, allocations: 85.55 kB / 474.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.6531, allocations: 1.044 MB / 475.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.6532, allocations: 29.7 kB / 475.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/0.6541, allocations: 0.9341 MB / 476.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.6544, allocations: 193.5 kB / 476.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.6545, allocations: 32 kB / 476.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.6547, allocations: 370.7 kB / 477.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.6555, allocations: 375.8 kB / 477.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.6571, allocations: 1.183 MB / 478.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.6584, allocations: 0.6378 MB / 479.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/0.6584, allocations: 12 kB / 479.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003398/0.6618, allocations: 1.484 MB / 480.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.6619, allocations: 20 kB / 480.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/0.662, allocations: 28 kB / 480.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.6623, allocations: 92.89 kB / 480.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.6638, allocations: 347.4 kB / 481.3 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.666, allocations: 1.702 MB / 483 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.6675, allocations: 59.98 kB / 483 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.6677, allocations: 84 kB / 483.1 MB, free: 4.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (182): * Single equations (assignments): 181 * 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.0003481/0.668, allocations: 242.5 kB / 483.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.6683, allocations: 110.6 kB / 483.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.6698, allocations: 0.6486 MB / 484.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.814e-06/0.6698, allocations: 4 kB / 484.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.622e-06/0.6699, allocations: 4 kB / 484.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6699, allocations: 3.984 kB / 484.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.6745, allocations: 2.134 MB / 486.3 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.6746, allocations: 4 kB / 486.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.6751, allocations: 91.88 kB / 486.4 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.6754, allocations: 64.77 kB / 486.4 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.6755, allocations: 8 kB / 486.4 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.6778, allocations: 1.742 MB / 488.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.6778, allocations: 4 kB / 488.2 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.6799, allocations: 1.178 MB / 489.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.6803, allocations: 219.6 kB / 489.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6805, allocations: 19.95 kB / 489.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.6811, allocations: 19.98 kB / 489.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.6812, allocations: 43.95 kB / 489.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.6812, allocations: 23.98 kB / 489.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001463/0.6827, allocations: 0.741 MB / 490.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.6827, allocations: 0 / 490.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001868/0.6846, allocations: 303.9 kB / 490.7 MB, free: 12.26 MB / 394.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.0002826/0.6849, allocations: 135.1 kB / 490.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.687, allocations: 0.9544 MB / 491.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.007e-06/0.6871, allocations: 2.188 kB / 491.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.6878, allocations: 362.2 kB / 492.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6889, allocations: 161.9 kB / 492.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.694, allocations: 2.237 MB / 494.5 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.6959, allocations: 1.454 MB / 496 MB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.6962, allocations: 87.42 kB / 496.1 MB, free: 6.754 MB / 394.7 MB Notification: Performance of SimCode: time 1.775e-06/0.6962, allocations: 0 / 496.1 MB, free: 6.754 MB / 394.7 MB Notification: Performance of Templates: time 0.03844/0.7347, allocations: 20.69 MB / 0.5047 GB, free: 2.047 MB / 410.7 MB