Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.731e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2921, allocations: 38.76 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.4562, allocations: 91.69 MB / 355.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.4566, allocations: 83.95 kB / 355.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6777/1.134, allocations: 123 MB / 478.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.134, allocations: 0 / 478.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006295/1.135, allocations: 131.9 kB / 478.8 MB, free: 11.12 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.03695/1.172, allocations: 6.377 MB / 485.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.917e-05/1.172, allocations: 8.031 kB / 485.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006721/1.179, allocations: 1.083 MB / 486.3 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03186/1.211, allocations: 2.824 MB / 489.1 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03728/1.248, allocations: 7.787 MB / 496.9 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/1.249, allocations: 484.7 kB / 497.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004984/1.254, allocations: 0.6325 MB / 498 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3909/1.645, allocations: 16.13 MB / 0.5021 GB, free: 41.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005364/1.646, allocations: 85.53 kB / 0.5021 GB, free: 41.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003344/1.649, allocations: 305.5 kB / 0.5024 GB, free: 41.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004562/1.654, allocations: 1.505 MB / 0.5039 GB, free: 41.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04268/1.697, allocations: 13.46 MB / 0.5171 GB, free: 40.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1414/1.838, allocations: 73.46 MB / 0.5888 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03299/1.871, allocations: 7.497 MB / 0.5961 GB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01021/1.881, allocations: 4.965 MB / 0.601 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002306/1.884, allocations: 1.294 MB / 0.6022 GB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03168/1.915, allocations: 5.609 MB / 0.6077 GB, free: 2.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 1.066e-05/1.915, allocations: 3.938 kB / 0.6077 GB, free: 2.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.5246/2.44, allocations: 42.12 MB / 0.6488 GB, free: 72.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/2.44, allocations: 165.3 kB / 0.649 GB, free: 72.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/2.452, allocations: 4.846 MB / 0.6537 GB, free: 72.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001289/2.454, allocations: 85.22 kB / 0.6538 GB, free: 71.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004971/2.459, allocations: 4.235 MB / 0.6579 GB, free: 69.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002658/2.462, allocations: 1.425 MB / 0.6593 GB, free: 69.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001763/2.463, allocations: 171.5 kB / 0.6595 GB, free: 69.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007412/2.464, allocations: 0.6636 MB / 0.6602 GB, free: 68.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/2.475, allocations: 4.573 MB / 0.6646 GB, free: 68.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/2.49, allocations: 8.986 MB / 0.6734 GB, free: 63.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/2.505, allocations: 6.44 MB / 0.6797 GB, free: 63.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001835/2.505, allocations: 46.34 kB / 0.6797 GB, free: 63.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.06639/2.571, allocations: 18.99 MB / 0.6983 GB, free: 59.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/2.571, allocations: 105 kB / 0.6984 GB, free: 58.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/2.572, allocations: 154.4 kB / 0.6985 GB, free: 58.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03365/2.605, allocations: 6.686 MB / 0.705 GB, free: 57.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/2.617, allocations: 1.837 MB / 0.7068 GB, free: 57.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08178/2.699, allocations: 35.87 MB / 0.7419 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.711, allocations: 0.5884 MB / 0.7424 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002345/2.713, allocations: 489 kB / 0.7429 GB, free: 27.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 939 * Array equations: 3 * Algorithm blocks: 1 * 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%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004472/2.718, allocations: 0.7449 MB / 0.7436 GB, free: 27.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/2.719, allocations: 0.5129 MB / 0.7441 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05585/2.775, allocations: 13.9 MB / 0.7577 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.951e-05/2.775, allocations: 40 kB / 0.7578 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-05/2.775, allocations: 24 kB / 0.7578 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/2.776, allocations: 26.06 kB / 0.7578 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4506/3.226, allocations: 26.82 MB / 0.784 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.228e-05/3.226, allocations: 7.812 kB / 0.784 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004878/3.231, allocations: 0.5348 MB / 0.7845 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03228/3.264, allocations: 6.275 MB / 0.7906 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/3.265, allocations: 75.73 kB / 0.7907 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08046/3.345, allocations: 34.49 MB / 0.8244 GB, free: 57.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/3.345, allocations: 6.062 kB / 0.8244 GB, free: 57.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06091/3.406, allocations: 20.34 MB / 0.8443 GB, free: 49.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005353/3.412, allocations: 1.388 MB / 0.8456 GB, free: 49.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002332/3.414, allocations: 71.5 kB / 0.8457 GB, free: 49.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008354/3.423, allocations: 343.7 kB / 0.846 GB, free: 49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002566/3.425, allocations: 278.2 kB / 0.8463 GB, free: 48.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001003/3.426, allocations: 99.52 kB / 0.8464 GB, free: 48.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01247/3.439, allocations: 3.461 MB / 0.8498 GB, free: 45.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/3.439, allocations: 0 / 0.8498 GB, free: 45.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01751/3.456, allocations: 1.971 MB / 0.8517 GB, free: 43.74 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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07341/3.53, allocations: 21.87 MB / 0.873 GB, free: 25.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02909/3.559, allocations: 11.91 MB / 0.8847 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/3.559, allocations: 0 / 0.8847 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01563/3.575, allocations: 5.583 MB / 0.8901 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/3.581, allocations: 0.6485 MB / 0.8908 GB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06635/3.647, allocations: 17.2 MB / 0.9076 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2777/3.925, allocations: 4.873 MB / 0.9123 GB, free: 77.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01179/3.937, allocations: 2.563 MB / 0.9148 GB, free: 77.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007005/3.944, allocations: 2.907 MB / 0.9177 GB, free: 77.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/3.944, allocations: 0 / 0.9177 GB, free: 77.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6286/4.572, allocations: 155.1 MB / 1.069 GB, free: 76.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/4.573, allocations: 238 kB / 1.069 GB, free: 76.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/12.51, allocations: 0 / 1.069 GB, free: 76.27 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat