Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.245/2.245, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.149e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3801, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.07735/0.4575, allocations: 49.98 MB / 412.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03476/0.4923, allocations: 11.55 MB / 424.4 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/0.5044, allocations: 263.5 kB / 424.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009311/0.5137, allocations: 2.625 MB / 427.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0284/0.5422, allocations: 7.207 MB / 434.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.5485, allocations: 1.225 MB / 435.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03305/0.5816, allocations: 10.98 MB / 446.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01514/0.5968, allocations: 7.021 MB / 453.7 MB, free: 2.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.6014, allocations: 1.617 MB / 455.3 MB, free: 1.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00687/0.6084, allocations: 2.697 MB / 458 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.6136, allocations: 1.295 MB / 459.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002483/0.6161, allocations: 252 kB / 459.6 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006002/0.6222, allocations: 2.934 MB / 462.5 MB, free: 9.852 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.6252, allocations: 484 kB / 463 MB, free: 9.379 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.6444, allocations: 10.62 MB / 473.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6445, allocations: 0 / 473.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6445, allocations: 0 / 473.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000448/0.6449, allocations: 0 / 473.6 MB, free: 14.73 MB / 410.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.02693/0.6719, allocations: 7.525 MB / 481.1 MB, free: 7.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6719, allocations: 8.031 kB / 481.1 MB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08467/0.7566, allocations: 9.244 MB / 490.4 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01966/0.7763, allocations: 6.023 MB / 496.4 MB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006701/0.7771, allocations: 430.9 kB / 496.8 MB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/0.7805, allocations: 0.6049 MB / 497.4 MB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.654/1.435, allocations: 20.82 MB / 0.5061 GB, free: 108.3 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003093/1.435, allocations: 74.38 kB / 0.5062 GB, free: 108.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/1.437, allocations: 280.6 kB / 0.5064 GB, free: 108.1 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008815/1.445, allocations: 3.708 MB / 0.5101 GB, free: 106.7 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05604/1.502, allocations: 18.35 MB / 0.528 GB, free: 89.89 MB / 426.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.1612/1.663, allocations: 74.47 MB / 0.6007 GB, free: 14.12 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04276/1.706, allocations: 7.454 MB / 0.608 GB, free: 6.418 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07068/1.776, allocations: 18.17 MB / 0.6257 GB, free: 3.684 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/1.777, allocations: 60.56 kB / 0.6258 GB, free: 3.617 MB / 442.8 MB Notification: Performance of pre-optimization done (n=332): time 1.21e-05/1.777, allocations: 4 kB / 0.6258 GB, free: 3.613 MB / 442.8 MB Notification: Performance of matching and sorting (n=413): time 0.32/2.097, allocations: 35.71 MB / 0.6607 GB, free: 15.66 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/2.097, allocations: 188.9 kB / 0.6608 GB, free: 15.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02437/2.121, allocations: 6.23 MB / 0.6669 GB, free: 9.211 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001652/2.123, allocations: 81.7 kB / 0.667 GB, free: 9.125 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009687/2.133, allocations: 5.424 MB / 0.6723 GB, free: 3.637 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003678/2.137, allocations: 1.519 MB / 0.6738 GB, free: 2.098 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/2.139, allocations: 204 kB / 0.674 GB, free: 1.898 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001445/2.14, allocations: 0.7485 MB / 0.6747 GB, free: 1.145 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3874/2.527, allocations: 4.129 MB / 0.6787 GB, free: 162.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/2.543, allocations: 9.965 MB / 0.6885 GB, free: 153.5 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/2.557, allocations: 6.288 MB / 0.6946 GB, free: 151.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001873/2.558, allocations: 60.61 kB / 0.6947 GB, free: 151.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=1374) (initialization): time 0.05007/2.608, allocations: 15.83 MB / 0.7101 GB, free: 145.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/2.608, allocations: 96.8 kB / 0.7102 GB, free: 145.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003259/2.608, allocations: 203.5 kB / 0.7104 GB, free: 145.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/2.622, allocations: 2.335 MB / 0.7127 GB, free: 144.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0149/2.637, allocations: 2.391 MB / 0.715 GB, free: 142.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03074/2.668, allocations: 12.08 MB / 0.7268 GB, free: 131.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.68, allocations: 0.5865 MB / 0.7274 GB, free: 131.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002582/2.682, allocations: 0.5912 MB / 0.728 GB, free: 130.8 MB / 490.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.009533/2.692, allocations: 3.702 MB / 0.7316 GB, free: 127.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/2.694, allocations: 0.5939 MB / 0.7322 GB, free: 126.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02842/2.722, allocations: 8.148 MB / 0.7401 GB, free: 118.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/2.722, allocations: 65.08 kB / 0.7402 GB, free: 118.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.613e-05/2.722, allocations: 8 kB / 0.7402 GB, free: 118.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/2.723, allocations: 19.94 kB / 0.7402 GB, free: 118.6 MB / 490.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.05694/2.779, allocations: 18.76 MB / 0.7585 GB, free: 99.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-05/2.78, allocations: 16 kB / 0.7585 GB, free: 99.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005676/2.785, allocations: 0.6163 MB / 0.7591 GB, free: 98.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/2.797, allocations: 1.749 MB / 0.7608 GB, free: 97.19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008762/2.798, allocations: 85.62 kB / 0.7609 GB, free: 97.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02618/2.824, allocations: 10.13 MB / 0.7708 GB, free: 86.92 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/2.824, allocations: 27.64 kB / 0.7708 GB, free: 86.89 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03659/2.861, allocations: 14.06 MB / 0.7846 GB, free: 72.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004507/2.866, allocations: 1.169 MB / 0.7857 GB, free: 71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002283/2.868, allocations: 77.14 kB / 0.7858 GB, free: 70.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0056/2.874, allocations: 204.6 kB / 0.786 GB, free: 70.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/2.875, allocations: 249.8 kB / 0.7862 GB, free: 70.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/2.875, allocations: 121 kB / 0.7863 GB, free: 70.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009667/2.885, allocations: 4.392 MB / 0.7906 GB, free: 65.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.132e-06/2.885, allocations: 0 / 0.7906 GB, free: 65.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01163/2.897, allocations: 1.93 MB / 0.7925 GB, free: 64.07 MB / 490.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.001661/2.898, allocations: 283.6 kB / 0.7928 GB, free: 63.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02446/2.923, allocations: 9.756 MB / 0.8023 GB, free: 54.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.193e-05/2.923, allocations: 3.984 kB / 0.8023 GB, free: 54.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008768/2.932, allocations: 3.297 MB / 0.8055 GB, free: 50.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/2.938, allocations: 0.7215 MB / 0.8062 GB, free: 50.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04347/2.981, allocations: 20.65 MB / 0.8264 GB, free: 29.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/2.993, allocations: 5.74 MB / 0.832 GB, free: 23.41 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01484/3.008, allocations: 3.32 MB / 0.8353 GB, free: 20.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002896/3.011, allocations: 419.4 kB / 0.8357 GB, free: 19.66 MB / 490.8 MB Notification: Performance of SimCode: time 3.917e-06/3.011, allocations: 0 / 0.8357 GB, free: 19.66 MB / 490.8 MB Notification: Performance of Templates: time 0.5291/3.54, allocations: 69.57 MB / 0.9036 GB, free: 118.1 MB / 490.8 MB