Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.064e-05, allocations: 7.984 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.9 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.4025/0.5341, allocations: 47.94 MB / 458.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0358/0.57, allocations: 11.11 MB / 470 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01367/0.5837, allocations: 253.7 kB / 470.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009541/0.5933, allocations: 2.473 MB / 472.7 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02794/0.6213, allocations: 6.872 MB / 479.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.6272, allocations: 1.008 MB / 480.6 MB, free: 1.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07084/0.6981, allocations: 25.46 MB / 0.4942 GB, free: 8.426 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01743/0.7156, allocations: 6.275 MB / 0.5003 GB, free: 2.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.7198, allocations: 1.403 MB / 0.5017 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006634/0.7265, allocations: 2.35 MB / 0.504 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/0.7319, allocations: 1.217 MB / 0.5052 GB, free: 13.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.7338, allocations: 224 kB / 0.5054 GB, free: 12.9 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004876/0.7387, allocations: 2.579 MB / 0.5079 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.7414, allocations: 440 kB / 0.5083 GB, free: 9.887 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01926/0.7607, allocations: 9.625 MB / 0.5177 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7608, allocations: 0 / 0.5177 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7608, allocations: 0 / 0.5177 GB, free: 244 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003748/0.7612, allocations: 0 / 0.5177 GB, free: 244 kB / 426.7 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.02111/0.7823, allocations: 6.444 MB / 0.524 GB, free: 9.715 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.7824, allocations: 8.031 kB / 0.524 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07925/0.8617, allocations: 8.992 MB / 0.5328 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.8757, allocations: 4.465 MB / 0.5371 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.8762, allocations: 401.9 kB / 0.5375 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/0.8789, allocations: 0.5503 MB / 0.5381 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05526/0.9342, allocations: 19.05 MB / 0.5567 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002786/0.9345, allocations: 71.44 kB / 0.5567 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/0.9358, allocations: 251.7 kB / 0.557 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009012/0.9448, allocations: 3.428 MB / 0.5603 GB, free: 3.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05825/1.003, allocations: 16.74 MB / 0.5767 GB, free: 2.621 MB / 490.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 preOpt removeSimpleEquations (simulation): time 0.8014/1.805, allocations: 66.94 MB / 0.642 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02702/1.832, allocations: 6.293 MB / 0.6482 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03642/1.868, allocations: 13.97 MB / 0.6618 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.868, allocations: 71.03 kB / 0.6619 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 7.334e-06/1.868, allocations: 0 / 0.6619 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=345): time 0.145/2.013, allocations: 25.84 MB / 0.6871 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/2.013, allocations: 187.9 kB / 0.6873 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/2.025, allocations: 5.583 MB / 0.6928 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006909/2.026, allocations: 75.03 kB / 0.6928 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003714/2.03, allocations: 4.839 MB / 0.6976 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001778/2.031, allocations: 1.283 MB / 0.6988 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000922/2.032, allocations: 189.2 kB / 0.699 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005705/2.033, allocations: 0.7156 MB / 0.6997 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00841/2.041, allocations: 3.251 MB / 0.7029 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/2.053, allocations: 8.687 MB / 0.7114 GB, free: 73.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/2.065, allocations: 5.227 MB / 0.7165 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/2.066, allocations: 56 kB / 0.7165 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04051/2.106, allocations: 12.57 MB / 0.7288 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/2.106, allocations: 88 kB / 0.7289 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000321/2.107, allocations: 192 kB / 0.7291 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007744/2.114, allocations: 1.34 MB / 0.7304 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/2.127, allocations: 2.16 MB / 0.7325 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/2.145, allocations: 7.528 MB / 0.7398 GB, free: 43.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009381/2.155, allocations: 0.5007 MB / 0.7403 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/2.156, allocations: 0.5481 MB / 0.7409 GB, free: 42.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (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.00822/2.165, allocations: 3.387 MB / 0.7442 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.166, allocations: 0.5282 MB / 0.7447 GB, free: 38.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/2.184, allocations: 5.409 MB / 0.75 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.391e-05/2.184, allocations: 37.41 kB / 0.75 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/2.184, allocations: 8 kB / 0.75 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-05/2.184, allocations: 11.95 kB / 0.75 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04243/2.227, allocations: 14.02 MB / 0.7637 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/2.227, allocations: 12 kB / 0.7637 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/2.231, allocations: 499.9 kB / 0.7642 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005922/2.237, allocations: 0.8169 MB / 0.765 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004405/2.237, allocations: 72.69 kB / 0.7651 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/2.251, allocations: 5.544 MB / 0.7705 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/2.252, allocations: 15.94 kB / 0.7705 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/2.274, allocations: 10.01 MB / 0.7803 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/2.276, allocations: 0.5877 MB / 0.7808 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/2.278, allocations: 64.77 kB / 0.7809 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00424/2.282, allocations: 141.5 kB / 0.781 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/2.283, allocations: 217.5 kB / 0.7812 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/2.283, allocations: 101.2 kB / 0.7813 GB, free: 156 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01041/2.294, allocations: 3.915 MB / 0.7852 GB, free: 12.27 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.052e-06/2.294, allocations: 0 / 0.7852 GB, free: 12.27 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01045/2.304, allocations: 1.652 MB / 0.7868 GB, free: 10.63 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 (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.001291/2.306, allocations: 261.4 kB / 0.787 GB, free: 10.39 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02188/2.328, allocations: 7.757 MB / 0.7946 GB, free: 2.645 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/2.328, allocations: 4 kB / 0.7946 GB, free: 2.641 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007075/2.335, allocations: 2.37 MB / 0.7969 GB, free: 260 kB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/2.34, allocations: 0.6389 MB / 0.7975 GB, free: 15.62 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4065/2.747, allocations: 18.86 MB / 0.816 GB, free: 176 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/2.762, allocations: 5.314 MB / 0.8211 GB, free: 175.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/2.764, allocations: 456 kB / 0.8216 GB, free: 175.1 MB / 0.5418 GB Notification: Performance of SimCode: time 1.743e-06/2.764, allocations: 0 / 0.8216 GB, free: 175.1 MB / 0.5418 GB Notification: Performance of Templates: time 0.2329/2.997, allocations: 121.7 MB / 0.9404 GB, free: 79.72 MB / 0.5418 GB