Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.056e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3522, allocations: 48.7 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.08654/0.4388, allocations: 49.97 MB / 374.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03717/0.4761, allocations: 11.54 MB / 386.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0131/0.4892, allocations: 267.4 kB / 386.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.4995, allocations: 2.621 MB / 389.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02989/0.5295, allocations: 7.203 MB / 396.4 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.5358, allocations: 1.244 MB / 397.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03198/0.5678, allocations: 10.99 MB / 408.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.583, allocations: 7.019 MB / 415.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.5875, allocations: 1.613 MB / 417.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.5938, allocations: 2.701 MB / 420 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.5987, allocations: 1.299 MB / 421.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002397/0.6011, allocations: 256 kB / 421.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005385/0.6066, allocations: 2.934 MB / 424.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002828/0.6095, allocations: 484 kB / 425 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.6267, allocations: 10.62 MB / 435.6 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6268, allocations: 0 / 435.6 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6268, allocations: 0 / 435.6 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005177/0.6273, allocations: 7.938 kB / 435.6 MB, free: 0.5625 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02671/0.654, allocations: 7.517 MB / 443.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.6541, allocations: 12.03 kB / 443.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08278/0.7369, allocations: 9.248 MB / 452.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/0.7568, allocations: 6.011 MB / 458.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006827/0.7575, allocations: 434.9 kB / 458.8 MB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003404/0.7609, allocations: 0.6087 MB / 459.4 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06493/0.8259, allocations: 20.83 MB / 480.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004045/0.8264, allocations: 79.23 kB / 480.3 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/0.8293, allocations: 267.7 kB / 480.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.658/1.487, allocations: 3.705 MB / 484.3 MB, free: 119.1 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06134/1.549, allocations: 18.35 MB / 0.4909 GB, free: 113.9 MB / 410.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.1291/1.678, allocations: 74.48 MB / 0.5636 GB, free: 44.19 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02909/1.707, allocations: 7.447 MB / 0.5709 GB, free: 36.5 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04476/1.752, allocations: 18.15 MB / 0.5886 GB, free: 17.78 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/1.752, allocations: 76.44 kB / 0.5887 GB, free: 17.7 MB / 410.8 MB Notification: Performance of pre-optimization done (n=332): time 7.804e-06/1.752, allocations: 0 / 0.5887 GB, free: 17.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=413): time 0.2114/1.963, allocations: 35.71 MB / 0.6235 GB, free: 13.73 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.964, allocations: 200.8 kB / 0.6237 GB, free: 13.5 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/1.98, allocations: 6.234 MB / 0.6298 GB, free: 7.277 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009965/1.981, allocations: 89.38 kB / 0.6299 GB, free: 7.188 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00614/1.987, allocations: 5.237 MB / 0.635 GB, free: 1.953 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002838/1.99, allocations: 1.522 MB / 0.6365 GB, free: 452 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/1.991, allocations: 204 kB / 0.6367 GB, free: 248 kB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.3046/2.295, allocations: 0.7521 MB / 0.6374 GB, free: 139.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01277/2.308, allocations: 4.134 MB / 0.6415 GB, free: 138.4 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01723/2.326, allocations: 9.959 MB / 0.6512 GB, free: 129.1 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/2.342, allocations: 6.29 MB / 0.6573 GB, free: 126.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003299/2.343, allocations: 58.47 kB / 0.6574 GB, free: 126.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1374) (initialization): time 0.05121/2.394, allocations: 15.62 MB / 0.6726 GB, free: 121.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/2.394, allocations: 95.94 kB / 0.6727 GB, free: 121.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003779/2.394, allocations: 206.3 kB / 0.6729 GB, free: 121.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01355/2.408, allocations: 2.336 MB / 0.6752 GB, free: 120.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/2.423, allocations: 2.39 MB / 0.6775 GB, free: 120.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0308/2.454, allocations: 12.07 MB / 0.6893 GB, free: 113.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.465, allocations: 0.5735 MB / 0.6899 GB, free: 112.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002235/2.468, allocations: 0.5946 MB / 0.6905 GB, free: 112.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1273): * Single equations (assignments): 1266 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009637/2.477, allocations: 3.696 MB / 0.6941 GB, free: 109 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/2.479, allocations: 0.599 MB / 0.6947 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02904/2.508, allocations: 8.142 MB / 0.7026 GB, free: 101.5 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/2.508, allocations: 65.3 kB / 0.7027 GB, free: 101.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/2.508, allocations: 19.95 kB / 0.7027 GB, free: 101.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-05/2.508, allocations: 15.94 kB / 0.7027 GB, free: 101.4 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.05355/2.562, allocations: 18.76 MB / 0.721 GB, free: 82.42 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.495e-05/2.562, allocations: 12 kB / 0.721 GB, free: 82.41 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006104/2.568, allocations: 0.6123 MB / 0.7216 GB, free: 81.79 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/2.58, allocations: 1.753 MB / 0.7234 GB, free: 80.04 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007871/2.581, allocations: 79.98 kB / 0.7234 GB, free: 79.96 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/2.606, allocations: 10.15 MB / 0.7333 GB, free: 69.76 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/2.606, allocations: 19.94 kB / 0.7334 GB, free: 69.74 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03363/2.64, allocations: 14.06 MB / 0.7471 GB, free: 55.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00413/2.644, allocations: 1.165 MB / 0.7482 GB, free: 54.01 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/2.646, allocations: 82.8 kB / 0.7483 GB, free: 53.93 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004931/2.651, allocations: 203.7 kB / 0.7485 GB, free: 53.73 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007959/2.652, allocations: 261.7 kB / 0.7487 GB, free: 53.47 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003957/2.652, allocations: 112 kB / 0.7489 GB, free: 53.36 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009343/2.662, allocations: 4.384 MB / 0.7531 GB, free: 48.99 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.082e-06/2.662, allocations: 0.5625 kB / 0.7531 GB, free: 48.99 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01174/2.673, allocations: 1.928 MB / 0.755 GB, free: 47.07 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (325): * Single equations (assignments): 318 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/2.675, allocations: 279.9 kB / 0.7553 GB, free: 46.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02294/2.698, allocations: 9.762 MB / 0.7648 GB, free: 37.06 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/2.698, allocations: 4 kB / 0.7648 GB, free: 37.05 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008248/2.706, allocations: 3.305 MB / 0.7681 GB, free: 33.74 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005821/2.712, allocations: 0.7208 MB / 0.7688 GB, free: 33.02 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04913/2.761, allocations: 21.52 MB / 0.7898 GB, free: 11.3 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01321/2.774, allocations: 5.746 MB / 0.7954 GB, free: 5.523 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003235/2.778, allocations: 0.4955 MB / 0.7959 GB, free: 5.027 MB / 442.8 MB Notification: Performance of SimCode: time 1.432e-06/2.778, allocations: 0 / 0.7959 GB, free: 5.027 MB / 442.8 MB Notification: Performance of Templates: time 0.5617/3.339, allocations: 136.1 MB / 0.9288 GB, free: 19.86 MB / 442.8 MB