Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 270.1 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.568e-05/4.588e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1713, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.6143, allocations: 106.3 MB / 0.5045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.6146, allocations: 71.97 kB / 0.5046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1432/0.7579, allocations: 34.94 MB / 0.5387 GB, free: 10.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.307e-06/0.7579, allocations: 0 / 0.5387 GB, free: 10.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.944e-05/0.758, allocations: 28 kB / 0.5387 GB, free: 10.64 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.004238/0.7623, allocations: 1.682 MB / 0.5403 GB, free: 8.906 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7623, allocations: 12.03 kB / 0.5404 GB, free: 8.895 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.765, allocations: 409.4 kB / 0.5407 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.7751, allocations: 2.807 MB / 0.5435 GB, free: 5.641 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.7753, allocations: 110.9 kB / 0.5436 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/0.7759, allocations: 148 kB / 0.5437 GB, free: 5.387 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00857/0.7845, allocations: 2.987 MB / 0.5467 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.01e-05/0.7846, allocations: 23.83 kB / 0.5467 GB, free: 2.152 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.7848, allocations: 67.97 kB / 0.5467 GB, free: 2.086 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006234/0.7855, allocations: 278.1 kB / 0.547 GB, free: 1.812 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006782/0.7923, allocations: 2.14 MB / 0.5491 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.8113, allocations: 11.56 MB / 0.5604 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.8165, allocations: 1.183 MB / 0.5615 GB, free: 2.582 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008009/0.8173, allocations: 390.8 kB / 0.5619 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005655/0.823, allocations: 3.024 MB / 0.5649 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.8231, allocations: 39 kB / 0.5649 GB, free: 14.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.92e-06/0.8231, allocations: 0 / 0.5649 GB, free: 14.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01432/0.8374, allocations: 3.338 MB / 0.5682 GB, free: 11.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.8375, allocations: 85.67 kB / 0.5682 GB, free: 11.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.8397, allocations: 1.053 MB / 0.5693 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.8398, allocations: 41.69 kB / 0.5693 GB, free: 10.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009076/0.8407, allocations: 0.9394 MB / 0.5702 GB, free: 9.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.841, allocations: 217.2 kB / 0.5704 GB, free: 9.059 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.8411, allocations: 28 kB / 0.5705 GB, free: 9.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.8413, allocations: 369.9 kB / 0.5708 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/0.8422, allocations: 391.9 kB / 0.5712 GB, free: 8.281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.8438, allocations: 1.225 MB / 0.5724 GB, free: 6.637 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.8452, allocations: 0.6727 MB / 0.573 GB, free: 5.965 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.8452, allocations: 8 kB / 0.5731 GB, free: 5.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003776/0.849, allocations: 1.61 MB / 0.5746 GB, free: 4.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.8491, allocations: 16 kB / 0.5746 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.8491, allocations: 32 kB / 0.5747 GB, free: 4.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.8494, allocations: 92.81 kB / 0.5748 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.851, allocations: 359.3 kB / 0.5751 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.8531, allocations: 1.682 MB / 0.5767 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.8546, allocations: 83.94 kB / 0.5768 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.8548, allocations: 84 kB / 0.5769 GB, free: 1.859 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.0003669/0.8552, allocations: 231.4 kB / 0.5771 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.8554, allocations: 114.6 kB / 0.5772 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.857, allocations: 0.699 MB / 0.5779 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.8571, allocations: 4.188 kB / 0.5779 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.8571, allocations: 8 kB / 0.5779 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.8571, allocations: 3.984 kB / 0.5779 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.8621, allocations: 2.246 MB / 0.5801 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8622, allocations: 4.5 kB / 0.5801 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.8628, allocations: 99.89 kB / 0.5802 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.8631, allocations: 64.75 kB / 0.5803 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.8631, allocations: 16 kB / 0.5803 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.8654, allocations: 1.733 MB / 0.582 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.47e-06/0.8654, allocations: 4.156 kB / 0.582 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.8676, allocations: 1.277 MB / 0.5832 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.868, allocations: 183.7 kB / 0.5834 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.8682, allocations: 19.95 kB / 0.5834 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.8687, allocations: 27.98 kB / 0.5835 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.8689, allocations: 47.94 kB / 0.5835 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.8689, allocations: 23.95 kB / 0.5835 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00154/0.8705, allocations: 0.7417 MB / 0.5843 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.016e-06/0.8705, allocations: 4 kB / 0.5843 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002009/0.8725, allocations: 315.9 kB / 0.5846 GB, free: 9.562 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.0003047/0.8729, allocations: 139.1 kB / 0.5847 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.8752, allocations: 1.017 MB / 0.5857 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.538e-06/0.8752, allocations: 0 / 0.5857 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.8759, allocations: 378.9 kB / 0.5861 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.8771, allocations: 172.5 kB / 0.5862 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.8824, allocations: 2.187 MB / 0.5884 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/0.8844, allocations: 1.482 MB / 0.5898 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001559/0.886, allocations: 413.7 kB / 0.5902 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.8863, allocations: 75.44 kB / 0.5903 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.69e-06/0.8863, allocations: 0 / 0.5903 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.03402/0.9203, allocations: 9.603 MB / 0.5996 GB, free: 10.05 MB / 0.5105 GB