Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.539e-05, allocations: 0 / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4161, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.6498, allocations: 117.3 MB / 0.5152 GB, free: 5.219 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005407/0.6505, allocations: 79.95 kB / 0.5153 GB, free: 5.141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7755/1.426, allocations: 144.8 MB / 0.6567 GB, free: 192 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.748e-06/1.426, allocations: 0 / 0.6567 GB, free: 192 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004503/1.427, allocations: 136 kB / 0.6569 GB, free: 56 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02289/1.449, allocations: 6.627 MB / 0.6633 GB, free: 9.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.45, allocations: 16.03 kB / 0.6634 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04961/1.499, allocations: 9.328 MB / 0.6725 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/1.528, allocations: 8.65 MB / 0.6809 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007178/1.529, allocations: 484.7 kB / 0.6814 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/1.532, allocations: 0.6325 MB / 0.682 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04519/1.577, allocations: 15.46 MB / 0.6971 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000413/1.577, allocations: 83.25 kB / 0.6972 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/1.58, allocations: 299.9 kB / 0.6975 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/1.583, allocations: 1.389 MB / 0.6988 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04244/1.625, allocations: 12.48 MB / 0.711 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4131/2.038, allocations: 64.39 MB / 0.7739 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/2.059, allocations: 6.204 MB / 0.7799 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004881/2.064, allocations: 3.119 MB / 0.783 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/2.084, allocations: 11.14 MB / 0.7939 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/2.084, allocations: 60.36 kB / 0.7939 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 7.17e-06/2.084, allocations: 6.25 kB / 0.7939 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=337): time 0.1243/2.209, allocations: 29.47 MB / 0.8227 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.209, allocations: 246.7 kB / 0.8229 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01519/2.224, allocations: 4.915 MB / 0.8277 GB, free: 44.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009688/2.225, allocations: 73.55 kB / 0.8278 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005324/2.23, allocations: 4.468 MB / 0.8322 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/2.233, allocations: 1.229 MB / 0.8334 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/2.234, allocations: 163.9 kB / 0.8335 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008183/2.235, allocations: 0.6542 MB / 0.8342 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01206/2.247, allocations: 3.531 MB / 0.8376 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01548/2.263, allocations: 8.026 MB / 0.8455 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/2.279, allocations: 5.288 MB / 0.8506 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002539/2.279, allocations: 55.84 kB / 0.8507 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.04716/2.327, allocations: 14.15 MB / 0.8645 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/2.327, allocations: 72.97 kB / 0.8646 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000309/2.327, allocations: 164 kB / 0.8647 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02654/2.354, allocations: 3.563 MB / 0.8682 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/2.368, allocations: 1.797 MB / 0.87 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06663/2.434, allocations: 18.05 MB / 0.8876 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/2.445, allocations: 495 kB / 0.8881 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/2.447, allocations: 475.9 kB / 0.8885 GB, free: 10.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (972): * Single equations (assignments): 968 * Array equations: 3 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002496/2.45, allocations: 0.7079 MB / 0.8892 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/2.451, allocations: 0.5276 MB / 0.8897 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02577/2.477, allocations: 8.806 MB / 0.8983 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/2.477, allocations: 36 kB / 0.8984 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/2.477, allocations: 12 kB / 0.8984 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/2.477, allocations: 22.19 kB / 0.8984 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0521/2.529, allocations: 18.56 MB / 0.9165 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/2.53, allocations: 4 kB / 0.9165 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/2.533, allocations: 499.8 kB / 0.917 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3452/2.878, allocations: 3.098 MB / 0.92 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007395/2.879, allocations: 62.44 kB / 0.9201 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/2.909, allocations: 15.58 MB / 0.9353 GB, free: 119 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.03e-06/2.909, allocations: 12.69 kB / 0.9353 GB, free: 119 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03028/2.939, allocations: 14.04 MB / 0.949 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/2.941, allocations: 0.5531 MB / 0.9496 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/2.943, allocations: 57.16 kB / 0.9496 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004459/2.947, allocations: 209 kB / 0.9498 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/2.949, allocations: 220.3 kB / 0.95 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005157/2.949, allocations: 90.5 kB / 0.9501 GB, free: 117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00842/2.958, allocations: 3.462 MB / 0.9535 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.602e-06/2.958, allocations: 0 / 0.9535 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01023/2.968, allocations: 1.674 MB / 0.9551 GB, free: 116.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 249 * Array equations: 3 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/2.969, allocations: 255.3 kB / 0.9554 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01637/2.985, allocations: 8.528 MB / 0.9637 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.986, allocations: 0 / 0.9637 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00659/2.992, allocations: 3.391 MB / 0.967 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/2.997, allocations: 0.6923 MB / 0.9677 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/3.027, allocations: 12.84 MB / 0.9802 GB, free: 109 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/3.038, allocations: 4.957 MB / 0.9851 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009762/3.048, allocations: 2.589 MB / 0.9876 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/3.049, allocations: 347.4 kB / 0.9879 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.003e-06/3.05, allocations: 0 / 0.9879 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.1678/3.217, allocations: 67.76 MB / 1.054 GB, free: 61.36 MB / 0.5417 GB