Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.873e-05, allocations: 7.984 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.5, allocations: 116.1 MB / 498.3 MB, free: 8.355 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5004, allocations: 79.97 kB / 498.4 MB, free: 8.277 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8574/1.358, allocations: 154.6 MB / 0.6377 GB, free: 37 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.019e-06/1.358, allocations: 4 kB / 0.6377 GB, free: 37 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003631/1.358, allocations: 136 kB / 0.6379 GB, free: 36.86 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01962/1.378, allocations: 6.546 MB / 0.6443 GB, free: 30.24 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.378, allocations: 12.03 kB / 0.6443 GB, free: 30.23 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03625/1.414, allocations: 6.675 MB / 0.6508 GB, free: 23.53 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/1.437, allocations: 8.398 MB / 0.659 GB, free: 15.07 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000652/1.438, allocations: 0.5216 MB / 0.6595 GB, free: 14.55 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/1.441, allocations: 0.7067 MB / 0.6602 GB, free: 13.84 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04891/1.49, allocations: 18.6 MB / 0.6784 GB, free: 9.895 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004376/1.491, allocations: 83.17 kB / 0.6784 GB, free: 9.812 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003034/1.494, allocations: 343.8 kB / 0.6788 GB, free: 9.477 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003718/1.498, allocations: 1.719 MB / 0.6804 GB, free: 7.758 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04635/1.544, allocations: 15.96 MB / 0.696 GB, free: 7.785 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7082/2.252, allocations: 74.19 MB / 0.7685 GB, free: 53.46 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02043/2.273, allocations: 6.094 MB / 0.7744 GB, free: 52.21 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005232/2.278, allocations: 2.709 MB / 0.7771 GB, free: 52.16 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02962/2.308, allocations: 13.91 MB / 0.7907 GB, free: 47.79 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/2.308, allocations: 59.84 kB / 0.7907 GB, free: 47.75 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=284): time 7.252e-06/2.308, allocations: 3.188 kB / 0.7907 GB, free: 47.75 MB / 0.4949 GB Notification: Performance of matching and sorting (n=344): time 0.08028/2.388, allocations: 19.3 MB / 0.8096 GB, free: 43.71 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/2.388, allocations: 188.9 kB / 0.8097 GB, free: 43.52 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/2.399, allocations: 5.179 MB / 0.8148 GB, free: 42.57 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005709/2.4, allocations: 73.92 kB / 0.8149 GB, free: 42.51 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003645/2.404, allocations: 5.01 MB / 0.8198 GB, free: 38.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/2.405, allocations: 1.28 MB / 0.821 GB, free: 37.79 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009259/2.406, allocations: 186.7 kB / 0.8212 GB, free: 37.65 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006597/2.407, allocations: 0.706 MB / 0.8219 GB, free: 37.17 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006942/2.414, allocations: 3.14 MB / 0.825 GB, free: 36.09 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/2.424, allocations: 8.55 MB / 0.8333 GB, free: 27.73 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/2.434, allocations: 5.201 MB / 0.8384 GB, free: 26.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/2.434, allocations: 55.72 kB / 0.8384 GB, free: 26.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03065/2.465, allocations: 11.99 MB / 0.8501 GB, free: 22.41 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/2.465, allocations: 87.75 kB / 0.8502 GB, free: 22.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/2.465, allocations: 197.5 kB / 0.8504 GB, free: 22.41 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005733/2.471, allocations: 1.325 MB / 0.8517 GB, free: 22.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009768/2.481, allocations: 2.184 MB / 0.8538 GB, free: 20.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/2.494, allocations: 7.116 MB / 0.8608 GB, free: 14.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009266/2.504, allocations: 0.5533 MB / 0.8613 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/2.505, allocations: 0.5489 MB / 0.8619 GB, free: 13.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1155): * Single equations (assignments): 1148 * 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.002492/2.508, allocations: 0.8074 MB / 0.8627 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/2.509, allocations: 0.5322 MB / 0.8632 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/2.523, allocations: 5.267 MB / 0.8683 GB, free: 7.441 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.857e-05/2.524, allocations: 36 kB / 0.8683 GB, free: 7.406 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/2.524, allocations: 8 kB / 0.8684 GB, free: 7.398 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-05/2.524, allocations: 18.86 kB / 0.8684 GB, free: 7.395 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04121/2.565, allocations: 14.27 MB / 0.8823 GB, free: 12.27 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/2.565, allocations: 12 kB / 0.8823 GB, free: 12.25 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/2.568, allocations: 0.5353 MB / 0.8828 GB, free: 11.82 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/2.573, allocations: 0.9169 MB / 0.8837 GB, free: 11.16 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005866/2.574, allocations: 64 kB / 0.8838 GB, free: 11.1 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/2.586, allocations: 5.42 MB / 0.8891 GB, free: 6.199 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.172e-05/2.586, allocations: 19.88 kB / 0.8891 GB, free: 6.18 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0254/2.611, allocations: 10.36 MB / 0.8992 GB, free: 12.93 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003337/2.615, allocations: 0.9416 MB / 0.9001 GB, free: 12.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/2.616, allocations: 66.23 kB / 0.9002 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/2.62, allocations: 190.8 kB / 0.9004 GB, free: 11.86 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008553/2.621, allocations: 220.7 kB / 0.9006 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003686/2.622, allocations: 103.4 kB / 0.9007 GB, free: 11.61 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009453/2.631, allocations: 3.576 MB / 0.9042 GB, free: 8.484 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.299e-06/2.631, allocations: 0 / 0.9042 GB, free: 8.484 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01118/2.642, allocations: 1.658 MB / 0.9058 GB, free: 6.844 MB / 0.5262 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.001119/2.643, allocations: 273.1 kB / 0.9061 GB, free: 6.602 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.362/3.006, allocations: 7.353 MB / 0.9133 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/3.006, allocations: 5.406 kB / 0.9133 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005916/3.012, allocations: 2.32 MB / 0.9155 GB, free: 131.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/3.016, allocations: 0.6336 MB / 0.9161 GB, free: 131.1 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/3.049, allocations: 12.65 MB / 0.9285 GB, free: 128.4 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/3.061, allocations: 5.323 MB / 0.9337 GB, free: 127.5 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01136/3.072, allocations: 3.043 MB / 0.9367 GB, free: 127.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/3.074, allocations: 380.8 kB / 0.937 GB, free: 127.4 MB / 0.5262 GB Notification: Performance of SimCode: time 1.673e-06/3.074, allocations: 0 / 0.937 GB, free: 127.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.1533/3.227, allocations: 54.49 MB / 0.9902 GB, free: 116.8 MB / 0.5262 GB