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_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.003e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 54.84 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.4994, allocations: 109.5 MB / 469.2 MB, free: 3.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4997, allocations: 79.95 kB / 469.3 MB, free: 3.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9298/1.43, allocations: 154.3 MB / 0.609 GB, free: 80.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.43, allocations: 0 / 0.609 GB, free: 80.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003256/1.43, allocations: 136 kB / 0.6091 GB, free: 80.77 MB / 458.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.0199/1.45, allocations: 6.546 MB / 0.6155 GB, free: 74.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.45, allocations: 8.031 kB / 0.6155 GB, free: 74.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0352/1.485, allocations: 6.675 MB / 0.622 GB, free: 67.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02343/1.509, allocations: 8.371 MB / 0.6302 GB, free: 59.01 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/1.509, allocations: 0.5333 MB / 0.6307 GB, free: 58.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003359/1.513, allocations: 0.7027 MB / 0.6314 GB, free: 57.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0469/1.56, allocations: 18.59 MB / 0.6496 GB, free: 37.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003821/1.56, allocations: 83.23 kB / 0.6496 GB, free: 37.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002968/1.563, allocations: 335.8 kB / 0.65 GB, free: 37.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/1.566, allocations: 1.715 MB / 0.6516 GB, free: 35.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03911/1.605, allocations: 15.96 MB / 0.6672 GB, free: 19.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4502/2.055, allocations: 74.09 MB / 0.7396 GB, free: 48.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02006/2.075, allocations: 6.086 MB / 0.7455 GB, free: 47.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005419/2.081, allocations: 2.706 MB / 0.7482 GB, free: 47.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02978/2.111, allocations: 13.91 MB / 0.7618 GB, free: 42.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/2.111, allocations: 64.16 kB / 0.7618 GB, free: 42.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 6.909e-06/2.111, allocations: 3.344 kB / 0.7618 GB, free: 42.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=344): time 0.08151/2.192, allocations: 19.28 MB / 0.7806 GB, free: 38.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/2.192, allocations: 190.1 kB / 0.7808 GB, free: 38.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/2.203, allocations: 5.148 MB / 0.7859 GB, free: 37.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/2.204, allocations: 77.75 kB / 0.7859 GB, free: 37.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003635/2.207, allocations: 4.997 MB / 0.7908 GB, free: 33.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/2.209, allocations: 1.282 MB / 0.7921 GB, free: 32.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009163/2.21, allocations: 186.3 kB / 0.7922 GB, free: 32.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007301/2.211, allocations: 0.7054 MB / 0.7929 GB, free: 32.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007342/2.218, allocations: 3.14 MB / 0.796 GB, free: 31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/2.228, allocations: 8.532 MB / 0.8043 GB, free: 22.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/2.238, allocations: 5.19 MB / 0.8094 GB, free: 21.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/2.239, allocations: 57.48 kB / 0.8094 GB, free: 21.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03171/2.27, allocations: 11.96 MB / 0.8211 GB, free: 17.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.27, allocations: 90.11 kB / 0.8212 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/2.271, allocations: 192.5 kB / 0.8214 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00598/2.277, allocations: 1.312 MB / 0.8227 GB, free: 17.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009736/2.286, allocations: 2.183 MB / 0.8248 GB, free: 16.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/2.301, allocations: 7.103 MB / 0.8317 GB, free: 9.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009292/2.31, allocations: 0.5604 MB / 0.8323 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/2.312, allocations: 0.5491 MB / 0.8328 GB, free: 8.793 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * 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 (1152): * Single equations (assignments): 1145 * 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.002334/2.314, allocations: 0.7983 MB / 0.8336 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/2.316, allocations: 0.5278 MB / 0.8341 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/2.331, allocations: 5.276 MB / 0.8393 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/2.332, allocations: 36.7 kB / 0.8393 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/2.332, allocations: 10.81 kB / 0.8393 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-05/2.332, allocations: 13.73 kB / 0.8393 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05867/2.39, allocations: 14 MB / 0.853 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/2.39, allocations: 12 kB / 0.853 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/2.394, allocations: 0.534 MB / 0.8535 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004689/2.398, allocations: 0.9207 MB / 0.8544 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005797/2.399, allocations: 76.53 kB / 0.8545 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/2.411, allocations: 5.403 MB / 0.8598 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.218e-05/2.412, allocations: 21.66 kB / 0.8598 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/2.433, allocations: 10.13 MB / 0.8697 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/2.436, allocations: 0.9489 MB / 0.8706 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/2.438, allocations: 69.34 kB / 0.8707 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/2.442, allocations: 184 kB / 0.8709 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008563/2.443, allocations: 227.8 kB / 0.8711 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/2.443, allocations: 100 kB / 0.8712 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009412/2.452, allocations: 3.554 MB / 0.8747 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.581e-06/2.452, allocations: 0 / 0.8747 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0113/2.464, allocations: 1.656 MB / 0.8763 GB, free: 1.371 MB / 0.4948 GB 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 (267): * Single equations (assignments): 260 * 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.001139/2.465, allocations: 261.6 kB / 0.8765 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02023/2.485, allocations: 7.42 MB / 0.8838 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/2.485, allocations: 320 / 0.8838 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005934/2.491, allocations: 2.318 MB / 0.886 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/2.496, allocations: 0.6467 MB / 0.8867 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.323/2.819, allocations: 12.7 MB / 0.8991 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01396/2.833, allocations: 5.318 MB / 0.9043 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01203/2.845, allocations: 3.04 MB / 0.9072 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/2.847, allocations: 383.5 kB / 0.9076 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.813e-06/2.847, allocations: 0 / 0.9076 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1538/3.001, allocations: 54.35 MB / 0.9607 GB, free: 126.5 MB / 0.5105 GB