Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.06e-05, allocations: 7.094 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5258, allocations: 92.3 MB / 392.3 MB, free: 16.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.5262, allocations: 89.8 kB / 392.4 MB, free: 16.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4634/0.9896, allocations: 117.5 MB / 0.4979 GB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.9896, allocations: 0 / 0.4979 GB, free: 8.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004625/0.9901, allocations: 120 kB / 0.498 GB, free: 8.168 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.02789/1.018, allocations: 6.081 MB / 0.504 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.018, allocations: 12.03 kB / 0.504 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005127/1.023, allocations: 1.042 MB / 0.505 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02339/1.047, allocations: 2.784 MB / 0.5077 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02919/1.076, allocations: 7.625 MB / 0.5152 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007287/1.077, allocations: 456 kB / 0.5156 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003813/1.081, allocations: 0.5934 MB / 0.5162 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.346/1.427, allocations: 15.57 MB / 0.5314 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006879/1.427, allocations: 79.77 kB / 0.5315 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003386/1.431, allocations: 287.6 kB / 0.5317 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004277/1.435, allocations: 1.478 MB / 0.5332 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04289/1.478, allocations: 13.27 MB / 0.5461 GB, free: 62.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/1.591, allocations: 70.28 MB / 0.6148 GB, free: 37.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03118/1.622, allocations: 7.258 MB / 0.6219 GB, free: 34.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009144/1.631, allocations: 4.822 MB / 0.6266 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/1.633, allocations: 1.293 MB / 0.6278 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/1.633, allocations: 58.81 kB / 0.6279 GB, free: 31.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 6.282e-06/1.633, allocations: 0 / 0.6279 GB, free: 31.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.2345/1.868, allocations: 40.62 MB / 0.6676 GB, free: 8.551 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.868, allocations: 163 kB / 0.6677 GB, free: 8.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/1.881, allocations: 4.562 MB / 0.6722 GB, free: 4.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001217/1.882, allocations: 85.64 kB / 0.6723 GB, free: 4.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004919/1.887, allocations: 3.964 MB / 0.6761 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2814/2.169, allocations: 1.373 MB / 0.6775 GB, free: 79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/2.17, allocations: 162.5 kB / 0.6776 GB, free: 79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007088/2.171, allocations: 0.6481 MB / 0.6783 GB, free: 78.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01247/2.183, allocations: 4.438 MB / 0.6826 GB, free: 78.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01566/2.199, allocations: 8.669 MB / 0.6911 GB, free: 73.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/2.215, allocations: 6.198 MB / 0.6971 GB, free: 73.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002654/2.215, allocations: 45.78 kB / 0.6972 GB, free: 73.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.06354/2.278, allocations: 18.87 MB / 0.7156 GB, free: 72.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/2.279, allocations: 67.19 kB / 0.7156 GB, free: 72.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/2.279, allocations: 147.7 kB / 0.7158 GB, free: 72.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03261/2.311, allocations: 6.575 MB / 0.7222 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/2.323, allocations: 1.765 MB / 0.7239 GB, free: 72.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08166/2.404, allocations: 35.83 MB / 0.7589 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.416, allocations: 0.5739 MB / 0.7595 GB, free: 58.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002278/2.418, allocations: 465.6 kB / 0.7599 GB, free: 58.54 MB / 426.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 (900): * Single equations (assignments): 892 * 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.003232/2.421, allocations: 0.7068 MB / 0.7606 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/2.423, allocations: 0.4905 MB / 0.7611 GB, free: 57.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04974/2.472, allocations: 13.68 MB / 0.7745 GB, free: 51.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/2.473, allocations: 40 kB / 0.7745 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.357e-05/2.473, allocations: 24 kB / 0.7745 GB, free: 51.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-05/2.473, allocations: 22 kB / 0.7745 GB, free: 51.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08164/2.554, allocations: 26.27 MB / 0.8002 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.034e-05/2.554, allocations: 6.906 kB / 0.8002 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004779/2.559, allocations: 0.5192 MB / 0.8007 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0321/2.591, allocations: 6.323 MB / 0.8069 GB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001176/2.593, allocations: 67.8 kB / 0.8069 GB, free: 25.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4411/3.034, allocations: 32.46 MB / 0.8386 GB, free: 64.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/3.034, allocations: 8.188 kB / 0.8386 GB, free: 64.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06202/3.096, allocations: 20.16 MB / 0.8583 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006512/3.102, allocations: 1.345 MB / 0.8596 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002465/3.105, allocations: 65 kB / 0.8597 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009099/3.114, allocations: 345 kB / 0.86 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002416/3.116, allocations: 269.7 kB / 0.8603 GB, free: 62.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007849/3.117, allocations: 104.4 kB / 0.8604 GB, free: 62.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01113/3.128, allocations: 3.266 MB / 0.8636 GB, free: 62.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/3.128, allocations: 0 / 0.8636 GB, free: 62.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0157/3.144, allocations: 1.889 MB / 0.8654 GB, free: 62.54 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.07267/3.217, allocations: 21.5 MB / 0.8864 GB, free: 59.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.028/3.245, allocations: 11.73 MB / 0.8979 GB, free: 54.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/3.245, allocations: 0 / 0.8979 GB, free: 54.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01483/3.26, allocations: 5.62 MB / 0.9034 GB, free: 51.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/3.265, allocations: 0.615 MB / 0.904 GB, free: 51.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05973/3.325, allocations: 16.53 MB / 0.9201 GB, free: 46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009698/3.335, allocations: 4.694 MB / 0.9247 GB, free: 44.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0104/3.345, allocations: 2.459 MB / 0.9271 GB, free: 42.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006476/3.352, allocations: 2.768 MB / 0.9298 GB, free: 40.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.794e-06/3.352, allocations: 4 kB / 0.9298 GB, free: 40.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6141/3.966, allocations: 150.7 MB / 1.077 GB, free: 52.52 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/3.966, allocations: 207 kB / 1.077 GB, free: 52.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/11.69, allocations: 7.281 kB / 1.077 GB, free: 52.28 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat