Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.113e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3692, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.5346, allocations: 105.7 MB / 487.9 MB, free: 2.781 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5349, allocations: 75.97 kB / 488 MB, free: 2.707 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7824/1.317, allocations: 137.8 MB / 0.6111 GB, free: 63.44 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.313e-06/1.317, allocations: 0 / 0.6111 GB, free: 63.44 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004037/1.318, allocations: 140 kB / 0.6113 GB, free: 63.3 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02052/1.338, allocations: 6.631 MB / 0.6177 GB, free: 56.59 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.338, allocations: 12.03 kB / 0.6177 GB, free: 56.58 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04707/1.386, allocations: 9.495 MB / 0.627 GB, free: 47.06 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/1.409, allocations: 8.733 MB / 0.6355 GB, free: 38.25 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/1.409, allocations: 0.5132 MB / 0.636 GB, free: 37.73 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/1.412, allocations: 0.6832 MB / 0.6367 GB, free: 37.05 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/1.448, allocations: 15.9 MB / 0.6522 GB, free: 19.68 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004323/1.448, allocations: 99.03 kB / 0.6523 GB, free: 19.58 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002206/1.451, allocations: 335.8 kB / 0.6527 GB, free: 19.25 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/1.453, allocations: 1.463 MB / 0.6541 GB, free: 17.79 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/1.482, allocations: 12.38 MB / 0.6662 GB, free: 5.391 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7684/2.251, allocations: 70.79 MB / 0.7353 GB, free: 63.92 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/2.27, allocations: 5.811 MB / 0.741 GB, free: 63.23 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/2.275, allocations: 3.031 MB / 0.7439 GB, free: 63.19 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/2.275, allocations: 49.67 kB / 0.744 GB, free: 63.19 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/2.275, allocations: 63.25 kB / 0.744 GB, free: 63.15 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=242): time 6.531e-06/2.275, allocations: 0 / 0.744 GB, free: 63.15 MB / 0.4949 GB Notification: Performance of matching and sorting (n=260): time 0.06625/2.341, allocations: 18.98 MB / 0.7626 GB, free: 58.01 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/2.341, allocations: 260.7 kB / 0.7628 GB, free: 57.73 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/2.355, allocations: 6.105 MB / 0.7688 GB, free: 57.22 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/2.355, allocations: 66.92 kB / 0.7689 GB, free: 57.19 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003974/2.359, allocations: 4.884 MB / 0.7736 GB, free: 54.77 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/2.36, allocations: 1.006 MB / 0.7746 GB, free: 54.21 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008254/2.361, allocations: 167 kB / 0.7748 GB, free: 54.21 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005509/2.362, allocations: 0.664 MB / 0.7754 GB, free: 53.88 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006017/2.368, allocations: 2.789 MB / 0.7781 GB, free: 53.86 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008749/2.377, allocations: 7.881 MB / 0.7858 GB, free: 47.23 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008938/2.386, allocations: 4.671 MB / 0.7904 GB, free: 46.16 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001689/2.386, allocations: 52.97 kB / 0.7905 GB, free: 46.16 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.02526/2.411, allocations: 10.57 MB / 0.8008 GB, free: 43.31 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/2.411, allocations: 85.78 kB / 0.8009 GB, free: 43.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/2.412, allocations: 182.2 kB / 0.801 GB, free: 43.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/2.414, allocations: 0.8126 MB / 0.8018 GB, free: 43.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008495/2.423, allocations: 1.925 MB / 0.8037 GB, free: 42.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/2.434, allocations: 8.318 MB / 0.8118 GB, free: 37.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008856/2.443, allocations: 456 kB / 0.8123 GB, free: 36.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/2.444, allocations: 0.5083 MB / 0.8128 GB, free: 36.59 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1036): * Single equations (assignments): 1030 * 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: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001632/2.446, allocations: 0.7632 MB / 0.8135 GB, free: 35.83 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/2.447, allocations: 0.586 MB / 0.8141 GB, free: 35.24 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/2.456, allocations: 4.27 MB / 0.8182 GB, free: 31.68 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/2.456, allocations: 28 kB / 0.8183 GB, free: 31.66 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/2.456, allocations: 14.92 kB / 0.8183 GB, free: 31.65 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/2.456, allocations: 11.06 kB / 0.8183 GB, free: 31.65 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/2.481, allocations: 11.16 MB / 0.8292 GB, free: 22.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/2.481, allocations: 4 kB / 0.8292 GB, free: 22.57 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00275/2.484, allocations: 408.8 kB / 0.8296 GB, free: 22.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/2.486, allocations: 0.4913 MB / 0.8301 GB, free: 21.87 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/2.487, allocations: 53.42 kB / 0.8301 GB, free: 21.83 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/2.496, allocations: 7.385 MB / 0.8373 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.288e-06/2.496, allocations: 0 / 0.8373 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/2.51, allocations: 7.62 MB / 0.8448 GB, free: 7.836 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00319/2.513, allocations: 0.9924 MB / 0.8457 GB, free: 6.902 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/2.515, allocations: 44 kB / 0.8458 GB, free: 6.859 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003995/2.519, allocations: 145 kB / 0.8459 GB, free: 6.766 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006934/2.52, allocations: 141.2 kB / 0.8461 GB, free: 6.68 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/2.52, allocations: 67.52 kB / 0.8461 GB, free: 6.617 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00989/2.53, allocations: 4.347 MB / 0.8504 GB, free: 2.793 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.202e-06/2.53, allocations: 3.938 kB / 0.8504 GB, free: 2.789 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01007/2.54, allocations: 1.527 MB / 0.8519 GB, free: 1.273 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (215): * Single equations (assignments): 209 * 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: 3 {(1,100.0%) 10,(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.0007573/2.541, allocations: 195.5 kB / 0.8521 GB, free: 1.09 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01646/2.557, allocations: 6.931 MB / 0.8588 GB, free: 11.07 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/2.558, allocations: 0 / 0.8588 GB, free: 11.07 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.005018/2.563, allocations: 2.362 MB / 0.8611 GB, free: 8.891 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005023/2.568, allocations: 0.7554 MB / 0.8619 GB, free: 8.25 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03221/2.6, allocations: 12.02 MB / 0.8736 GB, free: 13.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/2.612, allocations: 5.042 MB / 0.8785 GB, free: 9.844 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01084/2.623, allocations: 2.758 MB / 0.8812 GB, free: 8.07 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/2.625, allocations: 393.5 kB / 0.8816 GB, free: 7.703 MB / 0.5262 GB Notification: Performance of SimCode: time 1.768e-06/2.625, allocations: 0 / 0.8816 GB, free: 7.703 MB / 0.5262 GB Notification: Performance of Templates: time 0.1716/2.797, allocations: 53.8 MB / 0.9341 GB, free: 4.133 MB / 0.5731 GB