Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.751e-05, allocations: 8.922 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 54.85 MB / 359.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.614, allocations: 100.2 MB / 460 MB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.6142, allocations: 76.48 kB / 460 MB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2835/0.8978, allocations: 71.81 MB / 0.5194 GB, free: 4.371 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.693e-06/0.8979, allocations: 0 / 0.5194 GB, free: 4.371 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001729/0.8981, allocations: 68 kB / 0.5195 GB, free: 4.305 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009951/0.908, allocations: 3.358 MB / 0.5227 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9081, allocations: 8.031 kB / 0.5227 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.279/1.187, allocations: 2.08 MB / 0.5248 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.2, allocations: 4.053 MB / 0.5287 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/1.201, allocations: 265.8 kB / 0.529 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/1.202, allocations: 346 kB / 0.5293 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/1.223, allocations: 8.755 MB / 0.5379 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/1.223, allocations: 60.69 kB / 0.5379 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/1.224, allocations: 174 kB / 0.5381 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001662/1.226, allocations: 0.8683 MB / 0.5389 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.244, allocations: 6.894 MB / 0.5457 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/1.29, allocations: 42.6 MB / 0.5873 GB, free: 71.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009091/1.299, allocations: 3.15 MB / 0.5903 GB, free: 70.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/1.301, allocations: 1.413 MB / 0.5917 GB, free: 69.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00752/1.309, allocations: 4.092 MB / 0.5957 GB, free: 67.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.309, allocations: 46.59 kB / 0.5958 GB, free: 67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 5.376e-06/1.309, allocations: 0 / 0.5958 GB, free: 67 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.1028/1.412, allocations: 9.392 MB / 0.6049 GB, free: 63.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.412, allocations: 165.8 kB / 0.6051 GB, free: 62.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00651/1.419, allocations: 3.277 MB / 0.6083 GB, free: 61.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002584/1.419, allocations: 42.19 kB / 0.6083 GB, free: 61.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/1.421, allocations: 2.73 MB / 0.611 GB, free: 59.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006286/1.422, allocations: 0.5028 MB / 0.6115 GB, free: 59.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/1.422, allocations: 103 kB / 0.6116 GB, free: 59.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/1.422, allocations: 0.5305 MB / 0.6121 GB, free: 58.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/1.426, allocations: 1.631 MB / 0.6137 GB, free: 58.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005488/1.431, allocations: 4.993 MB / 0.6186 GB, free: 52.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005409/1.437, allocations: 2.855 MB / 0.6214 GB, free: 51.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.722e-05/1.437, allocations: 37.44 kB / 0.6214 GB, free: 51.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01509/1.452, allocations: 6.206 MB / 0.6275 GB, free: 46.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/1.452, allocations: 56.84 kB / 0.6275 GB, free: 46.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.452, allocations: 124 kB / 0.6276 GB, free: 46.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007741/1.453, allocations: 340.4 kB / 0.628 GB, free: 45.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/1.458, allocations: 1.273 MB / 0.6292 GB, free: 44.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/1.461, allocations: 2.34 MB / 0.6315 GB, free: 42.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005182/1.466, allocations: 287.9 kB / 0.6318 GB, free: 42.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009845/1.467, allocations: 331.2 kB / 0.6321 GB, free: 42.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (656): * Single equations (assignments): 652 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008262/1.468, allocations: 0.5156 MB / 0.6326 GB, free: 41.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006672/1.469, allocations: 308 kB / 0.6329 GB, free: 41.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/1.474, allocations: 2.32 MB / 0.6351 GB, free: 39.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/1.474, allocations: 17.8 kB / 0.6352 GB, free: 39.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.474, allocations: 4 kB / 0.6352 GB, free: 39.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/1.474, allocations: 3.891 kB / 0.6352 GB, free: 39.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.488, allocations: 5.82 MB / 0.6408 GB, free: 34.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.488, allocations: 0 / 0.6408 GB, free: 34.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.489, allocations: 169.8 kB / 0.641 GB, free: 34.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/1.492, allocations: 0.7146 MB / 0.6417 GB, free: 34.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/1.492, allocations: 20 kB / 0.6417 GB, free: 34.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006733/1.499, allocations: 4.435 MB / 0.6461 GB, free: 30.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.499, allocations: 6.562 kB / 0.6461 GB, free: 30.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007897/1.507, allocations: 4.362 MB / 0.6503 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.509, allocations: 0.5298 MB / 0.6508 GB, free: 25.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/1.509, allocations: 16 kB / 0.6509 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.511, allocations: 78.25 kB / 0.6509 GB, free: 25.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/1.511, allocations: 61.56 kB / 0.651 GB, free: 25.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.511, allocations: 28 kB / 0.651 GB, free: 25.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004481/1.516, allocations: 2.273 MB / 0.6532 GB, free: 23.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.099e-06/1.516, allocations: 4 kB / 0.6532 GB, free: 23.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005653/1.521, allocations: 0.8144 MB / 0.654 GB, free: 22.89 MB / 458.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 (90): * Single equations (assignments): 86 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004493/1.522, allocations: 157.5 kB / 0.6542 GB, free: 22.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007038/1.529, allocations: 3.74 MB / 0.6578 GB, free: 19.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.572e-06/1.529, allocations: 0 / 0.6578 GB, free: 19.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.531, allocations: 1.054 MB / 0.6589 GB, free: 18.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/1.533, allocations: 359 kB / 0.6592 GB, free: 18.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.546, allocations: 5.823 MB / 0.6649 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/1.549, allocations: 2.823 MB / 0.6677 GB, free: 9.676 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005152/1.555, allocations: 1.654 MB / 0.6693 GB, free: 8.031 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009287/1.556, allocations: 199.4 kB / 0.6695 GB, free: 7.836 MB / 458.7 MB Notification: Performance of SimCode: time 1.728e-06/1.556, allocations: 4 kB / 0.6695 GB, free: 7.832 MB / 458.7 MB Notification: Performance of Templates: time 0.08308/1.639, allocations: 28.24 MB / 0.697 GB, free: 12.1 MB / 490.7 MB