Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.901e-05, allocations: 0 / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.346, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.04356/0.3897, allocations: 27.47 MB / 352.3 MB, free: 164 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02197/0.4117, allocations: 6.903 MB / 359.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007525/0.4193, allocations: 145.9 kB / 359.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005634/0.425, allocations: 1.395 MB / 360.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01695/0.442, allocations: 4.017 MB / 364.8 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.4453, allocations: 0.5561 MB / 365.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02637/0.4717, allocations: 8.767 MB / 374.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005721/0.4775, allocations: 2.627 MB / 376.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.4795, allocations: 0.7403 MB / 377.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.4823, allocations: 1.192 MB / 378.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.4855, allocations: 0.9597 MB / 379.6 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.4867, allocations: 132 kB / 379.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.4891, allocations: 1.329 MB / 381.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.4904, allocations: 232 kB / 381.3 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008305/0.4987, allocations: 4.871 MB / 386.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4988, allocations: 0 / 386.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4988, allocations: 0 / 386.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002107/0.499, allocations: 0 / 386.2 MB, free: 2.098 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01166/0.5107, allocations: 3.506 MB / 389.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.5108, allocations: 12.03 kB / 389.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1806/0.6914, allocations: 10.44 MB / 400.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008474/0.6999, allocations: 2.593 MB / 402.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.7002, allocations: 192.9 kB / 402.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.7015, allocations: 267.8 kB / 403.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/0.7242, allocations: 8.586 MB / 411.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.7244, allocations: 39.61 kB / 411.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006826/0.7251, allocations: 131.8 kB / 411.9 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004519/0.7296, allocations: 1.676 MB / 413.6 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/0.7529, allocations: 7.214 MB / 420.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06065/0.8136, allocations: 33.95 MB / 454.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/0.8289, allocations: 3.478 MB / 458.2 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01816/0.8471, allocations: 7.28 MB / 465.5 MB, free: 496 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.8473, allocations: 55.5 kB / 465.6 MB, free: 432 kB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 7.504e-06/0.8473, allocations: 0 / 465.6 MB, free: 432 kB / 394.7 MB Notification: Performance of matching and sorting (n=185): time 0.4468/1.294, allocations: 20.88 MB / 486.4 MB, free: 128.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/1.294, allocations: 209.9 kB / 486.7 MB, free: 128.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009298/1.304, allocations: 3.435 MB / 490.1 MB, free: 126.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004299/1.304, allocations: 51.27 kB / 490.1 MB, free: 126.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00264/1.307, allocations: 2.75 MB / 492.9 MB, free: 124.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/1.308, allocations: 0.7073 MB / 493.6 MB, free: 124.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006586/1.309, allocations: 117 kB / 493.7 MB, free: 124.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004734/1.309, allocations: 0.5529 MB / 494.3 MB, free: 123.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006251/1.315, allocations: 2.097 MB / 496.4 MB, free: 123 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008366/1.324, allocations: 5.611 MB / 0.4902 GB, free: 117.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008457/1.332, allocations: 3.369 MB / 0.4935 GB, free: 116.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001994/1.333, allocations: 35.78 kB / 0.4935 GB, free: 116.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.03006/1.363, allocations: 9.089 MB / 0.5024 GB, free: 113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.363, allocations: 58.69 kB / 0.5025 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/1.363, allocations: 124.8 kB / 0.5026 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008845/1.372, allocations: 1.51 MB / 0.5041 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007605/1.38, allocations: 1.291 MB / 0.5053 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/1.404, allocations: 10.02 MB / 0.5151 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006368/1.41, allocations: 307.5 kB / 0.5154 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/1.411, allocations: 360 kB / 0.5157 GB, free: 102.3 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.004558/1.416, allocations: 1.857 MB / 0.5175 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009696/1.417, allocations: 327.7 kB / 0.5179 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/1.432, allocations: 4.025 MB / 0.5218 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/1.432, allocations: 21.17 kB / 0.5218 GB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/1.432, allocations: 12 kB / 0.5218 GB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/1.432, allocations: 11.97 kB / 0.5218 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/1.459, allocations: 8.361 MB / 0.53 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/1.459, allocations: 0 / 0.53 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.462, allocations: 251.6 kB / 0.5302 GB, free: 87.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007792/1.469, allocations: 1.191 MB / 0.5314 GB, free: 86.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/1.47, allocations: 39.98 kB / 0.5314 GB, free: 86.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.489, allocations: 8.251 MB / 0.5395 GB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.49, allocations: 0 / 0.5395 GB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/1.509, allocations: 6.531 MB / 0.5459 GB, free: 71.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/1.512, allocations: 0.6215 MB / 0.5465 GB, free: 70.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.513, allocations: 31.95 kB / 0.5465 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.516, allocations: 83.91 kB / 0.5466 GB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006133/1.516, allocations: 114.5 kB / 0.5467 GB, free: 70.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/1.517, allocations: 55.92 kB / 0.5468 GB, free: 70.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005361/1.522, allocations: 2.414 MB / 0.5491 GB, free: 67.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.522, allocations: 0 / 0.5491 GB, free: 67.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00655/1.529, allocations: 0.9786 MB / 0.5501 GB, free: 66.95 MB / 410.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.0008581/1.529, allocations: 175.8 kB / 0.5502 GB, free: 66.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.541, allocations: 5.204 MB / 0.5553 GB, free: 61.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.541, allocations: 4.188 kB / 0.5553 GB, free: 61.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003997/1.545, allocations: 1.74 MB / 0.557 GB, free: 59.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.549, allocations: 368.2 kB / 0.5574 GB, free: 59.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.571, allocations: 10.22 MB / 0.5674 GB, free: 49.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005458/1.576, allocations: 3.042 MB / 0.5703 GB, free: 46.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.578, allocations: 271.4 kB / 0.5706 GB, free: 45.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.578, allocations: 0 / 0.5706 GB, free: 45.87 MB / 410.7 MB Notification: Performance of Templates: time 0.4229/2.001, allocations: 67.11 MB / 0.6361 GB, free: 128.9 MB / 426.7 MB