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_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.313e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 61.88 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.3625/0.5315, allocations: 21.3 MB / 432.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02013/0.5516, allocations: 5.648 MB / 437.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005619/0.5573, allocations: 128.2 kB / 438 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006654/0.5641, allocations: 1.161 MB / 439.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.5787, allocations: 2.959 MB / 442.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.5818, allocations: 0.5199 MB / 442.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005286/0.5871, allocations: 1.424 MB / 444.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.5927, allocations: 2.41 MB / 446.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.5943, allocations: 0.6326 MB / 447.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.5967, allocations: 0.9969 MB / 448.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.5988, allocations: 0.51 MB / 448.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008328/0.5996, allocations: 86.69 kB / 448.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.6019, allocations: 1.278 MB / 450 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.6032, allocations: 204.6 kB / 450.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008593/0.6118, allocations: 4.819 MB / 455 MB, free: 7.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6119, allocations: 0 / 455 MB, free: 7.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.6119, allocations: 0.9688 kB / 455 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002756/0.6122, allocations: 0 / 455 MB, free: 7.883 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01172/0.6239, allocations: 3.439 MB / 458.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.624, allocations: 13.56 kB / 458.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02232/0.6463, allocations: 3.642 MB / 462.1 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00661/0.653, allocations: 1.788 MB / 463.9 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.6533, allocations: 195.9 kB / 464.1 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.6552, allocations: 255.8 kB / 464.3 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02796/0.6832, allocations: 10.24 MB / 474.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.6834, allocations: 35.69 kB / 474.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.6846, allocations: 123.8 kB / 474.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007151/0.6918, allocations: 2.372 MB / 477.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03696/0.7288, allocations: 9.082 MB / 486.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08673/0.8156, allocations: 38.19 MB / 0.5121 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009799/0.8254, allocations: 3.386 MB / 0.5154 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/0.841, allocations: 5.207 MB / 0.5204 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.8411, allocations: 51.06 kB / 0.5205 GB, free: 11.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.931e-06/0.8411, allocations: 4 kB / 0.5205 GB, free: 11.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.01333/0.8545, allocations: 3.825 MB / 0.5242 GB, free: 7.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.8546, allocations: 174.7 kB / 0.5244 GB, free: 6.953 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009276/0.8639, allocations: 3.446 MB / 0.5278 GB, free: 3.516 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003433/0.8643, allocations: 45.69 kB / 0.5278 GB, free: 3.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00383/0.8681, allocations: 3.222 MB / 0.531 GB, free: 200 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.8695, allocations: 0.6022 MB / 0.5315 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008055/0.8703, allocations: 124 kB / 0.5317 GB, free: 15.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006307/0.8709, allocations: 0.5915 MB / 0.5322 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005689/0.8766, allocations: 1.941 MB / 0.5341 GB, free: 12.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/0.8867, allocations: 6.102 MB / 0.5401 GB, free: 4.719 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009031/0.8958, allocations: 3.455 MB / 0.5435 GB, free: 1.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/0.896, allocations: 43.78 kB / 0.5435 GB, free: 1.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02217/0.9182, allocations: 7.626 MB / 0.551 GB, free: 9.598 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.9184, allocations: 72.06 kB / 0.551 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/0.9186, allocations: 148 kB / 0.5512 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.9189, allocations: 216 kB / 0.5514 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008756/0.9277, allocations: 1.47 MB / 0.5528 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/0.9281, allocations: 290.9 kB / 0.5531 GB, free: 7.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006701/0.9348, allocations: 0.9122 MB / 0.554 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/0.9362, allocations: 404 kB / 0.5544 GB, free: 6.098 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (797): * Single equations (assignments): 789 * 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.005567/0.9418, allocations: 2.199 MB / 0.5565 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007931/0.9426, allocations: 311.9 kB / 0.5568 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.9437, allocations: 411.8 kB / 0.5572 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/0.9438, allocations: 36 kB / 0.5572 GB, free: 3.137 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.9438, allocations: 0 / 0.5572 GB, free: 3.137 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.9439, allocations: 11.91 kB / 0.5572 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.9593, allocations: 5.524 MB / 0.5626 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/0.9594, allocations: 11.94 kB / 0.5627 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.9613, allocations: 211.7 kB / 0.5629 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.047e-05/0.9613, allocations: 19.89 kB / 0.5629 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.9614, allocations: 24 kB / 0.5629 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.932e-05/0.9615, allocations: 12 kB / 0.5629 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.9615, allocations: 7.938 kB / 0.5629 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/0.9669, allocations: 3.113 MB / 0.566 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.968, allocations: 384.6 kB / 0.5663 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00068/0.9687, allocations: 27.98 kB / 0.5663 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.9705, allocations: 59.92 kB / 0.5664 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.9707, allocations: 88.34 kB / 0.5665 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.9709, allocations: 40 kB / 0.5665 GB, free: 9.258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005914/0.9768, allocations: 2.339 MB / 0.5688 GB, free: 6.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9769, allocations: 0 / 0.5688 GB, free: 6.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006926/0.9838, allocations: 1.11 MB / 0.5699 GB, free: 5.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * 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.0005824/0.9844, allocations: 155 kB / 0.57 GB, free: 5.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01103/0.9955, allocations: 4.408 MB / 0.5743 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.9956, allocations: 0 / 0.5743 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003047/0.9986, allocations: 0.9468 MB / 0.5753 GB, free: 348 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/1.001, allocations: 332 kB / 0.5756 GB, free: 16 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02678/1.028, allocations: 10.47 MB / 0.5858 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007969/1.036, allocations: 3.304 MB / 0.589 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.038, allocations: 275.4 kB / 0.5893 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of SimCode: time 4.619e-06/1.038, allocations: 0 / 0.5893 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of Templates: time 0.4537/1.491, allocations: 51.52 MB / 0.6396 GB, free: 153.8 MB / 0.5105 GB