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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 194.9 MB / 208 MB, free: 3.23 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.793e-05, allocations: 3.984 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4587, allocations: 86.71 MB / 386.6 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.459, allocations: 83.5 kB / 386.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2544/0.7134, allocations: 57.69 MB / 444.4 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.7135, allocations: 4 kB / 444.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001214/0.7136, allocations: 47.94 kB / 444.4 MB, free: 9.723 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.008334/0.722, allocations: 2.611 MB / 447 MB, free: 7.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.722, allocations: 12.03 kB / 447 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.7326, allocations: 1.923 MB / 449 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.7438, allocations: 3.405 MB / 452.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.7441, allocations: 184.9 kB / 452.5 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.7453, allocations: 243.2 kB / 452.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.7611, allocations: 6.734 MB / 459.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.7613, allocations: 43.59 kB / 459.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005755/0.7619, allocations: 119.9 kB / 459.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001346/0.7632, allocations: 0.7267 MB / 460.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.7775, allocations: 5.724 MB / 466.1 MB, free: 5.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04627/0.8238, allocations: 31.14 MB / 497.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00793/0.8318, allocations: 2.595 MB / 499.9 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/0.8342, allocations: 1.196 MB / 0.4893 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.8465, allocations: 5.142 MB / 0.4943 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.035e-05/0.8466, allocations: 42.56 kB / 0.4944 GB, free: 11.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 8.287e-06/0.8466, allocations: 4 kB / 0.4944 GB, free: 11.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.03139/0.878, allocations: 8.013 MB / 0.5022 GB, free: 3.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8782, allocations: 137 kB / 0.5023 GB, free: 3.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/0.8834, allocations: 2.372 MB / 0.5047 GB, free: 1.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.8837, allocations: 37.7 kB / 0.5047 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2179/1.102, allocations: 2.033 MB / 0.5067 GB, free: 98.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/1.102, allocations: 432.9 kB / 0.5071 GB, free: 98.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/1.103, allocations: 78.12 kB / 0.5072 GB, free: 98.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/1.103, allocations: 486.4 kB / 0.5076 GB, free: 97.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.106, allocations: 1.384 MB / 0.509 GB, free: 97.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004595/1.11, allocations: 3.941 MB / 0.5128 GB, free: 94.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/1.115, allocations: 2.321 MB / 0.5151 GB, free: 94.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/1.116, allocations: 28.75 kB / 0.5151 GB, free: 94.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01547/1.131, allocations: 5.614 MB / 0.5206 GB, free: 94.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.131, allocations: 45.34 kB / 0.5206 GB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.131, allocations: 91.62 kB / 0.5207 GB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/1.134, allocations: 0.8315 MB / 0.5215 GB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/1.139, allocations: 0.9347 MB / 0.5225 GB, free: 94.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006943/1.146, allocations: 4.276 MB / 0.5266 GB, free: 92.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/1.15, allocations: 289.6 kB / 0.5269 GB, free: 92.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000788/1.151, allocations: 258.1 kB / 0.5272 GB, free: 92.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (493): * Single equations (assignments): 489 * 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.0007627/1.152, allocations: 421.5 kB / 0.5276 GB, free: 92.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005067/1.152, allocations: 231.3 kB / 0.5278 GB, free: 92.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/1.157, allocations: 2.113 MB / 0.5298 GB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.962e-05/1.157, allocations: 11.28 kB / 0.5299 GB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.157, allocations: 3.219 kB / 0.5299 GB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.158, allocations: 7.188 kB / 0.5299 GB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.17, allocations: 5.065 MB / 0.5348 GB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.17, allocations: 3.938 kB / 0.5348 GB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/1.171, allocations: 145 kB / 0.535 GB, free: 91.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/1.174, allocations: 0.6766 MB / 0.5356 GB, free: 91.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/1.174, allocations: 22.77 kB / 0.5356 GB, free: 91.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006051/1.18, allocations: 3.825 MB / 0.5394 GB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.18, allocations: 11.31 kB / 0.5394 GB, free: 89.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/1.188, allocations: 4.121 MB / 0.5434 GB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.189, allocations: 462.4 kB / 0.5438 GB, free: 87.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/1.19, allocations: 11.94 kB / 0.5439 GB, free: 87.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.191, allocations: 92.8 kB / 0.5439 GB, free: 87.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/1.191, allocations: 57.39 kB / 0.544 GB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.191, allocations: 33.16 kB / 0.544 GB, free: 87.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003089/1.194, allocations: 1.642 MB / 0.5456 GB, free: 86.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.194, allocations: 0 / 0.5456 GB, free: 86.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004638/1.199, allocations: 0.6766 MB / 0.5463 GB, free: 86.74 MB / 394.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.0005013/1.2, allocations: 186.2 kB / 0.5465 GB, free: 86.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006516/1.206, allocations: 3.256 MB / 0.5497 GB, free: 85.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.206, allocations: 7.188 kB / 0.5497 GB, free: 85.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.208, allocations: 1.02 MB / 0.5507 GB, free: 85.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.21, allocations: 223.9 kB / 0.5509 GB, free: 84.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.22, allocations: 4.545 MB / 0.5553 GB, free: 83.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/1.223, allocations: 2.288 MB / 0.5575 GB, free: 82.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004328/1.227, allocations: 1.313 MB / 0.5588 GB, free: 82.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007549/1.228, allocations: 157.5 kB / 0.559 GB, free: 82.17 MB / 394.7 MB Notification: Performance of SimCode: time 2.891e-06/1.228, allocations: 0 / 0.559 GB, free: 82.17 MB / 394.7 MB Notification: Performance of Templates: time 0.06179/1.29, allocations: 21.83 MB / 0.5803 GB, free: 69.11 MB / 394.7 MB