Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.189e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2564, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.4166, allocations: 86.56 MB / 350.4 MB, free: 3 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.417, allocations: 91.95 kB / 350.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6812/1.098, allocations: 117.5 MB / 468 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.098, allocations: 3.938 kB / 468 MB, free: 5.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000375/1.099, allocations: 124 kB / 468.1 MB, free: 5.332 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02448/1.123, allocations: 6.086 MB / 474.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.123, allocations: 8.031 kB / 474.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004955/1.128, allocations: 1.038 MB / 475.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02306/1.151, allocations: 2.789 MB / 478.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/1.179, allocations: 7.625 MB / 485.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007391/1.18, allocations: 456 kB / 486.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003553/1.183, allocations: 0.5934 MB / 486.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05247/1.236, allocations: 15.5 MB / 0.4905 GB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004935/1.237, allocations: 87.22 kB / 0.4905 GB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0028/1.239, allocations: 287.9 kB / 0.4908 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2583/1.498, allocations: 1.474 MB / 0.4923 GB, free: 48.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04191/1.54, allocations: 13.04 MB / 0.505 GB, free: 48.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.655, allocations: 70.26 MB / 0.5736 GB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0484/1.703, allocations: 7.23 MB / 0.5807 GB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009109/1.712, allocations: 4.818 MB / 0.5854 GB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.714, allocations: 1.284 MB / 0.5866 GB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/1.714, allocations: 62.44 kB / 0.5867 GB, free: 1.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 6.412e-06/1.714, allocations: 3.406 kB / 0.5867 GB, free: 1.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.3056/2.02, allocations: 41.29 MB / 0.627 GB, free: 4.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/2.02, allocations: 175 kB / 0.6272 GB, free: 4.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02047/2.041, allocations: 4.567 MB / 0.6316 GB, free: 204 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002006/2.043, allocations: 81.7 kB / 0.6317 GB, free: 116 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.288/2.331, allocations: 3.957 MB / 0.6356 GB, free: 78.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002482/2.333, allocations: 1.378 MB / 0.6369 GB, free: 78.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/2.335, allocations: 160 kB / 0.6371 GB, free: 78.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005923/2.335, allocations: 0.6479 MB / 0.6377 GB, free: 77.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.346, allocations: 4.43 MB / 0.642 GB, free: 77.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/2.36, allocations: 8.612 MB / 0.6504 GB, free: 72.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/2.373, allocations: 6.197 MB / 0.6565 GB, free: 72.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/2.373, allocations: 45.28 kB / 0.6565 GB, free: 72.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.062/2.435, allocations: 18.47 MB / 0.6746 GB, free: 71.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/2.436, allocations: 66 kB / 0.6746 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/2.436, allocations: 149.2 kB / 0.6748 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03289/2.469, allocations: 6.632 MB / 0.6813 GB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/2.48, allocations: 1.755 MB / 0.683 GB, free: 69.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08452/2.565, allocations: 35.69 MB / 0.7178 GB, free: 47.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.576, allocations: 0.5819 MB / 0.7184 GB, free: 46.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/2.578, allocations: 467.1 kB / 0.7188 GB, free: 46.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (899): * Single equations (assignments): 891 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(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: 2 {(8,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003982/2.582, allocations: 0.7015 MB / 0.7195 GB, free: 45.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/2.585, allocations: 0.4898 MB / 0.72 GB, free: 45.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04862/2.633, allocations: 13.69 MB / 0.7334 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.427e-05/2.633, allocations: 43.94 kB / 0.7334 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/2.633, allocations: 24 kB / 0.7334 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-05/2.634, allocations: 16.03 kB / 0.7334 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08444/2.718, allocations: 26.24 MB / 0.7591 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-05/2.718, allocations: 4.344 kB / 0.7591 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004885/2.723, allocations: 0.5265 MB / 0.7596 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03253/2.756, allocations: 6.321 MB / 0.7658 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/2.757, allocations: 75.42 kB / 0.7658 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3734/3.13, allocations: 32.47 MB / 0.7975 GB, free: 67.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/3.13, allocations: 3.875 kB / 0.7976 GB, free: 67.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05961/3.19, allocations: 20.16 MB / 0.8172 GB, free: 61.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005136/3.195, allocations: 1.341 MB / 0.8186 GB, free: 60.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/3.198, allocations: 66.97 kB / 0.8186 GB, free: 60.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006979/3.205, allocations: 347 kB / 0.8189 GB, free: 60.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001976/3.207, allocations: 265.4 kB / 0.8192 GB, free: 60.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007319/3.207, allocations: 104.5 kB / 0.8193 GB, free: 60.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008228/3.216, allocations: 3.266 MB / 0.8225 GB, free: 59.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.71e-07/3.216, allocations: 0 / 0.8225 GB, free: 59.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01174/3.227, allocations: 1.887 MB / 0.8243 GB, free: 59.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(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: 2 {(9,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06579/3.293, allocations: 21.5 MB / 0.8453 GB, free: 47.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03876/3.332, allocations: 11.51 MB / 0.8566 GB, free: 37.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/3.332, allocations: 4 kB / 0.8566 GB, free: 37.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01516/3.347, allocations: 5.554 MB / 0.862 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/3.354, allocations: 0.6128 MB / 0.8626 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06518/3.419, allocations: 16.41 MB / 0.8786 GB, free: 17.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/3.429, allocations: 4.689 MB / 0.8832 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0105/3.44, allocations: 2.455 MB / 0.8856 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006526/3.446, allocations: 2.763 MB / 0.8883 GB, free: 10.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/3.446, allocations: 0 / 0.8883 GB, free: 10.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6048/4.051, allocations: 149.6 MB / 1.034 GB, free: 3.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003037/4.052, allocations: 196.8 kB / 1.035 GB, free: 3.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/11.77, allocations: 0 / 1.035 GB, free: 3.508 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat