Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 234.9 MB / 250.1 MB, free: 10.92 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.191e-05, allocations: 0 / 308 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3811, allocations: 54.86 MB / 362.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.04678/0.4279, allocations: 27.48 MB / 390.3 MB, free: 348 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.4476, allocations: 6.931 MB / 397.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005994/0.4536, allocations: 143.7 kB / 397.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005183/0.4589, allocations: 1.404 MB / 398.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.4745, allocations: 4.016 MB / 402.8 MB, free: 3.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.4775, allocations: 0.5459 MB / 403.4 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02569/0.5033, allocations: 8.758 MB / 412.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0055/0.5088, allocations: 2.634 MB / 414.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5105, allocations: 0.7403 MB / 415.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.5131, allocations: 1.188 MB / 416.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.5159, allocations: 0.9558 MB / 417.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009513/0.5169, allocations: 132 kB / 417.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002072/0.519, allocations: 1.336 MB / 419.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.5201, allocations: 232 kB / 419.3 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008019/0.5281, allocations: 4.879 MB / 424.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5282, allocations: 0 / 424.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.5282, allocations: 0 / 424.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001932/0.5284, allocations: 0 / 424.2 MB, free: 14.34 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: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01169/0.5401, allocations: 3.503 MB / 427.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.5402, allocations: 11.97 kB / 427.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1855/0.7257, allocations: 10.43 MB / 438.2 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008962/0.7347, allocations: 2.605 MB / 440.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.735, allocations: 196.8 kB / 441 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.7365, allocations: 271.8 kB / 441.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/0.76, allocations: 8.583 MB / 449.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.7603, allocations: 39.66 kB / 449.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005665/0.7608, allocations: 127.8 kB / 450 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004393/0.7652, allocations: 1.68 MB / 451.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02329/0.7886, allocations: 7.21 MB / 458.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3967/1.185, allocations: 33.95 MB / 492.8 MB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/1.2, allocations: 3.467 MB / 496.3 MB, free: 85.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01662/1.216, allocations: 7.281 MB / 0.4918 GB, free: 81.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.217, allocations: 54.7 kB / 0.4918 GB, free: 81.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.3e-06/1.217, allocations: 0 / 0.4918 GB, free: 81.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.1151/1.332, allocations: 20.89 MB / 0.5122 GB, free: 66.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/1.332, allocations: 208.7 kB / 0.5124 GB, free: 65.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007083/1.339, allocations: 3.437 MB / 0.5158 GB, free: 62.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/1.34, allocations: 53.7 kB / 0.5158 GB, free: 62.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002261/1.342, allocations: 2.757 MB / 0.5185 GB, free: 59.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.343, allocations: 0.7015 MB / 0.5192 GB, free: 58.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/1.344, allocations: 113.4 kB / 0.5193 GB, free: 58.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003469/1.344, allocations: 0.5546 MB / 0.5198 GB, free: 58.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005227/1.349, allocations: 2.1 MB / 0.5219 GB, free: 56.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007368/1.357, allocations: 5.613 MB / 0.5274 GB, free: 48.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00773/1.364, allocations: 3.363 MB / 0.5307 GB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/1.365, allocations: 32 kB / 0.5307 GB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.03013/1.395, allocations: 9.098 MB / 0.5396 GB, free: 36.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.395, allocations: 56.22 kB / 0.5396 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/1.395, allocations: 128 kB / 0.5398 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009139/1.404, allocations: 1.508 MB / 0.5412 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007798/1.412, allocations: 1.29 MB / 0.5425 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/1.437, allocations: 10.02 MB / 0.5523 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006271/1.443, allocations: 307.6 kB / 0.5526 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.444, allocations: 365.7 kB / 0.5529 GB, free: 22.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (690): * Single equations (assignments): 686 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004737/1.449, allocations: 1.849 MB / 0.5547 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008664/1.45, allocations: 335.7 kB / 0.555 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/1.466, allocations: 4.02 MB / 0.559 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.597e-05/1.466, allocations: 20 kB / 0.559 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.466, allocations: 12 kB / 0.559 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.702e-05/1.466, allocations: 7.969 kB / 0.559 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/1.495, allocations: 8.363 MB / 0.5672 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/1.495, allocations: 4 kB / 0.5672 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/1.497, allocations: 247.6 kB / 0.5674 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00789/1.505, allocations: 1.203 MB / 0.5686 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/1.506, allocations: 33 kB / 0.5686 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/1.527, allocations: 8.243 MB / 0.5767 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.527, allocations: 0 / 0.5767 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/1.549, allocations: 6.542 MB / 0.5831 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.551, allocations: 0.6137 MB / 0.5836 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007947/1.552, allocations: 32.89 kB / 0.5837 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.555, allocations: 95.95 kB / 0.5838 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/1.555, allocations: 109.1 kB / 0.5839 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/1.555, allocations: 53.78 kB / 0.5839 GB, free: 6.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005756/1.561, allocations: 2.402 MB / 0.5863 GB, free: 4.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.561, allocations: 0 / 0.5863 GB, free: 4.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006687/1.568, allocations: 0.9921 MB / 0.5872 GB, free: 3.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009032/1.569, allocations: 181.5 kB / 0.5874 GB, free: 3.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01424/1.583, allocations: 5.202 MB / 0.5925 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.583, allocations: 0 / 0.5925 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/1.588, allocations: 1.746 MB / 0.5942 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/1.591, allocations: 361.7 kB / 0.5945 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.617, allocations: 10.23 MB / 0.6045 GB, free: 1.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006317/1.623, allocations: 3.039 MB / 0.6075 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.625, allocations: 267.4 kB / 0.6078 GB, free: 14.17 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/1.625, allocations: 0 / 0.6078 GB, free: 14.17 MB / 458.7 MB Notification: Performance of Templates: time 0.4852/2.11, allocations: 67.13 MB / 0.6733 GB, free: 164 MB / 490.7 MB