Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.219e-05, allocations: 8 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3857, allocations: 54.87 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03397/0.4197, allocations: 20.85 MB / 383.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.4368, allocations: 5.53 MB / 389.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/0.442, allocations: 127.8 kB / 389.4 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.4462, allocations: 1.139 MB / 390.5 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.4581, allocations: 2.898 MB / 393.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.4612, allocations: 0.5382 MB / 393.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005/0.4663, allocations: 1.439 MB / 395.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005361/0.4717, allocations: 2.438 MB / 397.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.4733, allocations: 0.6545 MB / 398.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.4756, allocations: 1.048 MB / 399.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.4775, allocations: 0.5033 MB / 400 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008544/0.4784, allocations: 92 kB / 400.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002338/0.4808, allocations: 1.321 MB / 401.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.4819, allocations: 215.9 kB / 401.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008342/0.4902, allocations: 4.988 MB / 406.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4903, allocations: 0 / 406.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4903, allocations: 4 kB / 406.6 MB, free: 1.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000305/0.4907, allocations: 0 / 406.6 MB, free: 1.934 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01097/0.5016, allocations: 3.519 MB / 410.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5017, allocations: 8.031 kB / 410.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02257/0.5243, allocations: 3.66 MB / 413.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006091/0.5304, allocations: 1.83 MB / 415.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.5308, allocations: 197 kB / 415.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.5324, allocations: 267.7 kB / 416.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/0.5594, allocations: 10.51 MB / 426.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.5596, allocations: 31.73 kB / 426.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/0.5609, allocations: 135.8 kB / 426.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007384/0.5683, allocations: 2.431 MB / 429.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/0.5973, allocations: 9.357 MB / 438.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07738/0.6747, allocations: 38.86 MB / 477.4 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.6851, allocations: 3.495 MB / 480.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/0.7011, allocations: 5.486 MB / 486.4 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.7012, allocations: 55.05 kB / 486.5 MB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 5.59e-06/0.7012, allocations: 0 / 486.5 MB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.0134/0.7146, allocations: 3.865 MB / 490.3 MB, free: 11.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.7148, allocations: 166.8 kB / 490.5 MB, free: 11.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008519/0.7233, allocations: 3.503 MB / 494 MB, free: 8.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/0.7237, allocations: 41.7 kB / 494 MB, free: 7.969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003735/0.7274, allocations: 3.295 MB / 497.3 MB, free: 4.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.7287, allocations: 0.6213 MB / 497.9 MB, free: 3.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006636/0.7294, allocations: 124 kB / 498.1 MB, free: 3.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006109/0.73, allocations: 0.6036 MB / 498.7 MB, free: 3.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005581/0.7356, allocations: 1.973 MB / 0.4889 GB, free: 1.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3252/1.061, allocations: 6.227 MB / 0.495 GB, free: 113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/1.07, allocations: 3.511 MB / 0.4984 GB, free: 111.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003584/1.07, allocations: 47.06 kB / 0.4985 GB, free: 111.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02105/1.091, allocations: 7.783 MB / 0.5061 GB, free: 108.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.092, allocations: 73.72 kB / 0.5061 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/1.092, allocations: 155.3 kB / 0.5063 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/1.092, allocations: 224.8 kB / 0.5065 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008681/1.101, allocations: 1.502 MB / 0.508 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003187/1.101, allocations: 297.9 kB / 0.5082 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006793/1.108, allocations: 0.9466 MB / 0.5092 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.109, allocations: 414 kB / 0.5096 GB, free: 108.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (816): * Single equations (assignments): 808 * Array equations: 8 * 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.00588/1.115, allocations: 2.23 MB / 0.5117 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008233/1.116, allocations: 311.3 kB / 0.512 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/1.118, allocations: 416.3 kB / 0.5124 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/1.118, allocations: 40.3 kB / 0.5125 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.118, allocations: 0.6875 kB / 0.5125 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.118, allocations: 11.55 kB / 0.5125 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/1.132, allocations: 5.695 MB / 0.518 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/1.132, allocations: 4 kB / 0.5181 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.133, allocations: 211.8 kB / 0.5183 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/1.134, allocations: 15.94 kB / 0.5183 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.134, allocations: 29.09 kB / 0.5183 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/1.134, allocations: 12 kB / 0.5183 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.134, allocations: 11.94 kB / 0.5183 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/1.138, allocations: 3.231 MB / 0.5215 GB, free: 98.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009689/1.139, allocations: 400 kB / 0.5219 GB, free: 97.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007071/1.14, allocations: 24.94 kB / 0.5219 GB, free: 97.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.142, allocations: 67.75 kB / 0.5219 GB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/1.142, allocations: 91.17 kB / 0.522 GB, free: 97.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.142, allocations: 41.98 kB / 0.5221 GB, free: 97.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005202/1.148, allocations: 2.38 MB / 0.5244 GB, free: 95.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.148, allocations: 0 / 0.5244 GB, free: 95.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006616/1.154, allocations: 1.12 MB / 0.5255 GB, free: 94.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 6 * 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.0005841/1.155, allocations: 164.2 kB / 0.5256 GB, free: 94.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009888/1.165, allocations: 4.485 MB / 0.53 GB, free: 89.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.165, allocations: 4 kB / 0.53 GB, free: 89.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.167, allocations: 0.9538 MB / 0.531 GB, free: 88.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.169, allocations: 337.6 kB / 0.5313 GB, free: 88.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.192, allocations: 10.74 MB / 0.5418 GB, free: 77.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006457/1.198, allocations: 3.346 MB / 0.545 GB, free: 74.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.2, allocations: 291.4 kB / 0.5453 GB, free: 74.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/1.2, allocations: 0 / 0.5453 GB, free: 74.08 MB / 426.7 MB Notification: Performance of Templates: time 0.09996/1.3, allocations: 52.64 MB / 0.5967 GB, free: 21.4 MB / 426.7 MB