Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.481/2.481, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.999e-05, allocations: 3.656 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6592/0.7639, allocations: 91.64 MB / 385.9 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.7643, allocations: 88.66 kB / 386 MB, free: 4.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5565/1.321, allocations: 115 MB / 0.4893 GB, free: 2.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.321, allocations: 0 / 0.4893 GB, free: 2.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005203/1.321, allocations: 120 kB / 0.4894 GB, free: 2.262 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.393/1.714, allocations: 6.072 MB / 0.4954 GB, free: 62.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.812e-05/1.715, allocations: 9.562 kB / 0.4954 GB, free: 62.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04071/1.755, allocations: 2.786 MB / 0.4981 GB, free: 62.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04268/1.798, allocations: 7.619 MB / 0.5055 GB, free: 62.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005017/1.799, allocations: 192.8 kB / 0.5057 GB, free: 62.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004007/1.803, allocations: 365 kB / 0.5061 GB, free: 62.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03159/1.834, allocations: 9.762 MB / 0.5156 GB, free: 62.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/1.879, allocations: 13.65 MB / 0.5289 GB, free: 58.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006097/1.879, allocations: 82.88 kB / 0.529 GB, free: 58.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003342/1.883, allocations: 40.47 kB / 0.529 GB, free: 58.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004574/1.887, allocations: 1.477 MB / 0.5305 GB, free: 58.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1332/2.021, allocations: 68.06 MB / 0.5969 GB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/2.034, allocations: 6.22 MB / 0.603 GB, free: 28.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01035/2.045, allocations: 4.74 MB / 0.6077 GB, free: 24.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/2.047, allocations: 1.28 MB / 0.6089 GB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/2.047, allocations: 63.94 kB / 0.609 GB, free: 23.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 9.708e-06/2.047, allocations: 4.219 kB / 0.609 GB, free: 23.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.1962/2.244, allocations: 37.28 MB / 0.6454 GB, free: 8.035 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/2.244, allocations: 163 kB / 0.6455 GB, free: 7.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/2.255, allocations: 3.791 MB / 0.6492 GB, free: 4.496 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001379/2.257, allocations: 25.7 kB / 0.6493 GB, free: 4.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005346/2.262, allocations: 4.015 MB / 0.6532 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3456/2.608, allocations: 1.327 MB / 0.6545 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/2.61, allocations: 1.438 kB / 0.6545 GB, free: 89.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001028/2.611, allocations: 0.6508 MB / 0.6551 GB, free: 89.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0138/2.625, allocations: 4.316 MB / 0.6593 GB, free: 89.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01723/2.642, allocations: 8.641 MB / 0.6678 GB, free: 83.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/2.658, allocations: 6.087 MB / 0.6737 GB, free: 83.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002061/2.658, allocations: 42.53 kB / 0.6737 GB, free: 83.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.08012/2.738, allocations: 17.9 MB / 0.6912 GB, free: 83.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.738, allocations: 74.31 kB / 0.6913 GB, free: 83.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000307/2.739, allocations: 158 kB / 0.6914 GB, free: 83.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05743/2.796, allocations: 6.473 MB / 0.6978 GB, free: 83.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01933/2.816, allocations: 1.807 MB / 0.6995 GB, free: 82.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1216/2.937, allocations: 33.76 MB / 0.7325 GB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/2.95, allocations: 427.8 kB / 0.7329 GB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002807/2.953, allocations: 482.2 kB / 0.7334 GB, free: 71.06 MB / 426.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 (924): * Single equations (assignments): 916 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004201/2.957, allocations: 0.5131 MB / 0.7339 GB, free: 70.74 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05643/3.014, allocations: 13.18 MB / 0.7467 GB, free: 63.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002424/3.016, allocations: 457.8 kB / 0.7472 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05864/3.075, allocations: 13.32 MB / 0.7602 GB, free: 52.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-05/3.075, allocations: 47.28 kB / 0.7602 GB, free: 52.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-05/3.075, allocations: 25.31 kB / 0.7602 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.694e-05/3.075, allocations: 18.34 kB / 0.7603 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09633/3.172, allocations: 24.88 MB / 0.7846 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/3.172, allocations: 4 kB / 0.7846 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005923/3.178, allocations: 0.5291 MB / 0.7851 GB, free: 31.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03943/3.217, allocations: 6.243 MB / 0.7912 GB, free: 24.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/3.218, allocations: 23.97 kB / 0.7912 GB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4786/3.697, allocations: 30.59 MB / 0.8211 GB, free: 78.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/3.697, allocations: 7.406 kB / 0.8211 GB, free: 78.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06514/3.762, allocations: 19.7 MB / 0.8403 GB, free: 77.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005279/3.768, allocations: 1.271 MB / 0.8416 GB, free: 76.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/3.77, allocations: 14.06 kB / 0.8416 GB, free: 76.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007369/3.777, allocations: 290.9 kB / 0.8418 GB, free: 76.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002372/3.78, allocations: 264.1 kB / 0.8421 GB, free: 76.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008273/3.781, allocations: 103.8 kB / 0.8422 GB, free: 76.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006916/3.788, allocations: 2.554 MB / 0.8447 GB, free: 76.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.182e-06/3.788, allocations: 6.344 kB / 0.8447 GB, free: 76.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01334/3.801, allocations: 1.636 MB / 0.8463 GB, free: 76.77 MB / 426.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 (231): * Single equations (assignments): 223 * 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.06977/3.871, allocations: 21.08 MB / 0.8669 GB, free: 69.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03127/3.902, allocations: 11.31 MB / 0.8779 GB, free: 65.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/3.902, allocations: 0 / 0.8779 GB, free: 65.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01736/3.92, allocations: 5.481 MB / 0.8833 GB, free: 62.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/3.926, allocations: 462 kB / 0.8837 GB, free: 62.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07325/3.999, allocations: 16.04 MB / 0.8994 GB, free: 52.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/4.011, allocations: 4.69 MB / 0.904 GB, free: 48.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0133/4.025, allocations: 2.457 MB / 0.9064 GB, free: 47.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007758/4.032, allocations: 2.737 MB / 0.909 GB, free: 44.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.424e-06/4.032, allocations: 4 kB / 0.909 GB, free: 44.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7283/4.761, allocations: 138.4 MB / 1.044 GB, free: 48.55 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003295/4.761, allocations: 172.7 kB / 1.044 GB, free: 48.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.152/13.91, allocations: 3.938 kB / 1.044 GB, free: 48.36 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat