Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 1.853/1.853, allocations: 209.3 MB / 221.9 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.286e-05, allocations: 7.984 kB / 273.1 MB, free: 0.7305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09128, allocations: 48.7 MB / 321.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.4964, allocations: 98.56 MB / 420.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4967, allocations: 75.95 kB / 420.4 MB, free: 7.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063/1.56, allocations: 236.7 MB / 0.6417 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.366e-06/1.56, allocations: 0 / 0.6417 GB, free: 14.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007257/1.561, allocations: 255.9 kB / 0.642 GB, free: 13.78 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04063/1.601, allocations: 12.23 MB / 0.6539 GB, free: 1.445 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.601, allocations: 8.031 kB / 0.6539 GB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.351/1.952, allocations: 12.78 MB / 0.6664 GB, free: 35.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03972/1.992, allocations: 13.24 MB / 0.6793 GB, free: 34.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/1.993, allocations: 0.9347 MB / 0.6802 GB, free: 34.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/1.999, allocations: 1.254 MB / 0.6815 GB, free: 34.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0828/2.082, allocations: 29.86 MB / 0.7106 GB, free: 28.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000862/2.083, allocations: 141.3 kB / 0.7108 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/2.088, allocations: 0.5841 MB / 0.7113 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005547/2.093, allocations: 2.858 MB / 0.7141 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06654/2.16, allocations: 24.07 MB / 0.7376 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6798/2.84, allocations: 127.3 MB / 0.8619 GB, free: 25.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05307/2.893, allocations: 14.85 MB / 0.8764 GB, free: 24.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0135/2.906, allocations: 8.101 MB / 0.8843 GB, free: 24.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0416/2.948, allocations: 20.22 MB / 0.9041 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.506e-05/2.948, allocations: 97.97 kB / 0.9042 GB, free: 21.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=566): time 1.183e-05/2.948, allocations: 0 / 0.9042 GB, free: 21.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=650): time 0.2156/3.164, allocations: 60.82 MB / 0.9635 GB, free: 4.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/3.164, allocations: 380.4 kB / 0.9639 GB, free: 3.645 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04418/3.208, allocations: 11.62 MB / 0.9753 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/3.21, allocations: 129.7 kB / 0.9754 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008859/3.219, allocations: 7.871 MB / 0.9831 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004042/3.223, allocations: 2.386 MB / 0.9854 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002327/3.225, allocations: 312 kB / 0.9857 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001482/3.226, allocations: 0.9582 MB / 0.9866 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04123/3.268, allocations: 8.007 MB / 0.9944 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02541/3.293, allocations: 14.79 MB / 1.009 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/3.315, allocations: 9.828 MB / 1.018 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003337/3.316, allocations: 84 kB / 1.019 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.06312/3.379, allocations: 23.06 MB / 1.041 GB, free: 260 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002642/3.379, allocations: 128 kB / 1.041 GB, free: 132 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004809/3.38, allocations: 288.6 kB / 1.041 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/3.391, allocations: 3.281 MB / 1.045 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01897/3.41, allocations: 3.735 MB / 1.048 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3547/3.765, allocations: 22.46 MB / 1.07 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01754/3.783, allocations: 0.9316 MB / 1.071 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004139/3.787, allocations: 0.8721 MB / 1.072 GB, free: 142.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1877): * Single equations (assignments): 1870 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006066/3.793, allocations: 1.265 MB / 1.073 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003598/3.797, allocations: 1.064 MB / 1.074 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03782/3.834, allocations: 14.63 MB / 1.089 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/3.835, allocations: 68.25 kB / 1.089 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/3.835, allocations: 23 kB / 1.089 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001518/3.835, allocations: 38.88 kB / 1.089 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08208/3.917, allocations: 32.38 MB / 1.12 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.265e-05/3.917, allocations: 9.906 kB / 1.12 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009245/3.926, allocations: 1.305 MB / 1.122 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/3.937, allocations: 2.821 MB / 1.124 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001648/3.938, allocations: 119.9 kB / 1.125 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03548/3.974, allocations: 21.02 MB / 1.145 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/3.974, allocations: 15.41 kB / 1.145 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04903/4.023, allocations: 26.13 MB / 1.171 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007881/4.031, allocations: 2.189 MB / 1.173 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004282/4.035, allocations: 123.5 kB / 1.173 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009223/4.044, allocations: 455.5 kB / 1.173 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00217/4.047, allocations: 418.2 kB / 1.174 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001578/4.048, allocations: 172.4 kB / 1.174 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01941/4.068, allocations: 7.588 MB / 1.181 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.186e-06/4.068, allocations: 3.594 kB / 1.181 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01968/4.087, allocations: 3.082 MB / 1.184 GB, free: 110.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/4.089, allocations: 302.6 kB / 1.185 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03145/4.121, allocations: 16.03 MB / 1.2 GB, free: 97.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/4.121, allocations: 0 / 1.2 GB, free: 97.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0149/4.136, allocations: 7.002 MB / 1.207 GB, free: 91.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009628/4.146, allocations: 1.325 MB / 1.208 GB, free: 90.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0618/4.207, allocations: 26.88 MB / 1.235 GB, free: 66.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02027/4.228, allocations: 8.779 MB / 1.243 GB, free: 60.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005949/4.234, allocations: 0.835 MB / 1.244 GB, free: 59.51 MB / 0.5573 GB Notification: Performance of SimCode: time 1.732e-06/4.234, allocations: 0 / 1.244 GB, free: 59.51 MB / 0.5573 GB Notification: Performance of Templates: time 1.191/5.424, allocations: 365.9 MB / 1.601 GB, free: 73.66 MB / 0.5573 GB