Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.586e-05, allocations: 7.234 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6092, allocations: 106.3 MB / 0.5045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6095, allocations: 77.45 kB / 0.5046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1578/0.7673, allocations: 34.93 MB / 0.5387 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.871e-06/0.7673, allocations: 4 kB / 0.5387 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.22e-05/0.7674, allocations: 32 kB / 0.5387 GB, free: 10.62 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004307/0.7717, allocations: 1.686 MB / 0.5404 GB, free: 8.891 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7718, allocations: 11.97 kB / 0.5404 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.7744, allocations: 417.4 kB / 0.5408 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.787, allocations: 2.795 MB / 0.5435 GB, free: 5.629 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.7873, allocations: 110.9 kB / 0.5436 GB, free: 5.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007926/0.7881, allocations: 148 kB / 0.5437 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.7993, allocations: 2.991 MB / 0.5467 GB, free: 2.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.422e-05/0.7995, allocations: 19.78 kB / 0.5467 GB, free: 2.141 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.7997, allocations: 67.97 kB / 0.5468 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000642/0.8004, allocations: 286.1 kB / 0.547 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00694/0.8074, allocations: 2.136 MB / 0.5491 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.8264, allocations: 11.56 MB / 0.5604 GB, free: 3.777 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005052/0.8315, allocations: 1.183 MB / 0.5616 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/0.8323, allocations: 383.3 kB / 0.5619 GB, free: 2.191 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005656/0.838, allocations: 3.028 MB / 0.5649 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.8381, allocations: 39 kB / 0.5649 GB, free: 14.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 4.152e-06/0.8381, allocations: 3.938 kB / 0.5649 GB, free: 14.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01382/0.8519, allocations: 3.335 MB / 0.5682 GB, free: 11.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.852, allocations: 85.67 kB / 0.5683 GB, free: 11.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.8541, allocations: 1.049 MB / 0.5693 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.982e-05/0.8541, allocations: 41.7 kB / 0.5693 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.8551, allocations: 0.9433 MB / 0.5702 GB, free: 9.262 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.8553, allocations: 217.2 kB / 0.5704 GB, free: 9.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.8554, allocations: 32 kB / 0.5705 GB, free: 9.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.8557, allocations: 365.9 kB / 0.5708 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/0.8565, allocations: 387.9 kB / 0.5712 GB, free: 8.273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.8581, allocations: 1.232 MB / 0.5724 GB, free: 6.625 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.8594, allocations: 0.6689 MB / 0.5731 GB, free: 5.961 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.8595, allocations: 8 kB / 0.5731 GB, free: 5.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00358/0.8631, allocations: 1.61 MB / 0.5746 GB, free: 4.332 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.8631, allocations: 20 kB / 0.5747 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.189e-05/0.8632, allocations: 28 kB / 0.5747 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.8635, allocations: 96.77 kB / 0.5748 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.865, allocations: 355.4 kB / 0.5751 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.8672, allocations: 1.69 MB / 0.5768 GB, free: 2.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8686, allocations: 71.95 kB / 0.5768 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.8688, allocations: 91.98 kB / 0.5769 GB, free: 1.848 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (192): * Single equations (assignments): 191 * 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.0003709/0.8691, allocations: 238.1 kB / 0.5771 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.8694, allocations: 110.6 kB / 0.5773 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.871, allocations: 0.6951 MB / 0.5779 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.524e-06/0.871, allocations: 8 kB / 0.5779 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-06/0.871, allocations: 192 / 0.5779 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.071e-06/0.871, allocations: 0 / 0.5779 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/0.876, allocations: 2.254 MB / 0.5801 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.8761, allocations: 4 kB / 0.5801 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.8767, allocations: 100.3 kB / 0.5802 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/0.8769, allocations: 68.81 kB / 0.5803 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.877, allocations: 12 kB / 0.5803 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.8793, allocations: 1.733 MB / 0.582 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.8793, allocations: 7.938 kB / 0.582 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.8815, allocations: 1.28 MB / 0.5833 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.8819, allocations: 179.7 kB / 0.5834 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.882, allocations: 15.95 kB / 0.5835 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.8826, allocations: 27.97 kB / 0.5835 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.8828, allocations: 51.95 kB / 0.5835 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.8828, allocations: 19.95 kB / 0.5835 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001475/0.8843, allocations: 0.7495 MB / 0.5843 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.65e-07/0.8843, allocations: 0 / 0.5843 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002024/0.8864, allocations: 315.9 kB / 0.5846 GB, free: 9.551 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * 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.0003008/0.8867, allocations: 139.1 kB / 0.5847 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.889, allocations: 1.015 MB / 0.5857 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.889, allocations: 2.375 kB / 0.5857 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.8897, allocations: 382.3 kB / 0.5861 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.8909, allocations: 168.5 kB / 0.5862 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.8961, allocations: 2.183 MB / 0.5884 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/0.898, allocations: 1.486 MB / 0.5898 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001549/0.8996, allocations: 409.7 kB / 0.5902 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.8998, allocations: 79.44 kB / 0.5903 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of SimCode: time 1.857e-06/0.8998, allocations: 0 / 0.5903 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of Templates: time 0.03227/0.9321, allocations: 9.611 MB / 0.5997 GB, free: 10.04 MB / 0.5105 GB