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.913/1.913, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.922e-05, allocations: 7.984 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08788, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.4969, allocations: 90.44 MB / 412.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.4971, allocations: 72.03 kB / 412.3 MB, free: 3.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1265/0.6236, allocations: 33.21 MB / 445.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.6237, allocations: 0 / 445.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.489e-05/0.6238, allocations: 32 kB / 445.5 MB, free: 7.863 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.003673/0.6275, allocations: 1.649 MB / 447.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6275, allocations: 8.031 kB / 447.2 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.6299, allocations: 398.3 kB / 447.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009278/0.6392, allocations: 2.911 MB / 450.5 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.6393, allocations: 106.1 kB / 450.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.6397, allocations: 144.1 kB / 450.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006964/0.6467, allocations: 2.862 MB / 453.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.654e-05/0.6468, allocations: 15.88 kB / 453.6 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.647, allocations: 64.66 kB / 453.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005649/0.6475, allocations: 264.2 kB / 453.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005964/0.6535, allocations: 2.034 MB / 456 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.6709, allocations: 11.26 MB / 467.2 MB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/0.6756, allocations: 1.059 MB / 468.3 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.6764, allocations: 374.9 kB / 468.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004913/0.6813, allocations: 2.633 MB / 471.3 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.6814, allocations: 42.45 kB / 471.3 MB, free: 380 kB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.656e-06/0.6814, allocations: 0 / 471.3 MB, free: 380 kB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.01453/0.6959, allocations: 3.151 MB / 474.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.6961, allocations: 81.55 kB / 474.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.6994, allocations: 1.044 MB / 475.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.6996, allocations: 37.7 kB / 475.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.701, allocations: 0.9199 MB / 476.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.7013, allocations: 193.5 kB / 476.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7015, allocations: 28 kB / 476.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.7018, allocations: 369.9 kB / 477.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.7029, allocations: 367.9 kB / 477.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.7046, allocations: 1.191 MB / 478.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.7059, allocations: 0.6417 MB / 479.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.706, allocations: 8 kB / 479.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00352/0.7095, allocations: 1.538 MB / 480.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.7096, allocations: 20 kB / 480.9 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.7096, allocations: 28.06 kB / 480.9 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.7099, allocations: 100.8 kB / 481 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.7114, allocations: 343.4 kB / 481.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.7136, allocations: 1.702 MB / 483 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.7149, allocations: 67.98 kB / 483.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.7151, allocations: 84 kB / 483.2 MB, free: 3.777 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.0003491/0.7154, allocations: 238.4 kB / 483.4 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.7157, allocations: 106.6 kB / 483.5 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.7172, allocations: 0.6408 MB / 484.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.7173, allocations: 8.094 kB / 484.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.7173, allocations: 3.984 kB / 484.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.7173, allocations: 3.984 kB / 484.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.7223, allocations: 2.134 MB / 486.3 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.881e-06/0.7223, allocations: 8 kB / 486.3 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.7229, allocations: 83.89 kB / 486.4 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.7231, allocations: 60.95 kB / 486.5 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.7232, allocations: 23.98 kB / 486.5 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.7255, allocations: 1.741 MB / 488.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.7255, allocations: 7.938 kB / 488.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.7276, allocations: 1.174 MB / 489.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.7282, allocations: 215.7 kB / 489.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.7283, allocations: 19.94 kB / 489.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.7289, allocations: 23.98 kB / 489.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.729, allocations: 35.95 kB / 489.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.7291, allocations: 20.06 kB / 489.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.7306, allocations: 0.7449 MB / 490.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.7306, allocations: 3.938 kB / 490.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001972/0.7326, allocations: 299.9 kB / 490.8 MB, free: 11.78 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.0002856/0.7329, allocations: 131.1 kB / 490.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.7352, allocations: 0.9676 MB / 491.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.883e-06/0.7352, allocations: 0 / 491.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.7359, allocations: 353.4 kB / 492.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7371, allocations: 171.4 kB / 492.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.7421, allocations: 2.086 MB / 494.5 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.7439, allocations: 1.45 MB / 495.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001496/0.7455, allocations: 401.4 kB / 496.3 MB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.7457, allocations: 79.42 kB / 496.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of SimCode: time 1.959e-06/0.7457, allocations: 0 / 496.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of Templates: time 0.04055/0.7863, allocations: 9.327 MB / 0.4939 GB, free: 12.73 MB / 410.7 MB