Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") Notification: Performance of loadModel(PlanarMechanics): time 2.262/2.262, allocations: 234.8 MB / 247 MB, free: 2.055 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.849e-05, allocations: 4.219 kB / 302.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09718, allocations: 52.37 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4856, allocations: 91.2 MB / 445.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.4859, allocations: 75.97 kB / 445.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7853/1.271, allocations: 113.4 MB / 0.5461 GB, free: 94.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.367e-06/1.271, allocations: 3.875 kB / 0.5461 GB, free: 94.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002029/1.271, allocations: 101.9 kB / 0.5462 GB, free: 94.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.05351/1.325, allocations: 7.769 MB / 0.5538 GB, free: 92.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.325, allocations: 10.84 kB / 0.5538 GB, free: 92.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.339, allocations: 2.234 MB / 0.556 GB, free: 91.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/1.347, allocations: 2.824 MB / 0.5588 GB, free: 91.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/1.347, allocations: 398.5 kB / 0.5592 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/1.35, allocations: 0.5196 MB / 0.5597 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04531/1.395, allocations: 14.77 MB / 0.5741 GB, free: 87.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003586/1.396, allocations: 54.25 kB / 0.5741 GB, free: 87.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002521/1.398, allocations: 246.4 kB / 0.5744 GB, free: 87.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003374/1.402, allocations: 1.624 MB / 0.576 GB, free: 87.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04779/1.449, allocations: 15.72 MB / 0.5913 GB, free: 80.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0852/1.535, allocations: 53.2 MB / 0.6433 GB, free: 28.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03835/1.573, allocations: 7.507 MB / 0.6506 GB, free: 21.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006396/1.579, allocations: 2.906 MB / 0.6534 GB, free: 18.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03702/1.617, allocations: 20.53 MB / 0.6735 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01636/1.633, allocations: 3.708 MB / 0.6771 GB, free: 7.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=429): time 1.586e-05/1.633, allocations: 0 / 0.6771 GB, free: 7.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=504): time 0.3962/2.029, allocations: 39.53 MB / 0.7157 GB, free: 83.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/2.029, allocations: 0.821 MB / 0.7165 GB, free: 82.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009048/2.039, allocations: 3.778 MB / 0.7202 GB, free: 82.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007661/2.039, allocations: 102.8 kB / 0.7203 GB, free: 82.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/2.043, allocations: 3.52 MB / 0.7237 GB, free: 80.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002434/2.046, allocations: 1.801 MB / 0.7255 GB, free: 79.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/2.047, allocations: 178.6 kB / 0.7257 GB, free: 79.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008063/2.048, allocations: 0.6761 MB / 0.7263 GB, free: 78.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00802/2.056, allocations: 2.859 MB / 0.7291 GB, free: 78.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01734/2.073, allocations: 6.903 MB / 0.7359 GB, free: 73.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/2.091, allocations: 4.55 MB / 0.7403 GB, free: 73.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003038/2.091, allocations: 40 kB / 0.7403 GB, free: 73.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.04907/2.14, allocations: 10.39 MB / 0.7505 GB, free: 69.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/2.141, allocations: 90.73 kB / 0.7506 GB, free: 69.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004149/2.141, allocations: 141.9 kB / 0.7507 GB, free: 69.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003449/2.145, allocations: 0.9458 MB / 0.7516 GB, free: 69.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009667/2.154, allocations: 1.998 MB / 0.7536 GB, free: 69.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/2.169, allocations: 7.448 MB / 0.7609 GB, free: 65.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008346/2.177, allocations: 489.5 kB / 0.7613 GB, free: 65.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.179, allocations: 489.3 kB / 0.7618 GB, free: 65.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rightTrail.color[3],rightTrail.color[2],rightTrail.color[1],leftTrail.color[3],leftTrail.color[2],leftTrail.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1074): * Single equations (assignments): 1064 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002508/2.182, allocations: 0.7163 MB / 0.7625 GB, free: 64.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.183, allocations: 491.4 kB / 0.763 GB, free: 64.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/2.197, allocations: 5.692 MB / 0.7685 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002059/2.197, allocations: 64.22 kB / 0.7686 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/2.197, allocations: 19.81 kB / 0.7686 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/2.197, allocations: 36.08 kB / 0.7686 GB, free: 62.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03583/2.233, allocations: 18.75 MB / 0.7869 GB, free: 48.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/2.233, allocations: 10.06 kB / 0.7869 GB, free: 48.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004429/2.237, allocations: 0.809 MB / 0.7877 GB, free: 47.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/2.24, allocations: 0.7651 MB / 0.7885 GB, free: 47.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007333/2.241, allocations: 99.92 kB / 0.7886 GB, free: 47.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/2.252, allocations: 6.721 MB / 0.7951 GB, free: 41.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/2.252, allocations: 15.94 kB / 0.7952 GB, free: 41.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01876/2.27, allocations: 10.72 MB / 0.8056 GB, free: 30.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/2.272, allocations: 0.5399 MB / 0.8062 GB, free: 30.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/2.273, allocations: 102.5 kB / 0.8063 GB, free: 30.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/2.277, allocations: 239.9 kB / 0.8065 GB, free: 29.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009329/2.278, allocations: 326.1 kB / 0.8068 GB, free: 29.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/2.278, allocations: 136.2 kB / 0.8069 GB, free: 29.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005128/2.283, allocations: 2.616 MB / 0.8095 GB, free: 27.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.015e-06/2.283, allocations: 0 / 0.8095 GB, free: 27.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008285/2.292, allocations: 1.538 MB / 0.811 GB, free: 25.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 16 (body1.r[1],body1.r[2],body1.v[1],body1.v[2],body1.phi,body1.w,inertia.phi,inertia.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,revolute2.phi,revolute.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (432): * Single equations (assignments): 421 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 51} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000863/2.293, allocations: 290.8 kB / 0.8113 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01527/2.308, allocations: 7.737 MB / 0.8188 GB, free: 18.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/2.308, allocations: 4.656 kB / 0.8188 GB, free: 18.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006642/2.315, allocations: 3.464 MB / 0.8222 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/2.319, allocations: 0.6017 MB / 0.8228 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/2.345, allocations: 11.46 MB / 0.834 GB, free: 4.137 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007397/2.352, allocations: 4.142 MB / 0.838 GB, free: 1.012 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01372/2.366, allocations: 2.659 MB / 0.8406 GB, free: 0 / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/2.368, allocations: 385.1 kB / 0.841 GB, free: 15.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.879e-06/2.368, allocations: 0 / 0.841 GB, free: 15.64 MB / 474.7 MB Notification: Performance of Templates: time 0.4709/2.839, allocations: 54.63 MB / 0.8943 GB, free: 100.9 MB / 474.7 MB