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.677/1.677, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.527e-05, allocations: 4 kB / 225.1 MB, free: 2.129 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.251, allocations: 38.77 MB / 263.9 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.405, allocations: 86.57 MB / 350.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.4054, allocations: 79.95 kB / 350.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6501/1.055, allocations: 117.5 MB / 468 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.056, allocations: 0 / 468 MB, free: 5.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000421/1.056, allocations: 124 kB / 468.1 MB, free: 5.52 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.02535/1.081, allocations: 6.093 MB / 474.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.081, allocations: 8.031 kB / 474.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004891/1.086, allocations: 1.034 MB / 475.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02328/1.11, allocations: 2.785 MB / 478 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02834/1.138, allocations: 7.621 MB / 485.6 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006817/1.139, allocations: 456 kB / 486.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/1.142, allocations: 0.6012 MB / 486.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05264/1.195, allocations: 15.57 MB / 0.4905 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005703/1.196, allocations: 91.23 kB / 0.4906 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003174/1.199, allocations: 283.9 kB / 0.4908 GB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004146/1.203, allocations: 1.478 MB / 0.4923 GB, free: 84 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2945/1.498, allocations: 13.27 MB / 0.5052 GB, free: 48.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/1.629, allocations: 70.26 MB / 0.5739 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04356/1.673, allocations: 7.259 MB / 0.581 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/1.686, allocations: 4.817 MB / 0.5857 GB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/1.689, allocations: 1.282 MB / 0.5869 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.313e-05/1.689, allocations: 60.47 kB / 0.587 GB, free: 1.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 9.538e-06/1.689, allocations: 2.938 kB / 0.587 GB, free: 1.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.3137/2.003, allocations: 41.32 MB / 0.6273 GB, free: 4.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/2.003, allocations: 171 kB / 0.6275 GB, free: 4.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/2.016, allocations: 4.568 MB / 0.6319 GB, free: 228 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001238/2.018, allocations: 81.7 kB / 0.632 GB, free: 140 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2579/2.276, allocations: 3.948 MB / 0.6359 GB, free: 78.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002359/2.278, allocations: 1.374 MB / 0.6372 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/2.279, allocations: 161.5 kB / 0.6374 GB, free: 77.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005029/2.28, allocations: 0.6503 MB / 0.638 GB, free: 77.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/2.29, allocations: 4.439 MB / 0.6423 GB, free: 77.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/2.303, allocations: 8.658 MB / 0.6508 GB, free: 71.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/2.317, allocations: 6.199 MB / 0.6569 GB, free: 71.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/2.318, allocations: 41.12 kB / 0.6569 GB, free: 71.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.06332/2.381, allocations: 18.87 MB / 0.6753 GB, free: 70.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/2.381, allocations: 71.09 kB / 0.6754 GB, free: 70.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002495/2.381, allocations: 148.9 kB / 0.6755 GB, free: 70.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03359/2.415, allocations: 6.633 MB / 0.682 GB, free: 69.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/2.427, allocations: 1.753 MB / 0.6837 GB, free: 69.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1023/2.529, allocations: 35.68 MB / 0.7186 GB, free: 46.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/2.544, allocations: 0.578 MB / 0.7191 GB, free: 46.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/2.547, allocations: 465.2 kB / 0.7196 GB, free: 46.07 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.004188/2.551, allocations: 0.7065 MB / 0.7203 GB, free: 45.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/2.554, allocations: 0.4898 MB / 0.7207 GB, free: 44.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05157/2.605, allocations: 13.69 MB / 0.7341 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/2.605, allocations: 40 kB / 0.7341 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-05/2.605, allocations: 24 kB / 0.7342 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.808e-05/2.605, allocations: 21.16 kB / 0.7342 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08586/2.691, allocations: 26.25 MB / 0.7598 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/2.691, allocations: 4 kB / 0.7598 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005031/2.696, allocations: 0.5238 MB / 0.7603 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03328/2.73, allocations: 6.321 MB / 0.7665 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001389/2.731, allocations: 74.7 kB / 0.7666 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4003/3.132, allocations: 32.47 MB / 0.7983 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/3.132, allocations: 11.64 kB / 0.7983 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06027/3.192, allocations: 20.15 MB / 0.818 GB, free: 61.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005336/3.197, allocations: 1.341 MB / 0.8193 GB, free: 60.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002337/3.2, allocations: 62.97 kB / 0.8194 GB, free: 60.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007086/3.207, allocations: 347.4 kB / 0.8197 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002159/3.209, allocations: 264.4 kB / 0.8199 GB, free: 60.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00101/3.21, allocations: 103.8 kB / 0.82 GB, free: 60.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008826/3.219, allocations: 3.269 MB / 0.8232 GB, free: 59.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.263e-06/3.219, allocations: 0 / 0.8232 GB, free: 59.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01267/3.232, allocations: 1.884 MB / 0.8251 GB, free: 59.24 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.06184/3.294, allocations: 21.49 MB / 0.8461 GB, free: 46.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0293/3.323, allocations: 11.8 MB / 0.8576 GB, free: 36.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/3.323, allocations: 2.938 kB / 0.8576 GB, free: 36.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01557/3.339, allocations: 5.627 MB / 0.8631 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006313/3.345, allocations: 0.6094 MB / 0.8637 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0628/3.408, allocations: 16.44 MB / 0.8797 GB, free: 16.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/3.419, allocations: 4.686 MB / 0.8843 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.011/3.43, allocations: 2.457 MB / 0.8867 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006701/3.436, allocations: 2.765 MB / 0.8894 GB, free: 9.363 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/3.436, allocations: 0 / 0.8894 GB, free: 9.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6091/4.046, allocations: 150.7 MB / 1.037 GB, free: 188 kB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/4.046, allocations: 198.9 kB / 1.037 GB, free: 15.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/11.78, allocations: 4 kB / 1.037 GB, free: 15.95 MB / 410.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