Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 224.4 MB, free: 1.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.266e-05, allocations: 8 kB / 276.1 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 48.7 MB / 324.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3418/0.4475, allocations: 46.09 MB / 370.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.4814, allocations: 10.73 MB / 381.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01397/0.4955, allocations: 243.2 kB / 381.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009052/0.5046, allocations: 2.414 MB / 384.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0265/0.5311, allocations: 6.647 MB / 391 MB, free: 6.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.5367, allocations: 1.022 MB / 392 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03154/0.5682, allocations: 10.53 MB / 402.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/0.582, allocations: 6.282 MB / 408.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.586, allocations: 1.414 MB / 410.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005526/0.5915, allocations: 2.357 MB / 412.6 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004593/0.5962, allocations: 1.248 MB / 413.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002225/0.5985, allocations: 228 kB / 414 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004816/0.6033, allocations: 2.599 MB / 416.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.6059, allocations: 432 kB / 417 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.6223, allocations: 9.664 MB / 426.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.6223, allocations: 0 / 426.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.422e-06/0.6224, allocations: 0 / 426.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004363/0.6228, allocations: 3.938 kB / 426.7 MB, free: 3.016 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02278/0.6456, allocations: 6.486 MB / 433.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.6457, allocations: 12.03 kB / 433.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08156/0.7272, allocations: 9 MB / 442.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/0.7481, allocations: 4.883 MB / 447.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007947/0.7489, allocations: 409.9 kB / 447.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003743/0.7527, allocations: 0.5541 MB / 448.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0743/0.827, allocations: 19.04 MB / 467.1 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/0.8274, allocations: 67.39 kB / 467.2 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002308/0.8297, allocations: 247.8 kB / 467.4 MB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009539/0.8393, allocations: 3.428 MB / 470.8 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05984/0.8992, allocations: 16.73 MB / 487.6 MB, free: 4.941 MB / 410.7 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.7231/1.622, allocations: 66.87 MB / 0.5414 GB, free: 89.75 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/1.649, allocations: 6.298 MB / 0.5476 GB, free: 87.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03729/1.686, allocations: 13.99 MB / 0.5613 GB, free: 79.16 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/1.687, allocations: 61.25 kB / 0.5613 GB, free: 79.11 MB / 426.8 MB Notification: Performance of pre-optimization done (n=284): time 7.484e-06/1.687, allocations: 0 / 0.5613 GB, free: 79.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=345): time 0.1564/1.843, allocations: 26.03 MB / 0.5867 GB, free: 59.45 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/1.843, allocations: 188.3 kB / 0.5869 GB, free: 59.23 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/1.855, allocations: 5.6 MB / 0.5924 GB, free: 53.66 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007457/1.856, allocations: 77.7 kB / 0.5925 GB, free: 53.58 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003768/1.86, allocations: 4.827 MB / 0.5972 GB, free: 48.75 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001824/1.862, allocations: 1.281 MB / 0.5984 GB, free: 47.48 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/1.863, allocations: 184.6 kB / 0.5986 GB, free: 47.3 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007125/1.864, allocations: 0.7155 MB / 0.5993 GB, free: 46.58 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009049/1.873, allocations: 3.247 MB / 0.6025 GB, free: 43.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/1.885, allocations: 8.671 MB / 0.6109 GB, free: 31.97 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.898, allocations: 5.224 MB / 0.616 GB, free: 26.73 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001855/1.898, allocations: 56 kB / 0.6161 GB, free: 26.67 MB / 426.8 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03817/1.936, allocations: 12.55 MB / 0.6283 GB, free: 14.09 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.936, allocations: 91.28 kB / 0.6284 GB, free: 14 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002817/1.936, allocations: 192 kB / 0.6286 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00766/1.944, allocations: 1.345 MB / 0.6299 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01348/1.958, allocations: 2.16 MB / 0.632 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/1.977, allocations: 7.517 MB / 0.6394 GB, free: 2.648 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009836/1.987, allocations: 0.5001 MB / 0.6399 GB, free: 2.148 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.989, allocations: 0.5445 MB / 0.6404 GB, free: 1.605 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1149): * Single equations (assignments): 1142 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009424/1.998, allocations: 3.388 MB / 0.6437 GB, free: 14.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2, allocations: 0.5283 MB / 0.6442 GB, free: 13.67 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02471/2.024, allocations: 5.398 MB / 0.6495 GB, free: 8.215 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/2.024, allocations: 36 kB / 0.6495 GB, free: 8.18 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-05/2.025, allocations: 12 kB / 0.6495 GB, free: 8.168 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.725e-05/2.025, allocations: 21.86 kB / 0.6496 GB, free: 8.148 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.366/2.391, allocations: 14.01 MB / 0.6632 GB, free: 133.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.481e-05/2.391, allocations: 16.56 kB / 0.6633 GB, free: 133.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004806/2.396, allocations: 0.4884 MB / 0.6637 GB, free: 133.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006769/2.402, allocations: 0.8208 MB / 0.6645 GB, free: 133.9 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000808/2.403, allocations: 68.48 kB / 0.6646 GB, free: 133.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/2.421, allocations: 5.544 MB / 0.67 GB, free: 130.9 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/2.421, allocations: 24.34 kB / 0.67 GB, free: 130.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/2.449, allocations: 10.01 MB / 0.6798 GB, free: 125.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003892/2.453, allocations: 0.9413 MB / 0.6807 GB, free: 125.1 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002235/2.455, allocations: 67.33 kB / 0.6808 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005114/2.46, allocations: 139.4 kB / 0.6809 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.462, allocations: 218.1 kB / 0.6811 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/2.462, allocations: 108.9 kB / 0.6812 GB, free: 124.9 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01075/2.473, allocations: 3.931 MB / 0.6851 GB, free: 123.7 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.012e-06/2.473, allocations: 0 / 0.6851 GB, free: 123.7 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01142/2.484, allocations: 1.647 MB / 0.6867 GB, free: 123.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/2.486, allocations: 261.8 kB / 0.6869 GB, free: 123.3 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02016/2.506, allocations: 7.734 MB / 0.6945 GB, free: 120.6 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/2.506, allocations: 3.906 kB / 0.6945 GB, free: 120.6 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006636/2.513, allocations: 2.366 MB / 0.6968 GB, free: 119.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005861/2.519, allocations: 0.6432 MB / 0.6974 GB, free: 119.4 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04368/2.562, allocations: 18.89 MB / 0.7159 GB, free: 103.5 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01205/2.575, allocations: 5.31 MB / 0.7211 GB, free: 98.61 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/2.577, allocations: 467.4 kB / 0.7215 GB, free: 98.16 MB / 442.8 MB Notification: Performance of SimCode: time 1.713e-06/2.577, allocations: 0 / 0.7215 GB, free: 98.16 MB / 442.8 MB Notification: Performance of Templates: time 0.538/3.115, allocations: 121.8 MB / 0.8404 GB, free: 136.3 MB / 458.8 MB