Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.649e-05, allocations: 0 / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01912/0.1494, allocations: 11.92 MB / 422.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3479/0.4974, allocations: 3.968 MB / 426.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.5006, allocations: 61.12 kB / 426.9 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.503, allocations: 0.5381 MB / 427.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008524/0.5116, allocations: 1.851 MB / 429.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.5137, allocations: 399.6 kB / 429.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.5173, allocations: 1.081 MB / 430.7 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.5205, allocations: 1.19 MB / 431.9 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.5222, allocations: 491.7 kB / 432.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.5245, allocations: 0.8015 MB / 433.2 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.5276, allocations: 0.7527 MB / 433.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.5289, allocations: 82.19 kB / 434 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.5308, allocations: 0.8584 MB / 434.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.5321, allocations: 150.2 kB / 435 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006274/0.5384, allocations: 3.033 MB / 438.1 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5385, allocations: 1.062 kB / 438.1 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5385, allocations: 0 / 438.1 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001846/0.5387, allocations: 0 / 438.1 MB, free: 1.988 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.009375/0.5481, allocations: 2.522 MB / 440.6 MB, free: 396 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5482, allocations: 9.438 kB / 440.6 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.5649, allocations: 2.052 MB / 442.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.5698, allocations: 1.413 MB / 444.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.5701, allocations: 125 kB / 444.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.5714, allocations: 158 kB / 444.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.5904, allocations: 6.482 MB / 450.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.5906, allocations: 32.97 kB / 450.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.5918, allocations: 85.61 kB / 450.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004997/0.5968, allocations: 1.445 MB / 452.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/0.6159, allocations: 5.75 MB / 458.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05854/0.6745, allocations: 26.82 MB / 484.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.6854, allocations: 2.161 MB / 487.1 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.6859, allocations: 177.1 kB / 487.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.686, allocations: 50.83 kB / 487.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 6.161e-06/0.686, allocations: 0 / 487.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.04257/0.7286, allocations: 6.64 MB / 494 MB, free: 1.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.7287, allocations: 141 kB / 494.1 MB, free: 1.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/0.7361, allocations: 2.69 MB / 496.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003891/0.7366, allocations: 41.7 kB / 496.8 MB, free: 15.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002686/0.7393, allocations: 2.086 MB / 498.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009189/0.7403, allocations: 458.2 kB / 499.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005895/0.7409, allocations: 90.89 kB / 499.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004531/0.7413, allocations: 0.4928 MB / 500 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004611/0.746, allocations: 1.41 MB / 0.4896 GB, free: 10.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007411/0.7534, allocations: 4.252 MB / 0.4938 GB, free: 4.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/0.7601, allocations: 2.386 MB / 0.4961 GB, free: 2.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.294e-05/0.7602, allocations: 28 kB / 0.4961 GB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01641/0.7767, allocations: 5.375 MB / 0.5014 GB, free: 13.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.7768, allocations: 56.19 kB / 0.5014 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/0.777, allocations: 108 kB / 0.5015 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.7772, allocations: 148.1 kB / 0.5017 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009004/0.7862, allocations: 1.216 MB / 0.5029 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002538/0.7865, allocations: 199.2 kB / 0.503 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/0.7913, allocations: 247.5 kB / 0.5033 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009069/0.7923, allocations: 280 kB / 0.5036 GB, free: 10.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003616/0.7959, allocations: 1.359 MB / 0.5049 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/0.7966, allocations: 240.8 kB / 0.5051 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.8, allocations: 1.238 MB / 0.5063 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.8001, allocations: 15.94 kB / 0.5063 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.8001, allocations: 0 / 0.5063 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.8001, allocations: 7.984 kB / 0.5063 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.8134, allocations: 4.554 MB / 0.5108 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.8134, allocations: 4 kB / 0.5108 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003651/0.8171, allocations: 367.8 kB / 0.5111 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/0.8171, allocations: 23.95 kB / 0.5112 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.8173, allocations: 20 kB / 0.5112 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.915e-05/0.8173, allocations: 15.94 kB / 0.5112 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.8173, allocations: 4 kB / 0.5112 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.823, allocations: 2.596 MB / 0.5137 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/0.8239, allocations: 317.8 kB / 0.514 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/0.8245, allocations: 23.98 kB / 0.5141 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.8261, allocations: 58.75 kB / 0.5141 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.8264, allocations: 67.81 kB / 0.5142 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.8265, allocations: 39.98 kB / 0.5142 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004828/0.8314, allocations: 1.893 MB / 0.5161 GB, free: 13.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8314, allocations: 0 / 0.5161 GB, free: 13.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004945/0.8364, allocations: 0.6523 MB / 0.5167 GB, free: 13.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006234/0.837, allocations: 179.9 kB / 0.5169 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008666/0.8457, allocations: 3.224 MB / 0.52 GB, free: 9.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.8458, allocations: 0 / 0.52 GB, free: 9.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.8479, allocations: 0.7895 MB / 0.5208 GB, free: 8.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.8503, allocations: 260 kB / 0.521 GB, free: 8.621 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.8674, allocations: 6.784 MB / 0.5277 GB, free: 1.742 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/0.8723, allocations: 2.26 MB / 0.5299 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.8738, allocations: 211.3 kB / 0.5301 GB, free: 15.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8738, allocations: 0 / 0.5301 GB, free: 15.24 MB / 458.7 MB Notification: Performance of Templates: time 0.08483/0.9586, allocations: 36.69 MB / 0.5659 GB, free: 10.54 MB / 490.7 MB