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.1_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.36e-05/4.373e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08827, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.4554, allocations: 93.77 MB / 415.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.4557, allocations: 74.45 kB / 415.6 MB, free: 1.484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4249/0.8806, allocations: 110.7 MB / 0.514 GB, free: 9.633 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.8807, allocations: 0 / 0.514 GB, free: 9.633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003441/0.881, allocations: 103.9 kB / 0.5141 GB, free: 9.531 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.01839/0.8994, allocations: 5.329 MB / 0.5193 GB, free: 4.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8995, allocations: 12.03 kB / 0.5193 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3011/1.201, allocations: 6.928 MB / 0.5261 GB, free: 78.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/1.222, allocations: 6.787 MB / 0.5327 GB, free: 77.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005356/1.223, allocations: 402.6 kB / 0.5331 GB, free: 77.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/1.225, allocations: 0.519 MB / 0.5336 GB, free: 77.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03079/1.256, allocations: 12.82 MB / 0.5461 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/1.256, allocations: 79.09 kB / 0.5462 GB, free: 74.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/1.257, allocations: 260.5 kB / 0.5464 GB, free: 74.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002027/1.26, allocations: 1.209 MB / 0.5476 GB, free: 74.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0282/1.288, allocations: 9.988 MB / 0.5574 GB, free: 74.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08021/1.368, allocations: 58.35 MB / 0.6144 GB, free: 33.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/1.384, allocations: 4.622 MB / 0.6189 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003801/1.387, allocations: 2.213 MB / 0.621 GB, free: 31.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/1.402, allocations: 6.875 MB / 0.6277 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.402, allocations: 58.91 kB / 0.6278 GB, free: 27.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.611e-06/1.402, allocations: 2.062 kB / 0.6278 GB, free: 27.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.04923/1.451, allocations: 13.33 MB / 0.6408 GB, free: 21.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/1.451, allocations: 201.2 kB / 0.641 GB, free: 20.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.462, allocations: 5.084 MB / 0.646 GB, free: 16.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/1.462, allocations: 50.64 kB / 0.646 GB, free: 16.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00326/1.466, allocations: 4.014 MB / 0.6499 GB, free: 12.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.467, allocations: 0.7649 MB / 0.6507 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007479/1.467, allocations: 141.2 kB / 0.6508 GB, free: 11.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007302/1.468, allocations: 0.608 MB / 0.6514 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0049/1.473, allocations: 2.206 MB / 0.6536 GB, free: 9.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007334/1.481, allocations: 6.577 MB / 0.66 GB, free: 1.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008105/1.489, allocations: 3.807 MB / 0.6637 GB, free: 13.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/1.489, allocations: 48 kB / 0.6638 GB, free: 13.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02856/1.517, allocations: 8.542 MB / 0.6721 GB, free: 6.344 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/1.518, allocations: 75.95 kB / 0.6722 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003818/1.518, allocations: 160.1 kB / 0.6723 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/1.522, allocations: 0.59 MB / 0.6729 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/1.535, allocations: 1.607 MB / 0.6745 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.551, allocations: 5.601 MB / 0.6799 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008104/1.559, allocations: 378.5 kB / 0.6803 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/1.561, allocations: 435.1 kB / 0.6807 GB, free: 14.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 863 * 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.002087/1.563, allocations: 0.6466 MB / 0.6813 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.564, allocations: 485.7 kB / 0.6818 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007812/1.572, allocations: 2.973 MB / 0.6847 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/1.572, allocations: 20 kB / 0.6847 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.572, allocations: 8 kB / 0.6847 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/1.572, allocations: 11.78 kB / 0.6848 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.597, allocations: 8.116 MB / 0.6927 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/1.597, allocations: 0 / 0.6927 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/1.599, allocations: 288.8 kB / 0.693 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/1.601, allocations: 353.2 kB / 0.6933 GB, free: 3.316 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003679/1.601, allocations: 38.75 kB / 0.6933 GB, free: 3.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.273/1.874, allocations: 4.939 MB / 0.6982 GB, free: 95.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.675e-06/1.874, allocations: 4.766 kB / 0.6982 GB, free: 95.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.885, allocations: 5.909 MB / 0.7039 GB, free: 94.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.887, allocations: 0.7972 MB / 0.7047 GB, free: 94.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007778/1.888, allocations: 31.88 kB / 0.7047 GB, free: 94.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/1.89, allocations: 96.42 kB / 0.7048 GB, free: 94.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.891, allocations: 112.1 kB / 0.7049 GB, free: 94.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.891, allocations: 57.17 kB / 0.705 GB, free: 94.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008804/1.9, allocations: 3.626 MB / 0.7085 GB, free: 94.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.22e-06/1.9, allocations: 1.188 kB / 0.7085 GB, free: 94.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008417/1.908, allocations: 1.201 MB / 0.7097 GB, free: 94.38 MB / 458.7 MB 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.0006103/1.909, allocations: 168 kB / 0.7099 GB, free: 94.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0144/1.923, allocations: 5.303 MB / 0.715 GB, free: 94.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.923, allocations: 3.719 kB / 0.715 GB, free: 94.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003772/1.927, allocations: 1.634 MB / 0.7166 GB, free: 93.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.931, allocations: 0.5889 MB / 0.7172 GB, free: 93.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.952, allocations: 9.335 MB / 0.7263 GB, free: 91.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008159/1.961, allocations: 4.125 MB / 0.7304 GB, free: 91.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008218/1.969, allocations: 2.296 MB / 0.7326 GB, free: 91.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.97, allocations: 312.8 kB / 0.7329 GB, free: 91.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/1.97, allocations: 0 / 0.7329 GB, free: 91.02 MB / 458.7 MB Notification: Performance of Templates: time 0.1176/2.088, allocations: 41.44 MB / 0.7734 GB, free: 88.91 MB / 458.7 MB