Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.994e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08574, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4698, allocations: 92.45 MB / 409.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4701, allocations: 87.08 kB / 409.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.256/0.7261, allocations: 58.74 MB / 468.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7262, allocations: 0 / 468.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.7263, allocations: 51.98 kB / 468.3 MB, free: 7.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.008379/0.7347, allocations: 2.631 MB / 470.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.7348, allocations: 12.03 kB / 470.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.7459, allocations: 1.923 MB / 472.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.7573, allocations: 3.424 MB / 476.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.7577, allocations: 184.7 kB / 476.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.7588, allocations: 239.8 kB / 476.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.7749, allocations: 6.752 MB / 483.4 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.7751, allocations: 35.69 kB / 483.4 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006498/0.7758, allocations: 123.9 kB / 483.6 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00146/0.7772, allocations: 0.7228 MB / 484.3 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.7917, allocations: 5.728 MB / 490 MB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04722/0.839, allocations: 31.25 MB / 0.509 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2348/1.074, allocations: 2.592 MB / 0.5116 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/1.076, allocations: 1.197 MB / 0.5127 GB, free: 117.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/1.088, allocations: 5.146 MB / 0.5178 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.088, allocations: 44.08 kB / 0.5178 GB, free: 116 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 5.695e-06/1.088, allocations: 0.5938 kB / 0.5178 GB, free: 116 MB / 426.7 MB Notification: Performance of matching and sorting (n=105): time 0.02545/1.113, allocations: 8.039 MB / 0.5257 GB, free: 114.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.113, allocations: 143.2 kB / 0.5258 GB, free: 114 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/1.118, allocations: 2.392 MB / 0.5281 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.118, allocations: 45.89 kB / 0.5282 GB, free: 113.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/1.119, allocations: 2.05 MB / 0.5302 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/1.12, allocations: 433.3 kB / 0.5306 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/1.12, allocations: 80.78 kB / 0.5307 GB, free: 112.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/1.121, allocations: 486.9 kB / 0.5311 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/1.123, allocations: 1.39 MB / 0.5325 GB, free: 112.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/1.127, allocations: 3.959 MB / 0.5364 GB, free: 108.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/1.131, allocations: 2.321 MB / 0.5386 GB, free: 108.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.727e-05/1.132, allocations: 28.22 kB / 0.5387 GB, free: 108.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01357/1.145, allocations: 5.64 MB / 0.5442 GB, free: 107.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/1.145, allocations: 44.34 kB / 0.5442 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.145, allocations: 92.91 kB / 0.5443 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003144/1.148, allocations: 0.8271 MB / 0.5451 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.153, allocations: 0.9462 MB / 0.546 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/1.16, allocations: 4.277 MB / 0.5502 GB, free: 105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/1.165, allocations: 284.8 kB / 0.5505 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007071/1.165, allocations: 261.4 kB / 0.5507 GB, free: 104.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (496): * Single equations (assignments): 492 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007228/1.166, allocations: 422.6 kB / 0.5511 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000509/1.167, allocations: 227.3 kB / 0.5513 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/1.172, allocations: 2.128 MB / 0.5534 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.172, allocations: 13.02 kB / 0.5534 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.172, allocations: 5.312 kB / 0.5534 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.172, allocations: 4.359 kB / 0.5534 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.184, allocations: 5.076 MB / 0.5584 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.184, allocations: 3.969 kB / 0.5584 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.185, allocations: 143.2 kB / 0.5585 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/1.188, allocations: 0.6764 MB / 0.5592 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/1.189, allocations: 24.36 kB / 0.5592 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006189/1.195, allocations: 3.836 MB / 0.563 GB, free: 99.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.848e-06/1.195, allocations: 7.094 kB / 0.563 GB, free: 99.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008056/1.203, allocations: 4.116 MB / 0.567 GB, free: 98.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.204, allocations: 461.6 kB / 0.5674 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.205, allocations: 20.28 kB / 0.5675 GB, free: 97.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.206, allocations: 78.06 kB / 0.5675 GB, free: 97.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.206, allocations: 59.97 kB / 0.5676 GB, free: 97.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.207, allocations: 29.08 kB / 0.5676 GB, free: 97.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003019/1.21, allocations: 1.667 MB / 0.5692 GB, free: 97.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.036e-06/1.21, allocations: 0 / 0.5692 GB, free: 97.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004476/1.214, allocations: 0.6813 MB / 0.5699 GB, free: 97.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004614/1.215, allocations: 186.3 kB / 0.5701 GB, free: 96.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006171/1.221, allocations: 3.267 MB / 0.5733 GB, free: 93.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/1.221, allocations: 0 / 0.5733 GB, free: 93.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.223, allocations: 1.022 MB / 0.5743 GB, free: 93.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.224, allocations: 238.5 kB / 0.5745 GB, free: 92.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/1.233, allocations: 4.559 MB / 0.579 GB, free: 88.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.236, allocations: 2.3 MB / 0.5812 GB, free: 86.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004484/1.241, allocations: 1.317 MB / 0.5825 GB, free: 86.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/1.242, allocations: 158.1 kB / 0.5826 GB, free: 85.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.978e-06/1.242, allocations: 0 / 0.5826 GB, free: 85.98 MB / 426.7 MB Notification: Performance of Templates: time 0.05807/1.3, allocations: 21.97 MB / 0.6041 GB, free: 67.94 MB / 426.7 MB