Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.006e-05, allocations: 4 kB / 348.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3549, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.5614, allocations: 118.1 MB / 0.516 GB, free: 4.398 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5617, allocations: 75.97 kB / 0.5161 GB, free: 4.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9025/1.464, allocations: 156.4 MB / 0.6689 GB, free: 3.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.801e-06/1.464, allocations: 0 / 0.6689 GB, free: 3.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004063/1.465, allocations: 132 kB / 0.669 GB, free: 3.352 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02274/1.487, allocations: 6.538 MB / 0.6754 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.488, allocations: 8.031 kB / 0.6754 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03826/1.526, allocations: 6.686 MB / 0.6819 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/1.552, allocations: 7.929 MB / 0.6897 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008792/1.553, allocations: 0.5293 MB / 0.6902 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00363/1.556, allocations: 0.7027 MB / 0.6909 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08366/1.64, allocations: 18.6 MB / 0.709 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004503/1.641, allocations: 87.17 kB / 0.7091 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00315/1.644, allocations: 335.8 kB / 0.7094 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003733/1.648, allocations: 1.723 MB / 0.7111 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4133/2.061, allocations: 15.95 MB / 0.7267 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09573/2.157, allocations: 74.13 MB / 0.7991 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/2.176, allocations: 6.091 MB / 0.8051 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004882/2.181, allocations: 2.707 MB / 0.8077 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03359/2.215, allocations: 13.88 MB / 0.8212 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/2.215, allocations: 56.34 kB / 0.8213 GB, free: 39.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 1.602e-05/2.215, allocations: 0 / 0.8213 GB, free: 39.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.08261/2.297, allocations: 19.14 MB / 0.84 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/2.298, allocations: 192.2 kB / 0.8402 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009972/2.308, allocations: 5.134 MB / 0.8452 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005301/2.308, allocations: 77.7 kB / 0.8453 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003348/2.311, allocations: 5.003 MB / 0.8501 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001386/2.313, allocations: 1.278 MB / 0.8514 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007809/2.314, allocations: 192.1 kB / 0.8516 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005468/2.314, allocations: 0.7043 MB / 0.8523 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006124/2.32, allocations: 3.142 MB / 0.8553 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009751/2.33, allocations: 8.546 MB / 0.8637 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009606/2.34, allocations: 5.194 MB / 0.8688 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/2.34, allocations: 56 kB / 0.8688 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03489/2.375, allocations: 12.21 MB / 0.8807 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/2.375, allocations: 88 kB / 0.8808 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003012/2.375, allocations: 200.1 kB / 0.881 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005733/2.381, allocations: 1.316 MB / 0.8823 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009945/2.391, allocations: 2.188 MB / 0.8844 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/2.407, allocations: 7.112 MB / 0.8914 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009616/2.417, allocations: 0.568 MB / 0.8919 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/2.419, allocations: 0.5417 MB / 0.8925 GB, free: 2.715 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1148 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002839/2.422, allocations: 0.8151 MB / 0.8932 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/2.423, allocations: 0.5245 MB / 0.8938 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01996/2.443, allocations: 5.531 MB / 0.8992 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.591e-05/2.443, allocations: 36 kB / 0.8992 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/2.443, allocations: 8 kB / 0.8992 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/2.444, allocations: 13.12 kB / 0.8992 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03993/2.483, allocations: 14.01 MB / 0.9129 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/2.484, allocations: 12 kB / 0.9129 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/2.487, allocations: 0.5268 MB / 0.9134 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004703/2.492, allocations: 0.9213 MB / 0.9143 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006111/2.492, allocations: 75.73 kB / 0.9144 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/2.505, allocations: 5.404 MB / 0.9197 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-05/2.505, allocations: 15.94 kB / 0.9197 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/2.526, allocations: 10.14 MB / 0.9296 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/2.528, allocations: 0.5721 MB / 0.9302 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001655/2.53, allocations: 63.98 kB / 0.9302 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004053/2.534, allocations: 187.8 kB / 0.9304 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000918/2.535, allocations: 217.5 kB / 0.9306 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003827/2.536, allocations: 103.8 kB / 0.9307 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.4144/2.95, allocations: 3.544 MB / 0.9342 GB, free: 130 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.027e-06/2.95, allocations: 0 / 0.9342 GB, free: 130 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02208/2.972, allocations: 1.65 MB / 0.9358 GB, free: 130 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/2.973, allocations: 267.8 kB / 0.936 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01539/2.989, allocations: 7.332 MB / 0.9432 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/2.989, allocations: 3.844 kB / 0.9432 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004946/2.994, allocations: 2.305 MB / 0.9454 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/2.998, allocations: 0.6424 MB / 0.9461 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/3.028, allocations: 12.62 MB / 0.9584 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/3.04, allocations: 5.311 MB / 0.9636 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02249/3.062, allocations: 3.041 MB / 0.9666 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003418/3.066, allocations: 377.1 kB / 0.9669 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.495e-06/3.066, allocations: 0 / 0.9669 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1685/3.234, allocations: 54.37 MB / 1.02 GB, free: 117.8 MB / 0.5573 GB