Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 270 MB / 283.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.471e-05, allocations: 4 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5016, allocations: 103.3 MB / 0.5015 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5019, allocations: 75.97 kB / 0.5016 GB, free: 3.215 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6672/1.169, allocations: 84.92 MB / 0.5845 GB, free: 56.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.175e-06/1.169, allocations: 3.938 kB / 0.5845 GB, free: 56.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001198/1.169, allocations: 68 kB / 0.5846 GB, free: 56.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.007283/1.177, allocations: 3.443 MB / 0.5879 GB, free: 53.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.177, allocations: 8.031 kB / 0.5879 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/1.194, allocations: 3.493 MB / 0.5914 GB, free: 49.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/1.206, allocations: 4.015 MB / 0.5953 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/1.207, allocations: 291.5 kB / 0.5956 GB, free: 45.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/1.209, allocations: 383.8 kB / 0.5959 GB, free: 45.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/1.229, allocations: 9.647 MB / 0.6053 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/1.229, allocations: 23.8 kB / 0.6054 GB, free: 35.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008206/1.23, allocations: 171.9 kB / 0.6055 GB, free: 34.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001609/1.232, allocations: 1.133 MB / 0.6066 GB, free: 33.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/1.251, allocations: 9.087 MB / 0.6155 GB, free: 24.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04929/1.3, allocations: 31.7 MB / 0.6465 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007851/1.308, allocations: 3.3 MB / 0.6497 GB, free: 4.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/1.31, allocations: 1.05 MB / 0.6507 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/1.312, allocations: 1.307 MB / 0.652 GB, free: 2.008 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/1.312, allocations: 43.88 kB / 0.652 GB, free: 1.957 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 6.358e-06/1.312, allocations: 0 / 0.652 GB, free: 1.957 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.02455/1.337, allocations: 7.996 MB / 0.6598 GB, free: 9.875 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.337, allocations: 68.72 kB / 0.6599 GB, free: 9.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/1.341, allocations: 2.305 MB / 0.6622 GB, free: 7.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.341, allocations: 49.69 kB / 0.6622 GB, free: 7.414 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00251/1.344, allocations: 2.666 MB / 0.6648 GB, free: 4.707 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009366/1.345, allocations: 0.7055 MB / 0.6655 GB, free: 3.992 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/1.345, allocations: 92 kB / 0.6656 GB, free: 3.902 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00047/1.346, allocations: 0.5088 MB / 0.6661 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/1.349, allocations: 1.493 MB / 0.6675 GB, free: 1.887 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/1.355, allocations: 4.277 MB / 0.6717 GB, free: 12.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/1.36, allocations: 2.586 MB / 0.6742 GB, free: 9.617 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.388e-05/1.36, allocations: 32 kB / 0.6743 GB, free: 9.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01354/1.374, allocations: 5.451 MB / 0.6796 GB, free: 4.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/1.374, allocations: 48 kB / 0.6796 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.374, allocations: 100 kB / 0.6797 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/1.375, allocations: 188.8 kB / 0.6799 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/1.379, allocations: 1.064 MB / 0.681 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.381, allocations: 1.675 MB / 0.6826 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/1.385, allocations: 216 kB / 0.6828 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009558/1.386, allocations: 296 kB / 0.6831 GB, free: 428 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (591): * Single equations (assignments): 584 * Array equations: 6 * 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.001011/1.387, allocations: 465.5 kB / 0.6835 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/1.388, allocations: 244.8 kB / 0.6838 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/1.393, allocations: 2.506 MB / 0.6862 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/1.393, allocations: 27.92 kB / 0.6862 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-06/1.393, allocations: 0 / 0.6862 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.393, allocations: 3.984 kB / 0.6862 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/1.412, allocations: 7.927 MB / 0.694 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.412, allocations: 12 kB / 0.694 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.414, allocations: 251.6 kB / 0.6942 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/1.414, allocations: 65.52 kB / 0.6943 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/1.414, allocations: 43.98 kB / 0.6943 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.416, allocations: 1.48 MB / 0.6958 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/1.416, allocations: 20 kB / 0.6958 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007786/1.424, allocations: 4.791 MB / 0.7005 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/1.424, allocations: 297.9 kB / 0.7008 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/1.425, allocations: 39.95 kB / 0.7008 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.426, allocations: 55.95 kB / 0.7009 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/1.426, allocations: 124.7 kB / 0.701 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.426, allocations: 63.98 kB / 0.701 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003181/1.43, allocations: 1.559 MB / 0.7026 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.43e-07/1.43, allocations: 0 / 0.7026 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004879/1.435, allocations: 0.8124 MB / 0.7033 GB, free: 10.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0005568/1.435, allocations: 190.8 kB / 0.7035 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007513/1.443, allocations: 3.598 MB / 0.707 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.443, allocations: 4 kB / 0.707 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.445, allocations: 1.207 MB / 0.7082 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.447, allocations: 310.1 kB / 0.7085 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.313/1.76, allocations: 6.989 MB / 0.7153 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005583/1.766, allocations: 3.222 MB / 0.7185 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00522/1.771, allocations: 1.707 MB / 0.7202 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/1.772, allocations: 186.4 kB / 0.7203 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.973e-06/1.772, allocations: 3.844 kB / 0.7203 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.07349/1.845, allocations: 21.46 MB / 0.7413 GB, free: 141.8 MB / 0.5105 GB