Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 1.692/1.692, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.184e-05, allocations: 4 kB / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08197, allocations: 38.77 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.346/0.4281, allocations: 86.6 MB / 353.5 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05673/0.4848, allocations: 18.11 MB / 371.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02229/0.5072, allocations: 470.8 kB / 372.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01682/0.5241, allocations: 4.62 MB / 376.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04757/0.5717, allocations: 12.36 MB / 389 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008247/0.58, allocations: 1.408 MB / 390.5 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0119/0.5919, allocations: 4.142 MB / 394.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.6063, allocations: 6.778 MB / 401.4 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005623/0.612, allocations: 1.933 MB / 403.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006309/0.6183, allocations: 2.876 MB / 406.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.6224, allocations: 0.9597 MB / 407.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00222/0.6247, allocations: 220 kB / 407.4 MB, free: 3.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005937/0.6307, allocations: 3.386 MB / 410.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003088/0.6338, allocations: 0.5469 MB / 411.3 MB, free: 8 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01866/0.6525, allocations: 11.94 MB / 423.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6526, allocations: 0 / 423.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.6526, allocations: 0 / 423.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005211/0.6531, allocations: 3.938 kB / 423.2 MB, free: 4.031 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.02751/0.6807, allocations: 7.834 MB / 431.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.6807, allocations: 8.031 kB / 431.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03396/0.7147, allocations: 3.826 MB / 434.9 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/0.7358, allocations: 7.301 MB / 442.2 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008159/0.7367, allocations: 475.7 kB / 442.7 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4352/1.172, allocations: 0.793 MB / 443.5 MB, free: 124 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1473/1.319, allocations: 29.31 MB / 472.8 MB, free: 108 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004589/1.32, allocations: 110.1 kB / 472.9 MB, free: 107.9 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002576/1.322, allocations: 301.2 kB / 473.2 MB, free: 107.7 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01146/1.334, allocations: 4.148 MB / 477.3 MB, free: 103.6 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1317/1.466, allocations: 30.42 MB / 0.4958 GB, free: 73.24 MB / 362.8 MB 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 preOpt removeSimpleEquations (simulation): time 0.4507/1.916, allocations: 103 MB / 0.5964 GB, free: 58.66 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1754/2.092, allocations: 20.05 MB / 0.616 GB, free: 55.53 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/2.093, allocations: 387.4 kB / 0.6163 GB, free: 55.21 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/2.093, allocations: 67.59 kB / 0.6164 GB, free: 55.15 MB / 362.8 MB Notification: Performance of pre-optimization done (n=314): time 6.943e-06/2.093, allocations: 0 / 0.6164 GB, free: 55.15 MB / 362.8 MB Notification: Performance of matching and sorting (n=412): time 1.042/3.135, allocations: 124.6 MB / 0.7381 GB, free: 151.3 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002973/3.138, allocations: 3.141 MB / 0.7412 GB, free: 148.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01829/3.156, allocations: 7.484 MB / 0.7485 GB, free: 145.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002055/3.158, allocations: 90.84 kB / 0.7486 GB, free: 145.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005274/3.163, allocations: 5.636 MB / 0.7541 GB, free: 142.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003612/3.167, allocations: 1.572 MB / 0.7556 GB, free: 141 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002768/3.17, allocations: 219.5 kB / 0.7558 GB, free: 140.8 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0009163/3.171, allocations: 0.7738 MB / 0.7566 GB, free: 140.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02106/3.192, allocations: 8.845 MB / 0.7652 GB, free: 136.1 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02542/3.217, allocations: 15.06 MB / 0.7799 GB, free: 123 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02532/3.243, allocations: 11.08 MB / 0.7907 GB, free: 112.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/3.243, allocations: 64 kB / 0.7908 GB, free: 112 MB / 410.8 MB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.1414/3.385, allocations: 36.18 MB / 0.8261 GB, free: 75.83 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/3.385, allocations: 96 kB / 0.8262 GB, free: 75.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06055/3.445, allocations: 16.58 MB / 0.8424 GB, free: 59.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08342/3.529, allocations: 13.6 MB / 0.8557 GB, free: 45.52 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01773/3.547, allocations: 2.663 MB / 0.8583 GB, free: 42.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4016/3.948, allocations: 55.98 MB / 0.913 GB, free: 117 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02052/3.969, allocations: 1.251 MB / 0.9142 GB, free: 116.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003573/3.973, allocations: 0.6738 MB / 0.9148 GB, free: 116.8 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 997 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1270): * Single equations (assignments): 1256 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 2 {3 1,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0136/3.986, allocations: 3.971 MB / 0.9187 GB, free: 115.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003503/3.99, allocations: 0.6835 MB / 0.9194 GB, free: 115.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06222/4.052, allocations: 11.86 MB / 0.931 GB, free: 107.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1156/4.168, allocations: 26.65 MB / 0.957 GB, free: 81.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001299/4.168, allocations: 28 kB / 0.957 GB, free: 81.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/4.168, allocations: 23.88 kB / 0.957 GB, free: 81.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1758/4.344, allocations: 50.2 MB / 1.006 GB, free: 31.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.681e-05/4.344, allocations: 4 kB / 1.006 GB, free: 31.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008388/4.352, allocations: 0.8268 MB / 1.007 GB, free: 30.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3673/4.72, allocations: 12.85 MB / 1.019 GB, free: 131.3 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002147/4.722, allocations: 130.9 kB / 1.02 GB, free: 131.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1246/4.847, allocations: 51.8 MB / 1.07 GB, free: 107 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002748/4.849, allocations: 2.974 MB / 1.073 GB, free: 103.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1391/4.989, allocations: 39.45 MB / 1.112 GB, free: 64.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/4.991, allocations: 0.7504 MB / 1.112 GB, free: 64.26 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004392/4.996, allocations: 79.98 kB / 1.112 GB, free: 64.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01357/5.009, allocations: 0.7842 MB / 1.113 GB, free: 63.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002918/5.012, allocations: 331.3 kB / 1.113 GB, free: 63.08 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00146/5.014, allocations: 149.9 kB / 1.114 GB, free: 62.93 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01265/5.026, allocations: 5.362 MB / 1.119 GB, free: 57.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.72e-07/5.026, allocations: 0 / 1.119 GB, free: 57.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01765/5.044, allocations: 2.987 MB / 1.122 GB, free: 54.63 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 256 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/5.047, allocations: 256.8 kB / 1.122 GB, free: 54.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.048/5.095, allocations: 21.07 MB / 1.143 GB, free: 33.29 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/5.095, allocations: 0 / 1.143 GB, free: 33.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.278/5.373, allocations: 9.596 MB / 1.152 GB, free: 133 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008996/5.382, allocations: 0.8843 MB / 1.153 GB, free: 133 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07091/5.453, allocations: 29.38 MB / 1.181 GB, free: 123.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01484/5.468, allocations: 6.33 MB / 1.188 GB, free: 121.2 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005478/5.473, allocations: 0.5457 MB / 1.188 GB, free: 121.2 MB / 410.8 MB Notification: Performance of SimCode: time 1.593e-06/5.473, allocations: 0 / 1.188 GB, free: 121.2 MB / 410.8 MB Notification: Performance of Templates: time 1.217/6.69, allocations: 377.1 MB / 1.556 GB, free: 52.04 MB / 426.8 MB