Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.013e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.4057/0.5343, allocations: 34.66 MB / 445.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02569/0.5601, allocations: 8.213 MB / 453.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009998/0.5701, allocations: 182.5 kB / 454 MB, free: 4.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007541/0.5777, allocations: 1.821 MB / 455.8 MB, free: 4.352 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0218/0.5995, allocations: 5.115 MB / 460.9 MB, free: 1.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.603, allocations: 470 kB / 461.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005495/0.6085, allocations: 1.629 MB / 463 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008323/0.6169, allocations: 3.769 MB / 466.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.6191, allocations: 0.7974 MB / 467.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.6219, allocations: 1.272 MB / 468.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.6252, allocations: 0.8782 MB / 469.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.6265, allocations: 130.4 kB / 469.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002947/0.6295, allocations: 1.601 MB / 471.5 MB, free: 11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.6311, allocations: 268 kB / 471.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.642, allocations: 6.136 MB / 477.9 MB, free: 4.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6421, allocations: 0 / 477.9 MB, free: 4.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6421, allocations: 4 kB / 477.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003053/0.6424, allocations: 0 / 477.9 MB, free: 4.582 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01607/0.6585, allocations: 4.486 MB / 482.3 MB, free: 28 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6586, allocations: 8.031 kB / 482.4 MB, free: 20 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02449/0.6831, allocations: 3.835 MB / 486.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008121/0.6913, allocations: 2.351 MB / 488.5 MB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005104/0.6918, allocations: 266.7 kB / 488.8 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002504/0.6944, allocations: 343.7 kB / 489.1 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/0.7422, allocations: 12.41 MB / 0.4898 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/0.7425, allocations: 35.66 kB / 0.4898 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/0.7446, allocations: 159.8 kB / 0.49 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01105/0.7557, allocations: 2.692 MB / 0.4926 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04187/0.7976, allocations: 11.37 MB / 0.5037 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09293/0.8906, allocations: 39.63 MB / 0.5424 GB, free: 5.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/0.909, allocations: 4.959 MB / 0.5473 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01752/0.9265, allocations: 6.787 MB / 0.5539 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.9267, allocations: 48.56 kB / 0.5539 GB, free: 9.082 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 6.752e-06/0.9267, allocations: 0 / 0.5539 GB, free: 9.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.07202/0.9987, allocations: 16.68 MB / 0.5702 GB, free: 8.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.9989, allocations: 69.41 kB / 0.5703 GB, free: 8.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/1.006, allocations: 2.908 MB / 0.5731 GB, free: 5.137 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004768/1.006, allocations: 53.7 kB / 0.5732 GB, free: 5.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003232/1.009, allocations: 3.211 MB / 0.5763 GB, free: 1.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.011, allocations: 0.8866 MB / 0.5772 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/1.012, allocations: 116 kB / 0.5773 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005474/1.012, allocations: 0.5708 MB / 0.5778 GB, free: 236 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006463/1.019, allocations: 2.342 MB / 0.5801 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/1.029, allocations: 5.634 MB / 0.5856 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/1.038, allocations: 3.626 MB / 0.5892 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/1.038, allocations: 36 kB / 0.5892 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02789/1.066, allocations: 8.682 MB / 0.5977 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.066, allocations: 52 kB / 0.5977 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002038/1.067, allocations: 116 kB / 0.5979 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/1.073, allocations: 1.141 MB / 0.599 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008772/1.082, allocations: 1.349 MB / 0.6003 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.094, allocations: 4.662 MB / 0.6048 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005792/1.099, allocations: 323.7 kB / 0.6051 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.101, allocations: 348 kB / 0.6055 GB, free: 2.109 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (730): * Single equations (assignments): 722 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.3675/1.468, allocations: 2.326 MB / 0.6077 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008966/1.469, allocations: 296 kB / 0.608 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.484, allocations: 4.381 MB / 0.6123 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/1.484, allocations: 50.44 kB / 0.6124 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.484, allocations: 1.734 kB / 0.6124 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.501e-05/1.484, allocations: 12.77 kB / 0.6124 GB, free: 160.8 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04082/1.525, allocations: 10.51 MB / 0.6226 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.506e-05/1.525, allocations: 6.656 kB / 0.6226 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004958/1.53, allocations: 376.9 kB / 0.623 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005421/1.536, allocations: 0.683 MB / 0.6237 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006348/1.536, allocations: 52.48 kB / 0.6237 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/1.543, allocations: 2.449 MB / 0.6261 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/1.543, allocations: 6.438 kB / 0.6261 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02488/1.568, allocations: 7.185 MB / 0.6331 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.569, allocations: 354.7 kB / 0.6335 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/1.571, allocations: 43.33 kB / 0.6335 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003603/1.575, allocations: 141 kB / 0.6336 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/1.576, allocations: 127.9 kB / 0.6338 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/1.576, allocations: 68.02 kB / 0.6338 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004701/1.581, allocations: 1.974 MB / 0.6358 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/1.581, allocations: 3.719 kB / 0.6358 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00634/1.587, allocations: 1.074 MB / 0.6368 GB, free: 151.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.001036/1.588, allocations: 203.5 kB / 0.637 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.602, allocations: 5.729 MB / 0.6426 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.602, allocations: 0 / 0.6426 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006742/1.609, allocations: 2.386 MB / 0.6449 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.612, allocations: 428.2 kB / 0.6453 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02786/1.64, allocations: 13.73 MB / 0.6587 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007207/1.647, allocations: 3.787 MB / 0.6624 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/1.65, allocations: 283.4 kB / 0.6627 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/1.65, allocations: 0 / 0.6627 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.2465/1.896, allocations: 110.4 MB / 0.7706 GB, free: 22.74 MB / 0.5105 GB