Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.311e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3226, allocations: 54.86 MB / 359.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4782, allocations: 99.77 MB / 459.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4785, allocations: 75.95 kB / 459.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3088/0.7873, allocations: 76.34 MB / 0.5234 GB, free: 232 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.592e-06/0.7873, allocations: 0 / 0.5234 GB, free: 232 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002247/0.7876, allocations: 71.94 kB / 0.5235 GB, free: 160 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.2666/1.054, allocations: 3.571 MB / 0.527 GB, free: 104.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.054, allocations: 15.34 kB / 0.527 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02335/1.078, allocations: 4.322 MB / 0.5312 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/1.092, allocations: 4.466 MB / 0.5356 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/1.092, allocations: 273.8 kB / 0.5358 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/1.094, allocations: 363.2 kB / 0.5362 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/1.116, allocations: 9.031 MB / 0.545 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/1.116, allocations: 67.88 kB / 0.5451 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/1.117, allocations: 180 kB / 0.5452 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/1.119, allocations: 0.8823 MB / 0.5461 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/1.136, allocations: 7.034 MB / 0.553 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/1.184, allocations: 44.06 MB / 0.596 GB, free: 67.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/1.196, allocations: 3.472 MB / 0.5994 GB, free: 66.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/1.199, allocations: 1.584 MB / 0.6009 GB, free: 65.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/1.212, allocations: 7.19 MB / 0.6079 GB, free: 61.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.212, allocations: 51.95 kB / 0.608 GB, free: 61.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 5.995e-06/1.212, allocations: 0 / 0.608 GB, free: 61.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.06982/1.282, allocations: 17.05 MB / 0.6246 GB, free: 53.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/1.282, allocations: 197.2 kB / 0.6248 GB, free: 53.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006192/1.289, allocations: 3.278 MB / 0.628 GB, free: 50.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003373/1.289, allocations: 49.7 kB / 0.6281 GB, free: 50.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.291, allocations: 2.827 MB / 0.6308 GB, free: 47.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008435/1.292, allocations: 0.7024 MB / 0.6315 GB, free: 46.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005436/1.292, allocations: 117.2 kB / 0.6316 GB, free: 46.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00036/1.293, allocations: 0.5479 MB / 0.6322 GB, free: 46.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.297, allocations: 1.946 MB / 0.6341 GB, free: 44.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005955/1.303, allocations: 5.427 MB / 0.6394 GB, free: 37.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/1.309, allocations: 3.249 MB / 0.6425 GB, free: 34.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.495e-05/1.309, allocations: 36 kB / 0.6426 GB, free: 34.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02277/1.332, allocations: 8.598 MB / 0.651 GB, free: 27.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/1.332, allocations: 59.95 kB / 0.651 GB, free: 27.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/1.332, allocations: 128 kB / 0.6512 GB, free: 27.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/1.338, allocations: 1.535 MB / 0.6527 GB, free: 26.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/1.344, allocations: 1.288 MB / 0.6539 GB, free: 25.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.361, allocations: 8.948 MB / 0.6626 GB, free: 16.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/1.367, allocations: 312.2 kB / 0.6629 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.368, allocations: 363.9 kB / 0.6633 GB, free: 15.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (691): * Single equations (assignments): 687 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001385/1.37, allocations: 0.5393 MB / 0.6638 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007417/1.37, allocations: 327.8 kB / 0.6641 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.381, allocations: 3.801 MB / 0.6678 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-05/1.381, allocations: 24 kB / 0.6679 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.381, allocations: 4 kB / 0.6679 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.381, allocations: 11.97 kB / 0.6679 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.403, allocations: 8 MB / 0.6757 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-05/1.403, allocations: 0 / 0.6757 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.404, allocations: 243.6 kB / 0.6759 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005637/1.41, allocations: 1.236 MB / 0.6771 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003376/1.41, allocations: 28 kB / 0.6772 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.426, allocations: 7.286 MB / 0.6843 GB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.477e-06/1.426, allocations: 4.031 kB / 0.6843 GB, free: 9.711 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.442, allocations: 6.16 MB / 0.6903 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.445, allocations: 0.5981 MB / 0.6909 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009326/1.446, allocations: 28 kB / 0.6909 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.448, allocations: 91.84 kB / 0.691 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/1.449, allocations: 109.2 kB / 0.6911 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.449, allocations: 47.98 kB / 0.6911 GB, free: 2.625 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005646/1.455, allocations: 2.269 MB / 0.6934 GB, free: 380 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.103e-06/1.455, allocations: 3.938 kB / 0.6934 GB, free: 376 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.006902/1.461, allocations: 0.9735 MB / 0.6943 GB, free: 15.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006217/1.462, allocations: 166.9 kB / 0.6945 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/1.473, allocations: 4.697 MB / 0.6991 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.473, allocations: 4.062 kB / 0.6991 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003477/1.476, allocations: 1.562 MB / 0.7006 GB, free: 8.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.479, allocations: 359.8 kB / 0.7009 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.497, allocations: 6.755 MB / 0.7075 GB, free: 1.836 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3013/1.798, allocations: 3.041 MB / 0.7105 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006863/1.805, allocations: 1.806 MB / 0.7123 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.806, allocations: 222.2 kB / 0.7125 GB, free: 121.6 MB / 490.7 MB Notification: Performance of SimCode: time 4.129e-06/1.806, allocations: 3.875 kB / 0.7125 GB, free: 121.6 MB / 490.7 MB Notification: Performance of Templates: time 0.09484/1.901, allocations: 35.31 MB / 0.747 GB, free: 120.1 MB / 490.7 MB