Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.3 MB / 224.4 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.185e-05, allocations: 3.984 kB / 276.1 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3499, allocations: 48.7 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.08887/0.4388, allocations: 54.04 MB / 378.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04385/0.4827, allocations: 12.4 MB / 391.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01401/0.4968, allocations: 295.2 kB / 391.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.5076, allocations: 2.835 MB / 394.4 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03023/0.5379, allocations: 7.717 MB / 402.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006067/0.544, allocations: 1.123 MB / 403.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.07466/0.6187, allocations: 25.03 MB / 428.3 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01577/0.6346, allocations: 7.391 MB / 435.7 MB, free: 480 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.6378, allocations: 1.407 MB / 437.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.6422, allocations: 2.194 MB / 439.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.6459, allocations: 1.205 MB / 440.5 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.6472, allocations: 215.9 kB / 440.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00379/0.651, allocations: 2.544 MB / 443.2 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.6529, allocations: 444 kB / 443.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.6677, allocations: 9.594 MB / 453.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6677, allocations: 0 / 453.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.701e-06/0.6677, allocations: 0 / 453.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003604/0.6681, allocations: 3.938 kB / 453.3 MB, free: 14.84 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: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02255/0.6907, allocations: 6.436 MB / 459.7 MB, free: 8.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6907, allocations: 8.031 kB / 459.7 MB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2279/0.9186, allocations: 16.63 MB / 476.3 MB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/0.9372, allocations: 5.875 MB / 482.2 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004335/0.9377, allocations: 385.8 kB / 482.6 MB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002163/0.9399, allocations: 0.5035 MB / 483.1 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3263/1.266, allocations: 15.63 MB / 498.7 MB, free: 121.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003818/1.267, allocations: 70.47 kB / 498.8 MB, free: 121.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/1.269, allocations: 233.1 kB / 499 MB, free: 121.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006376/1.275, allocations: 2.484 MB / 0.4897 GB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04206/1.317, allocations: 13.1 MB / 0.5025 GB, free: 113.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09713/1.414, allocations: 57.29 MB / 0.5585 GB, free: 55.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03265/1.447, allocations: 6.44 MB / 0.5648 GB, free: 48.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02585/1.473, allocations: 11.43 MB / 0.5759 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/1.473, allocations: 68.5 kB / 0.576 GB, free: 37.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 7.034e-06/1.473, allocations: 0 / 0.576 GB, free: 37.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=338): time 0.266/1.739, allocations: 40.86 MB / 0.6159 GB, free: 12.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/1.739, allocations: 235.9 kB / 0.6161 GB, free: 11.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/1.755, allocations: 5.484 MB / 0.6215 GB, free: 6.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.756, allocations: 77.7 kB / 0.6216 GB, free: 6.344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00502/1.761, allocations: 4.244 MB / 0.6257 GB, free: 2.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002435/1.764, allocations: 1.239 MB / 0.6269 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/1.765, allocations: 160 kB / 0.6271 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007302/1.765, allocations: 0.6539 MB / 0.6277 GB, free: 52 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/1.776, allocations: 3.733 MB / 0.6314 GB, free: 12.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01544/1.792, allocations: 8.211 MB / 0.6394 GB, free: 1.871 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3093/2.101, allocations: 5.424 MB / 0.6447 GB, free: 137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/2.101, allocations: 46.34 kB / 0.6447 GB, free: 137 MB / 442.7 MB Notification: Performance of matching and sorting (n=1064) (initialization): time 0.05515/2.156, allocations: 15.15 MB / 0.6595 GB, free: 131.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/2.156, allocations: 72.62 kB / 0.6596 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/2.157, allocations: 156.1 kB / 0.6597 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/2.181, allocations: 4.143 MB / 0.6638 GB, free: 131.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/2.192, allocations: 1.794 MB / 0.6655 GB, free: 131 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05062/2.243, allocations: 20.26 MB / 0.6853 GB, free: 122 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009923/2.253, allocations: 0.4945 MB / 0.6858 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/2.255, allocations: 468.7 kB / 0.6862 GB, free: 121.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (963): * Single equations (assignments): 959 * 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%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008513/2.263, allocations: 3.073 MB / 0.6892 GB, free: 118.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.265, allocations: 0.5269 MB / 0.6898 GB, free: 117.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03523/2.3, allocations: 9.604 MB / 0.6991 GB, free: 108.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/2.3, allocations: 32 kB / 0.6992 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/2.3, allocations: 16 kB / 0.6992 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.465e-05/2.3, allocations: 15.94 kB / 0.6992 GB, free: 108.1 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.06292/2.363, allocations: 19.79 MB / 0.7185 GB, free: 88.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.074e-05/2.363, allocations: 4 kB / 0.7185 GB, free: 88.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004392/2.368, allocations: 496 kB / 0.719 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02187/2.39, allocations: 3.659 MB / 0.7226 GB, free: 84.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008973/2.391, allocations: 66.16 kB / 0.7226 GB, free: 84.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04294/2.434, allocations: 17.83 MB / 0.74 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/2.434, allocations: 11.94 kB / 0.7401 GB, free: 66.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04466/2.478, allocations: 15.15 MB / 0.7549 GB, free: 50.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004396/2.483, allocations: 1.158 MB / 0.756 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002459/2.485, allocations: 62.42 kB / 0.756 GB, free: 49.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006235/2.492, allocations: 228.9 kB / 0.7563 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/2.493, allocations: 218.2 kB / 0.7565 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004619/2.493, allocations: 91.98 kB / 0.7566 GB, free: 48.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009451/2.503, allocations: 3.928 MB / 0.7604 GB, free: 45.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.313e-06/2.503, allocations: 0 / 0.7604 GB, free: 45.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01101/2.514, allocations: 1.724 MB / 0.7621 GB, free: 43.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (256): * Single equations (assignments): 252 * 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%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/2.516, allocations: 246.7 kB / 0.7623 GB, free: 43.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0225/2.538, allocations: 9.179 MB / 0.7713 GB, free: 33.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/2.538, allocations: 5.938 kB / 0.7713 GB, free: 33.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008729/2.547, allocations: 3.617 MB / 0.7748 GB, free: 30.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006228/2.553, allocations: 0.6943 MB / 0.7755 GB, free: 29.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04542/2.599, allocations: 18.82 MB / 0.7939 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/2.61, allocations: 4.967 MB / 0.7987 GB, free: 5.633 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/2.613, allocations: 411.4 kB / 0.7991 GB, free: 5.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.213e-06/2.613, allocations: 4 kB / 0.7991 GB, free: 5.227 MB / 442.7 MB Notification: Performance of Templates: time 0.5372/3.15, allocations: 117.9 MB / 0.9143 GB, free: 44.14 MB / 442.7 MB