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.632/1.632, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.801e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.254, allocations: 38.76 MB / 258.3 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.4041, allocations: 85.9 MB / 344.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4045, allocations: 83.89 kB / 344.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6418/1.046, allocations: 115 MB / 459.3 MB, free: 16.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.046, allocations: 0 / 459.3 MB, free: 16.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005093/1.047, allocations: 127.9 kB / 459.4 MB, free: 16.33 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.03141/1.078, allocations: 6.078 MB / 465.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/1.078, allocations: 8.031 kB / 465.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/1.105, allocations: 2.789 MB / 468.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02855/1.133, allocations: 7.622 MB / 475.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006865/1.134, allocations: 196 kB / 476.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004286/1.138, allocations: 359.8 kB / 476.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03927/1.178, allocations: 9.762 MB / 486.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06796/1.246, allocations: 13.65 MB / 499.9 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006218/1.246, allocations: 91.22 kB / 500 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003432/1.25, allocations: 43.94 kB / 0.4883 GB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01021/1.26, allocations: 1.47 MB / 0.4897 GB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3793/1.639, allocations: 68.02 MB / 0.5562 GB, free: 21.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.65, allocations: 6.212 MB / 0.5622 GB, free: 19.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007742/1.658, allocations: 4.741 MB / 0.5669 GB, free: 17.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/1.66, allocations: 1.285 MB / 0.5681 GB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.66, allocations: 60.28 kB / 0.5682 GB, free: 15.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 7.074e-06/1.66, allocations: 3.188 kB / 0.5682 GB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.1704/1.83, allocations: 37.77 MB / 0.6051 GB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.83, allocations: 164.5 kB / 0.6052 GB, free: 12.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.842, allocations: 3.794 MB / 0.6089 GB, free: 8.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001361/1.844, allocations: 25.7 kB / 0.609 GB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004575/1.848, allocations: 4.012 MB / 0.6129 GB, free: 5.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002841/1.851, allocations: 1.325 MB / 0.6142 GB, free: 4.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/1.853, allocations: 4 kB / 0.6142 GB, free: 4.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007082/1.853, allocations: 0.6529 MB / 0.6148 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01199/1.865, allocations: 4.385 MB / 0.6191 GB, free: 0 / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01562/1.881, allocations: 8.637 MB / 0.6275 GB, free: 5.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01515/1.896, allocations: 6.086 MB / 0.6335 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/1.896, allocations: 47.94 kB / 0.6335 GB, free: 0.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.3084/2.205, allocations: 18.3 MB / 0.6514 GB, free: 79.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/2.205, allocations: 71.16 kB / 0.6515 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/2.205, allocations: 150.2 kB / 0.6516 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03159/2.237, allocations: 6.536 MB / 0.658 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/2.248, allocations: 1.799 MB / 0.6597 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07025/2.318, allocations: 33.59 MB / 0.6925 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.328, allocations: 431.4 kB / 0.693 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/2.33, allocations: 481.9 kB / 0.6934 GB, free: 71.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (923): * Single equations (assignments): 915 * 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.001965/2.332, allocations: 0.5017 MB / 0.6939 GB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0427/2.375, allocations: 13.17 MB / 0.7068 GB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/2.377, allocations: 454.2 kB / 0.7072 GB, free: 64.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04292/2.42, allocations: 13.32 MB / 0.7202 GB, free: 54.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-05/2.42, allocations: 41.33 kB / 0.7203 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-05/2.42, allocations: 27.47 kB / 0.7203 GB, free: 54.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.598e-05/2.42, allocations: 15.47 kB / 0.7203 GB, free: 54.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07221/2.492, allocations: 24.89 MB / 0.7446 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/2.492, allocations: 7.984 kB / 0.7446 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004676/2.497, allocations: 0.5187 MB / 0.7451 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03092/2.528, allocations: 6.236 MB / 0.7512 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/2.529, allocations: 23.92 kB / 0.7512 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3211/2.85, allocations: 30.62 MB / 0.7811 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/2.85, allocations: 8.656 kB / 0.7811 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05499/2.905, allocations: 19.7 MB / 0.8004 GB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004468/2.91, allocations: 1.271 MB / 0.8016 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/2.912, allocations: 9.281 kB / 0.8016 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005418/2.917, allocations: 288.4 kB / 0.8019 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/2.918, allocations: 273.3 kB / 0.8022 GB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004976/2.919, allocations: 94.12 kB / 0.8022 GB, free: 71.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005193/2.924, allocations: 2.557 MB / 0.8047 GB, free: 71.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.42e-07/2.924, allocations: 6.156 kB / 0.8048 GB, free: 71.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.012/2.936, allocations: 1.635 MB / 0.8063 GB, free: 71.76 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05571/2.992, allocations: 21.07 MB / 0.8269 GB, free: 65.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02609/3.018, allocations: 11.37 MB / 0.838 GB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/3.018, allocations: 3.969 kB / 0.838 GB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01362/3.032, allocations: 5.488 MB / 0.8434 GB, free: 57.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/3.036, allocations: 462.5 kB / 0.8438 GB, free: 57.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05594/3.092, allocations: 16.04 MB / 0.8595 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/3.103, allocations: 4.7 MB / 0.8641 GB, free: 40.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01068/3.113, allocations: 2.452 MB / 0.8665 GB, free: 38.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006585/3.12, allocations: 2.738 MB / 0.8692 GB, free: 35.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/3.12, allocations: 0 / 0.8692 GB, free: 35.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5635/3.683, allocations: 138.4 MB / 1.004 GB, free: 23.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/3.684, allocations: 167.7 kB / 1.004 GB, free: 22.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/10.45, allocations: 0 / 1.004 GB, free: 22.86 MB / 378.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