Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.646e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1338, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.372/0.5058, allocations: 27.81 MB / 438.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02122/0.5271, allocations: 6.826 MB / 445.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/0.5353, allocations: 143.2 kB / 445.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006003/0.5414, allocations: 1.476 MB / 447.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01824/0.5596, allocations: 4.197 MB / 451.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5626, allocations: 388.2 kB / 451.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004937/0.5676, allocations: 1.462 MB / 453.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006691/0.5743, allocations: 2.897 MB / 456.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.5766, allocations: 0.7047 MB / 456.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.5796, allocations: 1.157 MB / 458 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.5829, allocations: 0.8328 MB / 458.8 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.5841, allocations: 114 kB / 458.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002753/0.5869, allocations: 1.421 MB / 460.3 MB, free: 3.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.5884, allocations: 231.2 kB / 460.6 MB, free: 3.586 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009249/0.5977, allocations: 5.402 MB / 466 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5978, allocations: 4 kB / 466 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5978, allocations: 0 / 466 MB, free: 15.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002855/0.5981, allocations: 1.031 kB / 466 MB, free: 15.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01531/0.6134, allocations: 4.063 MB / 470 MB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.6135, allocations: 12.03 kB / 470 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02365/0.6372, allocations: 3.773 MB / 473.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006968/0.6442, allocations: 2.149 MB / 476 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.6445, allocations: 229.4 kB / 476.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.6463, allocations: 283.7 kB / 476.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/0.6755, allocations: 11.16 MB / 487.6 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.6757, allocations: 27.81 kB / 487.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008205/0.6765, allocations: 139.8 kB / 487.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007396/0.6839, allocations: 2.562 MB / 490.4 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/0.7166, allocations: 10.43 MB / 0.489 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08367/0.8003, allocations: 35.58 MB / 0.5238 GB, free: 8.633 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.814, allocations: 4.28 MB / 0.528 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/0.816, allocations: 1.319 MB / 0.5293 GB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.8161, allocations: 57.08 kB / 0.5293 GB, free: 2.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=235): time 7.103e-06/0.8161, allocations: 4 kB / 0.5293 GB, free: 2.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.07375/0.8899, allocations: 14.24 MB / 0.5432 GB, free: 4.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.89, allocations: 73.41 kB / 0.5433 GB, free: 4.027 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/0.8961, allocations: 2.562 MB / 0.5458 GB, free: 1.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000533/0.8967, allocations: 61.7 kB / 0.5459 GB, free: 1.387 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002979/0.8997, allocations: 2.867 MB / 0.5487 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00164/0.9014, allocations: 0.9366 MB / 0.5496 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006739/0.9021, allocations: 116 kB / 0.5497 GB, free: 13.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006107/0.9027, allocations: 0.5507 MB / 0.5502 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006418/0.9092, allocations: 2.275 MB / 0.5524 GB, free: 10.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009497/0.9187, allocations: 5.344 MB / 0.5577 GB, free: 3.719 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008993/0.9277, allocations: 3.501 MB / 0.5611 GB, free: 224 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.9279, allocations: 36 kB / 0.5611 GB, free: 188 kB / 474.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0272/0.9551, allocations: 8.284 MB / 0.5692 GB, free: 7.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.9553, allocations: 52 kB / 0.5693 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/0.9555, allocations: 108 kB / 0.5694 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/0.9625, allocations: 1.064 MB / 0.5704 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008429/0.971, allocations: 1.291 MB / 0.5717 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.9759, allocations: 2.49 MB / 0.5741 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005894/0.9819, allocations: 311.7 kB / 0.5744 GB, free: 2.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/0.9833, allocations: 324 kB / 0.5747 GB, free: 2.098 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 692 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006507/0.9898, allocations: 2.178 MB / 0.5768 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/0.9906, allocations: 280.3 kB / 0.5771 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.008, allocations: 4.943 MB / 0.5819 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000125/1.008, allocations: 51.92 kB / 0.582 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.008, allocations: 0 / 0.582 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.817e-05/1.008, allocations: 12.19 kB / 0.582 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03652/1.044, allocations: 11.33 MB / 0.593 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/1.045, allocations: 8 kB / 0.593 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003755/1.048, allocations: 407.4 kB / 0.5934 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006447/1.055, allocations: 0.9004 MB / 0.5943 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000616/1.055, allocations: 63.89 kB / 0.5944 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/1.06, allocations: 2.303 MB / 0.5966 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/1.06, allocations: 16 kB / 0.5966 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.083, allocations: 7.985 MB / 0.6044 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.084, allocations: 329.4 kB / 0.6048 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.085, allocations: 51.95 kB / 0.6048 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.088, allocations: 135.8 kB / 0.6049 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005719/1.088, allocations: 157.6 kB / 0.6051 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002891/1.088, allocations: 71.98 kB / 0.6051 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004476/1.093, allocations: 1.755 MB / 0.6069 GB, free: 380 kB / 0.5105 GB Notification: Performance of sort global known variables: time 7.41e-07/1.093, allocations: 0 / 0.6069 GB, free: 380 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.4053/1.498, allocations: 0.9942 MB / 0.6078 GB, free: 162.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/1.499, allocations: 206.4 kB / 0.608 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01756/1.517, allocations: 6.014 MB / 0.6139 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.517, allocations: 4.656 kB / 0.6139 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/1.527, allocations: 2.545 MB / 0.6164 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/1.532, allocations: 392.8 kB / 0.6168 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/1.574, allocations: 13.11 MB / 0.6296 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01156/1.586, allocations: 3.531 MB / 0.633 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002528/1.589, allocations: 276.4 kB / 0.6333 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/1.589, allocations: 0 / 0.6333 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.197/1.786, allocations: 111.8 MB / 0.7425 GB, free: 53.14 MB / 0.5105 GB