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_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.736e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 48.71 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.07157/0.4301, allocations: 46.08 MB / 371 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03523/0.4654, allocations: 10.72 MB / 381.7 MB, free: 6.547 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/0.4772, allocations: 243.4 kB / 381.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.4878, allocations: 2.411 MB / 384.3 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02693/0.5147, allocations: 6.646 MB / 391 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005724/0.5205, allocations: 1.022 MB / 392 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03167/0.5522, allocations: 10.52 MB / 402.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.5656, allocations: 6.279 MB / 408.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.5692, allocations: 1.418 MB / 410.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005175/0.5744, allocations: 2.346 MB / 412.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.5786, allocations: 1.26 MB / 413.8 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.5805, allocations: 228 kB / 414.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004894/0.5854, allocations: 2.591 MB / 416.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.5879, allocations: 436 kB / 417.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.604, allocations: 9.668 MB / 426.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6041, allocations: 0 / 426.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.6041, allocations: 0 / 426.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004138/0.6045, allocations: 0 / 426.7 MB, free: 9.375 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02243/0.6269, allocations: 6.494 MB / 433.2 MB, free: 2.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.627, allocations: 8.031 kB / 433.2 MB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08038/0.7074, allocations: 9.003 MB / 442.2 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.7236, allocations: 4.883 MB / 447.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005342/0.7242, allocations: 402 kB / 447.5 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/0.7272, allocations: 0.5541 MB / 448.1 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05911/0.7863, allocations: 19.03 MB / 467.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/0.7867, allocations: 71.45 kB / 467.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/0.7882, allocations: 243.8 kB / 467.4 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009268/0.7975, allocations: 3.44 MB / 470.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5905/1.388, allocations: 16.73 MB / 487.6 MB, free: 117.1 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.1225/1.511, allocations: 66.88 MB / 0.5415 GB, free: 67.93 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02529/1.536, allocations: 6.305 MB / 0.5476 GB, free: 61.37 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03169/1.568, allocations: 14 MB / 0.5613 GB, free: 46.78 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.568, allocations: 56.56 kB / 0.5613 GB, free: 46.72 MB / 410.8 MB Notification: Performance of pre-optimization done (n=284): time 8.005e-06/1.568, allocations: 0 / 0.5613 GB, free: 46.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=345): time 0.1455/1.713, allocations: 26.02 MB / 0.5868 GB, free: 20.57 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.713, allocations: 192.2 kB / 0.5869 GB, free: 20.35 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.724, allocations: 5.606 MB / 0.5924 GB, free: 14.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006848/1.725, allocations: 70.88 kB / 0.5925 GB, free: 14.7 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003635/1.729, allocations: 4.979 MB / 0.5973 GB, free: 9.723 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.731, allocations: 1.278 MB / 0.5986 GB, free: 8.453 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007324/1.731, allocations: 191.8 kB / 0.5988 GB, free: 8.27 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005069/1.732, allocations: 0.703 MB / 0.5995 GB, free: 7.559 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007729/1.74, allocations: 3.255 MB / 0.6026 GB, free: 4.297 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/1.753, allocations: 8.663 MB / 0.6111 GB, free: 8.949 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/1.767, allocations: 5.224 MB / 0.6162 GB, free: 3.703 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000174/1.767, allocations: 56 kB / 0.6163 GB, free: 3.648 MB / 426.8 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.04286/1.81, allocations: 12.72 MB / 0.6287 GB, free: 6.883 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.81, allocations: 91.98 kB / 0.6288 GB, free: 6.793 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003547/1.81, allocations: 192 kB / 0.6289 GB, free: 6.605 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008177/1.819, allocations: 1.337 MB / 0.6303 GB, free: 5.266 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/1.832, allocations: 2.16 MB / 0.6324 GB, free: 3.102 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3184/2.151, allocations: 7.519 MB / 0.6397 GB, free: 131.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/2.161, allocations: 0.5015 MB / 0.6402 GB, free: 131.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003026/2.165, allocations: 0.544 MB / 0.6407 GB, free: 131.3 MB / 442.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.01454/2.179, allocations: 3.391 MB / 0.644 GB, free: 130 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/2.181, allocations: 0.5264 MB / 0.6445 GB, free: 130 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/2.202, allocations: 5.398 MB / 0.6498 GB, free: 128 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.947e-05/2.202, allocations: 37.41 kB / 0.6499 GB, free: 128 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-05/2.202, allocations: 7.531 kB / 0.6499 GB, free: 128 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.226e-05/2.202, allocations: 20.23 kB / 0.6499 GB, free: 128 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04548/2.247, allocations: 14.02 MB / 0.6636 GB, free: 122.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.155e-05/2.248, allocations: 15.09 kB / 0.6636 GB, free: 122.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004375/2.252, allocations: 0.4914 MB / 0.6641 GB, free: 122.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006206/2.258, allocations: 0.8167 MB / 0.6649 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006374/2.259, allocations: 69.42 kB / 0.6649 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/2.274, allocations: 5.551 MB / 0.6704 GB, free: 119.5 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/2.274, allocations: 15.69 kB / 0.6704 GB, free: 119.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02369/2.298, allocations: 10.01 MB / 0.6801 GB, free: 114 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003727/2.302, allocations: 0.9506 MB / 0.6811 GB, free: 113.4 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/2.303, allocations: 71.45 kB / 0.6811 GB, free: 113.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004119/2.307, allocations: 130.3 kB / 0.6813 GB, free: 113.4 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006869/2.308, allocations: 220.7 kB / 0.6815 GB, free: 113.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000319/2.308, allocations: 97.48 kB / 0.6816 GB, free: 113.3 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.008648/2.317, allocations: 3.93 MB / 0.6854 GB, free: 111.7 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.633e-06/2.317, allocations: 0 / 0.6854 GB, free: 111.7 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00966/2.327, allocations: 1.643 MB / 0.687 GB, free: 110.1 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.001197/2.328, allocations: 278.3 kB / 0.6873 GB, free: 109.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01843/2.347, allocations: 7.731 MB / 0.6948 GB, free: 103 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/2.347, allocations: 0 / 0.6948 GB, free: 103 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006584/2.353, allocations: 2.378 MB / 0.6972 GB, free: 100.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00486/2.358, allocations: 0.651 MB / 0.6978 GB, free: 99.96 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03745/2.396, allocations: 18.07 MB / 0.7154 GB, free: 81.77 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/2.406, allocations: 5.312 MB / 0.7206 GB, free: 76.41 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01306/2.419, allocations: 2.975 MB / 0.7235 GB, free: 73.43 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/2.421, allocations: 391.4 kB / 0.7239 GB, free: 73.05 MB / 442.8 MB Notification: Performance of SimCode: time 1.373e-06/2.421, allocations: 0 / 0.7239 GB, free: 73.05 MB / 442.8 MB Notification: Performance of Templates: time 0.1859/2.607, allocations: 57.57 MB / 0.7801 GB, free: 15.63 MB / 442.8 MB