Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.508e-05, allocations: 7.984 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3898, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.07238/0.4623, allocations: 46.09 MB / 408.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.4947, allocations: 10.73 MB / 419.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01145/0.5062, allocations: 247.4 kB / 419.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009079/0.5153, allocations: 2.419 MB / 422.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02655/0.5419, allocations: 6.638 MB / 429 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00553/0.5475, allocations: 1.01 MB / 430 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0314/0.579, allocations: 10.52 MB / 440.5 MB, free: 16 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.5926, allocations: 6.275 MB / 446.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.5965, allocations: 1.411 MB / 448.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/0.6018, allocations: 2.35 MB / 450.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.607, allocations: 1.26 MB / 451.8 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002398/0.6094, allocations: 228 kB / 452 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.6149, allocations: 2.583 MB / 454.6 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.6175, allocations: 435.9 kB / 455 MB, free: 1.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.6336, allocations: 9.672 MB / 464.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6336, allocations: 0 / 464.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.978e-06/0.6336, allocations: 4 kB / 464.7 MB, free: 7.723 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004709/0.6341, allocations: 0 / 464.7 MB, free: 7.723 MB / 394.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.02317/0.6573, allocations: 6.483 MB / 471.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.6574, allocations: 12.03 kB / 471.2 MB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0801/0.7375, allocations: 9 MB / 480.2 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.7529, allocations: 4.883 MB / 485.1 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000595/0.7536, allocations: 402 kB / 485.5 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003206/0.7568, allocations: 0.5464 MB / 486 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3976/1.154, allocations: 19.03 MB / 0.4932 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005404/1.155, allocations: 65.83 kB / 0.4933 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002877/1.158, allocations: 256.8 kB / 0.4935 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01009/1.168, allocations: 3.429 MB / 0.4969 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05477/1.223, allocations: 16.74 MB / 0.5132 GB, free: 103.3 MB / 426.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.1188/1.342, allocations: 66.9 MB / 0.5786 GB, free: 35.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02589/1.368, allocations: 6.302 MB / 0.5847 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03638/1.404, allocations: 13.99 MB / 0.5984 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/1.404, allocations: 60.5 kB / 0.5984 GB, free: 14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.344e-06/1.404, allocations: 0 / 0.5984 GB, free: 14 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.1597/1.564, allocations: 26.01 MB / 0.6238 GB, free: 3.867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/1.564, allocations: 192.2 kB / 0.624 GB, free: 3.641 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/1.58, allocations: 5.602 MB / 0.6295 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007956/1.581, allocations: 73.7 kB / 0.6295 GB, free: 13.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0058/1.586, allocations: 4.83 MB / 0.6343 GB, free: 9.152 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002326/1.589, allocations: 1.282 MB / 0.6355 GB, free: 7.855 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/1.59, allocations: 188 kB / 0.6357 GB, free: 7.672 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009781/1.591, allocations: 0.7077 MB / 0.6364 GB, free: 6.953 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/1.602, allocations: 3.255 MB / 0.6396 GB, free: 3.691 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01605/1.618, allocations: 8.667 MB / 0.648 GB, free: 8.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/1.633, allocations: 5.233 MB / 0.6531 GB, free: 3.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/1.633, allocations: 52 kB / 0.6532 GB, free: 3.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.04398/1.677, allocations: 12.54 MB / 0.6654 GB, free: 6.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/1.677, allocations: 88 kB / 0.6655 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003253/1.677, allocations: 192 kB / 0.6657 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008145/1.686, allocations: 1.345 MB / 0.667 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/1.7, allocations: 2.156 MB / 0.6691 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6823/2.383, allocations: 7.532 MB / 0.6765 GB, free: 153.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0098/2.392, allocations: 0.509 MB / 0.677 GB, free: 152.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/2.395, allocations: 0.5385 MB / 0.6775 GB, free: 152.9 MB / 490.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.008711/2.403, allocations: 3.383 MB / 0.6808 GB, free: 151.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/2.405, allocations: 0.5328 MB / 0.6813 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/2.424, allocations: 5.398 MB / 0.6866 GB, free: 149.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.457e-05/2.424, allocations: 36.06 kB / 0.6866 GB, free: 149.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/2.424, allocations: 10.88 kB / 0.6866 GB, free: 149.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-05/2.424, allocations: 18.89 kB / 0.6867 GB, free: 149.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04615/2.471, allocations: 14.01 MB / 0.7003 GB, free: 144.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.87e-05/2.471, allocations: 11.75 kB / 0.7004 GB, free: 144.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004438/2.475, allocations: 0.491 MB / 0.7008 GB, free: 144.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006165/2.481, allocations: 0.8216 MB / 0.7016 GB, free: 144.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006412/2.482, allocations: 67.33 kB / 0.7017 GB, free: 144 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/2.497, allocations: 5.551 MB / 0.7071 GB, free: 141 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/2.497, allocations: 19.3 kB / 0.7071 GB, free: 141 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/2.522, allocations: 10.01 MB / 0.7169 GB, free: 133.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003279/2.526, allocations: 0.9484 MB / 0.7178 GB, free: 132.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/2.528, allocations: 67.98 kB / 0.7179 GB, free: 132.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/2.532, allocations: 134.4 kB / 0.718 GB, free: 132.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008666/2.533, allocations: 223.8 kB / 0.7182 GB, free: 132.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000356/2.533, allocations: 97.17 kB / 0.7183 GB, free: 132 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009127/2.543, allocations: 3.922 MB / 0.7222 GB, free: 128.1 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.41e-07/2.543, allocations: 4 kB / 0.7222 GB, free: 128.1 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01005/2.553, allocations: 1.647 MB / 0.7238 GB, free: 126.5 MB / 490.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.00131/2.554, allocations: 263.8 kB / 0.724 GB, free: 126.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01877/2.573, allocations: 7.733 MB / 0.7316 GB, free: 118.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/2.573, allocations: 4 kB / 0.7316 GB, free: 118.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006223/2.579, allocations: 2.369 MB / 0.7339 GB, free: 116.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/2.584, allocations: 0.6368 MB / 0.7345 GB, free: 115.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04047/2.625, allocations: 18.88 MB / 0.753 GB, free: 96.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/2.636, allocations: 5.324 MB / 0.7582 GB, free: 91.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/2.639, allocations: 459.4 kB / 0.7586 GB, free: 90.77 MB / 490.8 MB Notification: Performance of SimCode: time 2.705e-06/2.639, allocations: 0 / 0.7586 GB, free: 90.77 MB / 490.8 MB Notification: Performance of Templates: time 0.5689/3.207, allocations: 121.8 MB / 0.8775 GB, free: 155.8 MB / 0.4949 GB