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_3.2.2_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.122e-05, allocations: 4 kB / 308 MB, free: 15.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3724, allocations: 54.87 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01862/0.391, allocations: 11.45 MB / 374.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.402, allocations: 3.875 MB / 378.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.4047, allocations: 59.88 kB / 378.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.407, allocations: 0.5327 MB / 378.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.4138, allocations: 1.749 MB / 380.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.4158, allocations: 407.2 kB / 380.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.4193, allocations: 1.084 MB / 382 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.422, allocations: 1.183 MB / 383.2 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.4233, allocations: 490.8 kB / 383.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.4251, allocations: 0.8104 MB / 384.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4276, allocations: 0.7957 MB / 385.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008098/0.4284, allocations: 84 kB / 385.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.43, allocations: 0.857 MB / 386.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007306/0.4308, allocations: 152 kB / 386.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005379/0.4362, allocations: 3.053 MB / 389.4 MB, free: 3.211 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4362, allocations: 0 / 389.4 MB, free: 3.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4363, allocations: 0 / 389.4 MB, free: 3.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000143/0.4364, allocations: 0 / 389.4 MB, free: 3.211 MB / 314.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.008479/0.4449, allocations: 2.545 MB / 391.9 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.445, allocations: 12.03 kB / 392 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.458, allocations: 1.982 MB / 393.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00452/0.4626, allocations: 1.562 MB / 395.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4628, allocations: 127 kB / 395.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008348/0.4636, allocations: 159.8 kB / 395.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.4798, allocations: 6.484 MB / 402.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.4799, allocations: 39.64 kB / 402.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/0.4804, allocations: 87.89 kB / 402.4 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003901/0.4843, allocations: 1.382 MB / 403.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.5017, allocations: 5.744 MB / 409.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04852/0.5503, allocations: 26.74 MB / 436.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.5579, allocations: 2.153 MB / 438.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.5582, allocations: 174.5 kB / 438.6 MB, free: 368 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.5583, allocations: 46.83 kB / 438.6 MB, free: 312 kB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 4.619e-06/0.5583, allocations: 0 / 438.6 MB, free: 312 kB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.02891/0.5872, allocations: 6.695 MB / 445.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.5874, allocations: 137 kB / 445.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006296/0.5937, allocations: 2.685 MB / 448.1 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003181/0.594, allocations: 41.7 kB / 448.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.5964, allocations: 2.081 MB / 450.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/0.5972, allocations: 450.4 kB / 450.7 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/0.5977, allocations: 84 kB / 450.8 MB, free: 3.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003867/0.5981, allocations: 0.4966 MB / 451.3 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.6022, allocations: 1.402 MB / 452.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006737/0.609, allocations: 4.229 MB / 456.9 MB, free: 12.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006336/0.6153, allocations: 2.384 MB / 459.3 MB, free: 10.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.6155, allocations: 28 kB / 459.3 MB, free: 9.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01571/0.6312, allocations: 5.366 MB / 464.7 MB, free: 4.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.6314, allocations: 48 kB / 464.7 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.6316, allocations: 104 kB / 464.8 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.6318, allocations: 151.9 kB / 465 MB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008421/0.6402, allocations: 1.212 MB / 466.2 MB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002679/0.6406, allocations: 203.2 kB / 466.4 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/0.6451, allocations: 239.9 kB / 466.6 MB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009452/0.6461, allocations: 280 kB / 466.9 MB, free: 2.398 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 15 (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],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 (550): * Single equations (assignments): 547 * 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.003583/0.6497, allocations: 1.352 MB / 468.3 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007089/0.6504, allocations: 240.8 kB / 468.5 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.6539, allocations: 1.234 MB / 469.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/0.654, allocations: 20 kB / 469.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.654, allocations: 0 / 469.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.654, allocations: 3.984 kB / 469.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.668, allocations: 4.546 MB / 474.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.6681, allocations: 8.531 kB / 474.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/0.6718, allocations: 367.4 kB / 474.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-05/0.6718, allocations: 12.08 kB / 474.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.672, allocations: 27.98 kB / 474.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/0.6721, allocations: 8 kB / 474.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/0.6721, allocations: 15.88 kB / 474.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/0.6775, allocations: 2.607 MB / 477.3 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/0.6793, allocations: 473.6 kB / 477.8 MB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008193/0.6802, allocations: 20 kB / 477.8 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/0.6823, allocations: 59.91 kB / 477.9 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.6827, allocations: 67.81 kB / 477.9 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.6829, allocations: 36 kB / 478 MB, free: 7.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005377/0.6883, allocations: 1.897 MB / 479.9 MB, free: 5.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.624e-06/0.6883, allocations: 0 / 479.9 MB, free: 5.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00476/0.6931, allocations: 0.6406 MB / 480.5 MB, free: 4.492 MB / 410.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.0007607/0.6939, allocations: 167 kB / 480.7 MB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008742/0.7027, allocations: 3.218 MB / 483.9 MB, free: 1.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.7027, allocations: 4 kB / 483.9 MB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.7048, allocations: 0.783 MB / 484.7 MB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.7072, allocations: 249.6 kB / 484.9 MB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.7236, allocations: 6.776 MB / 491.7 MB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/0.7276, allocations: 2.268 MB / 494 MB, free: 6.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.729, allocations: 211.4 kB / 494.2 MB, free: 6.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.729, allocations: 0 / 494.2 MB, free: 6.703 MB / 426.7 MB Notification: Performance of Templates: time 0.3974/1.126, allocations: 36.61 MB / 0.5183 GB, free: 97.05 MB / 426.7 MB