Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TwoTrackWithDifferentialGear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.015/2.015, allocations: 234.8 MB / 247 MB, free: 2.051 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.15e-05, allocations: 1.25 kB / 302.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 52.37 MB / 354.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.5755, allocations: 91.19 MB / 445.9 MB, free: 5.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5758, allocations: 75.97 kB / 445.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.789/1.365, allocations: 113.4 MB / 0.5462 GB, free: 94.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.365, allocations: 0 / 0.5462 GB, free: 94.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00022/1.365, allocations: 97.09 kB / 0.5463 GB, free: 94.36 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.08282/1.448, allocations: 7.783 MB / 0.5539 GB, free: 92.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.448, allocations: 7.188 kB / 0.5539 GB, free: 92.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004667/1.453, allocations: 1.003 MB / 0.5549 GB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/1.47, allocations: 2.233 MB / 0.5571 GB, free: 91.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00974/1.48, allocations: 2.814 MB / 0.5599 GB, free: 91.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005605/1.481, allocations: 402 kB / 0.5602 GB, free: 91.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.485, allocations: 0.5267 MB / 0.5608 GB, free: 91.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05983/1.544, allocations: 14.77 MB / 0.5752 GB, free: 86.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000573/1.545, allocations: 55.98 kB / 0.5752 GB, free: 86.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004063/1.549, allocations: 249.9 kB / 0.5755 GB, free: 86.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/1.554, allocations: 1.622 MB / 0.577 GB, free: 86.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05856/1.613, allocations: 15.72 MB / 0.5924 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1105/1.723, allocations: 53.19 MB / 0.6443 GB, free: 27.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06162/1.785, allocations: 7.507 MB / 0.6517 GB, free: 20.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007938/1.793, allocations: 2.902 MB / 0.6545 GB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04344/1.837, allocations: 20.54 MB / 0.6746 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02099/1.858, allocations: 3.701 MB / 0.6782 GB, free: 6.875 MB / 458.7 MB Notification: Performance of pre-optimization done (n=429): time 1.65e-05/1.858, allocations: 7.938 kB / 0.6782 GB, free: 6.867 MB / 458.7 MB Notification: Performance of matching and sorting (n=504): time 0.4548/2.312, allocations: 39.52 MB / 0.7168 GB, free: 83.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/2.313, allocations: 0.8238 MB / 0.7176 GB, free: 82.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009147/2.322, allocations: 3.776 MB / 0.7213 GB, free: 81.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008907/2.323, allocations: 103.9 kB / 0.7214 GB, free: 81.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004075/2.327, allocations: 3.52 MB / 0.7248 GB, free: 79.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00282/2.33, allocations: 1.811 MB / 0.7266 GB, free: 78.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/2.331, allocations: 179.3 kB / 0.7267 GB, free: 78.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007111/2.332, allocations: 0.6797 MB / 0.7274 GB, free: 78.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007798/2.34, allocations: 2.853 MB / 0.7302 GB, free: 78.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/2.35, allocations: 6.907 MB / 0.7369 GB, free: 73.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/2.361, allocations: 4.542 MB / 0.7414 GB, free: 72.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/2.362, allocations: 46.22 kB / 0.7414 GB, free: 72.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02995/2.391, allocations: 10.38 MB / 0.7516 GB, free: 69.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/2.392, allocations: 96.36 kB / 0.7516 GB, free: 69.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/2.392, allocations: 141 kB / 0.7518 GB, free: 69.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/2.396, allocations: 0.9486 MB / 0.7527 GB, free: 69.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/2.409, allocations: 2.003 MB / 0.7547 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/2.425, allocations: 7.448 MB / 0.7619 GB, free: 65.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009792/2.435, allocations: 490 kB / 0.7624 GB, free: 64.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/2.437, allocations: 481.2 kB / 0.7629 GB, free: 64.79 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.001969/2.439, allocations: 0.7257 MB / 0.7636 GB, free: 64.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/2.441, allocations: 482.6 kB / 0.764 GB, free: 63.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/2.456, allocations: 5.691 MB / 0.7696 GB, free: 61.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002476/2.456, allocations: 68.77 kB / 0.7697 GB, free: 61.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.219e-05/2.456, allocations: 19.8 kB / 0.7697 GB, free: 61.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.83e-05/2.457, allocations: 29.69 kB / 0.7697 GB, free: 61.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04317/2.5, allocations: 18.75 MB / 0.788 GB, free: 47.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/2.5, allocations: 8 kB / 0.788 GB, free: 47.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006827/2.507, allocations: 0.8008 MB / 0.7888 GB, free: 47.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/2.51, allocations: 0.7729 MB / 0.7896 GB, free: 46.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008391/2.511, allocations: 96.53 kB / 0.7896 GB, free: 46.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/2.524, allocations: 6.732 MB / 0.7962 GB, free: 40.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/2.524, allocations: 11.94 kB / 0.7962 GB, free: 40.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/2.546, allocations: 10.72 MB / 0.8067 GB, free: 29.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/2.548, allocations: 0.5451 MB / 0.8072 GB, free: 29.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002082/2.55, allocations: 92.73 kB / 0.8073 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005202/2.556, allocations: 247.4 kB / 0.8076 GB, free: 29.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/2.557, allocations: 320 kB / 0.8079 GB, free: 28.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004895/2.558, allocations: 141.6 kB / 0.808 GB, free: 28.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006209/2.564, allocations: 2.621 MB / 0.8106 GB, free: 26.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.564, allocations: 0 / 0.8106 GB, free: 26.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01023/2.574, allocations: 1.534 MB / 0.8121 GB, free: 24.96 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.02418/2.598, allocations: 13.37 MB / 0.8251 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01757/2.616, allocations: 7.731 MB / 0.8327 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.616, allocations: 4.062 kB / 0.8327 GB, free: 5.059 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007383/2.624, allocations: 3.469 MB / 0.8361 GB, free: 1.766 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/2.628, allocations: 0.5897 MB / 0.8366 GB, free: 1.273 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04367/2.672, allocations: 13.37 MB / 0.8497 GB, free: 5.973 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008015/2.68, allocations: 4.144 MB / 0.8537 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.3422/3.022, allocations: 2.587 MB / 0.8563 GB, free: 106.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006917/3.029, allocations: 2.596 MB / 0.8588 GB, free: 106.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/3.029, allocations: 3.625 kB / 0.8588 GB, free: 106.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/3.279, allocations: 108.7 MB / 0.9649 GB, free: 50.47 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/3.279, allocations: 200 kB / 0.9651 GB, free: 50.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.141/9.421, allocations: 0 / 0.9651 GB, free: 50.25 MB / 474.7 MB