Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.177/2.177, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.169e-05, allocations: 0 / 304.9 MB, free: 5.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 54.85 MB / 359.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4785, allocations: 101.1 MB / 460.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4788, allocations: 77.97 kB / 460.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6508/1.13, allocations: 103.3 MB / 0.551 GB, free: 102.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.239e-06/1.13, allocations: 0 / 0.551 GB, free: 102.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003405/1.13, allocations: 108.6 kB / 0.5511 GB, free: 102.6 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01656/1.147, allocations: 5.193 MB / 0.5561 GB, free: 100.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.147, allocations: 14.59 kB / 0.5562 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03533/1.182, allocations: 6.89 MB / 0.5629 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.203, allocations: 7.488 MB / 0.5702 GB, free: 99.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/1.203, allocations: 370 kB / 0.5705 GB, free: 99.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/1.205, allocations: 0.4912 MB / 0.571 GB, free: 99.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02878/1.234, allocations: 12.18 MB / 0.5829 GB, free: 93.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/1.234, allocations: 81.89 kB / 0.583 GB, free: 93.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/1.236, allocations: 237.9 kB / 0.5832 GB, free: 92.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/1.238, allocations: 1.138 MB / 0.5843 GB, free: 92.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/1.263, allocations: 9.931 MB / 0.594 GB, free: 89.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06427/1.328, allocations: 55.61 MB / 0.6483 GB, free: 35.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.345, allocations: 5.645 MB / 0.6539 GB, free: 29.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004213/1.349, allocations: 2.814 MB / 0.6566 GB, free: 26.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/1.365, allocations: 8.8 MB / 0.6652 GB, free: 17.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.365, allocations: 59.69 kB / 0.6653 GB, free: 17.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=206): time 6.792e-06/1.365, allocations: 0 / 0.6653 GB, free: 17.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.1217/1.487, allocations: 29.41 MB / 0.694 GB, free: 4.363 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.487, allocations: 205.9 kB / 0.6942 GB, free: 4.117 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2831/1.77, allocations: 4.155 MB / 0.6982 GB, free: 107.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005805/1.771, allocations: 64.7 kB / 0.6983 GB, free: 107.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.774, allocations: 3.585 MB / 0.7018 GB, free: 106.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.776, allocations: 0.9809 MB / 0.7027 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007616/1.776, allocations: 134.9 kB / 0.7029 GB, free: 106.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005278/1.777, allocations: 0.589 MB / 0.7035 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007205/1.784, allocations: 2.95 MB / 0.7063 GB, free: 105.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009674/1.794, allocations: 6.704 MB / 0.7129 GB, free: 100.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.804, allocations: 4.414 MB / 0.7172 GB, free: 100.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002582/1.805, allocations: 38.55 kB / 0.7172 GB, free: 100.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03589/1.84, allocations: 12.57 MB / 0.7295 GB, free: 98.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.841, allocations: 64.56 kB / 0.7296 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/1.841, allocations: 133.9 kB / 0.7297 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/1.856, allocations: 4.073 MB / 0.7337 GB, free: 97.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006562/1.863, allocations: 1.416 MB / 0.735 GB, free: 97.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04625/1.909, allocations: 25.81 MB / 0.7603 GB, free: 84.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.916, allocations: 387.3 kB / 0.7606 GB, free: 84.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.918, allocations: 402.5 kB / 0.761 GB, free: 84.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (760): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001732/1.92, allocations: 0.6065 MB / 0.7616 GB, free: 83.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.921, allocations: 440.7 kB / 0.762 GB, free: 83.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02148/1.942, allocations: 8.062 MB / 0.7699 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/1.942, allocations: 29.03 kB / 0.7699 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/1.942, allocations: 17.84 kB / 0.7699 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/1.942, allocations: 11.16 kB / 0.77 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04124/1.984, allocations: 16.64 MB / 0.7862 GB, free: 74.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/1.984, allocations: 8 kB / 0.7862 GB, free: 74.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.985, allocations: 297.1 kB / 0.7865 GB, free: 73.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0132/1.999, allocations: 3.775 MB / 0.7902 GB, free: 71.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005401/1.999, allocations: 50.95 kB / 0.7902 GB, free: 71.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03981/2.039, allocations: 24.55 MB / 0.8142 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/2.039, allocations: 13.34 kB / 0.8142 GB, free: 49.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/2.064, allocations: 12.55 MB / 0.8265 GB, free: 37.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/2.067, allocations: 0.9482 MB / 0.8274 GB, free: 36.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/2.068, allocations: 51.94 kB / 0.8274 GB, free: 36.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/2.072, allocations: 164.4 kB / 0.8276 GB, free: 35.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001/2.073, allocations: 194.1 kB / 0.8278 GB, free: 35.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003336/2.073, allocations: 76.44 kB / 0.8279 GB, free: 35.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006359/2.08, allocations: 2.938 MB / 0.8307 GB, free: 32.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.113e-06/2.08, allocations: 4 kB / 0.8307 GB, free: 32.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00842/2.088, allocations: 1.425 MB / 0.8321 GB, free: 31.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008313/2.089, allocations: 199 kB / 0.8323 GB, free: 31.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01585/2.105, allocations: 7.77 MB / 0.8399 GB, free: 23.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.018e-06/2.105, allocations: 4 kB / 0.8399 GB, free: 23.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006799/2.112, allocations: 3.353 MB / 0.8432 GB, free: 19.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/2.115, allocations: 0.5444 MB / 0.8437 GB, free: 19.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/2.139, allocations: 10.35 MB / 0.8538 GB, free: 8.945 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007697/2.146, allocations: 4.032 MB / 0.8578 GB, free: 4.906 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007406/2.154, allocations: 2.025 MB / 0.8597 GB, free: 2.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/2.155, allocations: 279.4 kB / 0.86 GB, free: 2.617 MB / 474.7 MB Notification: Performance of SimCode: time 1.716e-06/2.155, allocations: 0 / 0.86 GB, free: 2.617 MB / 474.7 MB Notification: Performance of Templates: time 0.4475/2.603, allocations: 65.2 MB / 0.9237 GB, free: 106.5 MB / 490.7 MB