Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.629e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3251, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.4898, allocations: 106.8 MB / 489 MB, free: 1.754 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4901, allocations: 79.95 kB / 489 MB, free: 1.676 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6807/1.171, allocations: 111.3 MB / 0.5863 GB, free: 89.31 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.513e-06/1.171, allocations: 0 / 0.5863 GB, free: 89.31 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003134/1.171, allocations: 112 kB / 0.5864 GB, free: 89.2 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01673/1.188, allocations: 5.335 MB / 0.5916 GB, free: 83.8 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.188, allocations: 11.97 kB / 0.5916 GB, free: 83.79 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03523/1.223, allocations: 6.931 MB / 0.5984 GB, free: 76.84 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/1.242, allocations: 6.813 MB / 0.605 GB, free: 69.96 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/1.243, allocations: 398.5 kB / 0.6054 GB, free: 69.57 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/1.245, allocations: 0.5348 MB / 0.6059 GB, free: 69.04 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/1.274, allocations: 12.84 MB / 0.6185 GB, free: 54.96 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/1.275, allocations: 79.33 kB / 0.6185 GB, free: 54.88 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/1.276, allocations: 263.9 kB / 0.6188 GB, free: 54.62 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001916/1.278, allocations: 1.211 MB / 0.62 GB, free: 53.41 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/1.304, allocations: 9.994 MB / 0.6297 GB, free: 43.4 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07449/1.378, allocations: 58.48 MB / 0.6868 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/1.394, allocations: 4.623 MB / 0.6913 GB, free: 10.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004326/1.399, allocations: 2.217 MB / 0.6935 GB, free: 8.133 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01654/1.415, allocations: 6.873 MB / 0.7002 GB, free: 1.16 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/1.415, allocations: 55.81 kB / 0.7003 GB, free: 1.098 MB / 490.8 MB Notification: Performance of pre-optimization done (n=181): time 6.157e-06/1.415, allocations: 0 / 0.7003 GB, free: 1.098 MB / 490.8 MB Notification: Performance of matching and sorting (n=193): time 0.04949/1.465, allocations: 13.35 MB / 0.7133 GB, free: 3.652 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.465, allocations: 205.2 kB / 0.7135 GB, free: 3.406 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.327/1.792, allocations: 5.101 MB / 0.7185 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.792, allocations: 54.73 kB / 0.7185 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003498/1.796, allocations: 4.029 MB / 0.7225 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009242/1.797, allocations: 0.7608 MB / 0.7232 GB, free: 128.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006125/1.797, allocations: 141.7 kB / 0.7234 GB, free: 128.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004525/1.798, allocations: 0.5999 MB / 0.7239 GB, free: 128 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/1.803, allocations: 2.215 MB / 0.7261 GB, free: 128 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007138/1.81, allocations: 6.593 MB / 0.7325 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007161/1.817, allocations: 3.813 MB / 0.7363 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/1.817, allocations: 45.94 kB / 0.7363 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02064/1.838, allocations: 8.578 MB / 0.7447 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.838, allocations: 73.38 kB / 0.7448 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/1.838, allocations: 157.3 kB / 0.7449 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/1.84, allocations: 0.588 MB / 0.7455 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006802/1.847, allocations: 1.615 MB / 0.7471 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/1.854, allocations: 5.6 MB / 0.7525 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007816/1.862, allocations: 382.5 kB / 0.7529 GB, free: 117.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.864, allocations: 437.8 kB / 0.7533 GB, free: 117.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (871): * Single equations (assignments): 866 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001549/1.865, allocations: 0.6438 MB / 0.7539 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.866, allocations: 491.5 kB / 0.7544 GB, free: 116.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/1.873, allocations: 2.971 MB / 0.7573 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/1.873, allocations: 20.88 kB / 0.7573 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.873, allocations: 9.703 kB / 0.7573 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/1.873, allocations: 12.91 kB / 0.7574 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.892, allocations: 8.133 MB / 0.7653 GB, free: 112.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.892, allocations: 5.031 kB / 0.7653 GB, free: 112.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.894, allocations: 289 kB / 0.7656 GB, free: 112.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/1.896, allocations: 347.8 kB / 0.7659 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/1.896, allocations: 32.28 kB / 0.7659 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006383/1.902, allocations: 4.945 MB / 0.7708 GB, free: 109 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.047e-06/1.902, allocations: 4.219 kB / 0.7708 GB, free: 109 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009884/1.912, allocations: 5.922 MB / 0.7766 GB, free: 106 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/1.915, allocations: 0.7957 MB / 0.7773 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.916, allocations: 34.06 kB / 0.7774 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/1.919, allocations: 92.02 kB / 0.7775 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/1.92, allocations: 114.3 kB / 0.7776 GB, free: 105.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.92, allocations: 57.75 kB / 0.7776 GB, free: 105.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00796/1.928, allocations: 3.642 MB / 0.7812 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.183e-06/1.928, allocations: 0 / 0.7812 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008141/1.936, allocations: 1.197 MB / 0.7823 GB, free: 104.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005772/1.937, allocations: 177.9 kB / 0.7825 GB, free: 103.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009711/1.946, allocations: 5.311 MB / 0.7877 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.465e-06/1.946, allocations: 0 / 0.7877 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002622/1.949, allocations: 1.633 MB / 0.7893 GB, free: 98.15 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.953, allocations: 0.5927 MB / 0.7899 GB, free: 97.65 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.975, allocations: 9.35 MB / 0.799 GB, free: 89.28 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008066/1.983, allocations: 4.139 MB / 0.803 GB, free: 86.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008297/1.991, allocations: 2.303 MB / 0.8053 GB, free: 84.73 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.992, allocations: 309 kB / 0.8056 GB, free: 84.44 MB / 0.4949 GB Notification: Performance of SimCode: time 1.774e-06/1.992, allocations: 0 / 0.8056 GB, free: 84.44 MB / 0.4949 GB Notification: Performance of Templates: time 0.1181/2.111, allocations: 41.59 MB / 0.8462 GB, free: 49.6 MB / 0.4949 GB