Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.485e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.5914, allocations: 105 MB / 448.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5918, allocations: 89.62 kB / 448.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8375/1.429, allocations: 122.4 MB / 0.5573 GB, free: 93.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.429, allocations: 3.906 kB / 0.5573 GB, free: 93.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004261/1.43, allocations: 128.1 kB / 0.5574 GB, free: 93.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.02815/1.458, allocations: 6.227 MB / 0.5635 GB, free: 90.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.458, allocations: 14.75 kB / 0.5635 GB, free: 90.85 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005103/1.463, allocations: 1.027 MB / 0.5645 GB, free: 90.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/1.486, allocations: 2.768 MB / 0.5672 GB, free: 90.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02624/1.512, allocations: 7.245 MB / 0.5743 GB, free: 89.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006349/1.513, allocations: 451.3 kB / 0.5747 GB, free: 89.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003824/1.516, allocations: 0.6057 MB / 0.5753 GB, free: 89.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04911/1.566, allocations: 15.52 MB / 0.5905 GB, free: 83.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005149/1.566, allocations: 78.56 kB / 0.5905 GB, free: 83.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003219/1.569, allocations: 284.1 kB / 0.5908 GB, free: 83.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/1.573, allocations: 1.465 MB / 0.5922 GB, free: 83.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04172/1.615, allocations: 13.22 MB / 0.6051 GB, free: 77.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/1.725, allocations: 68.77 MB / 0.6723 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03291/1.758, allocations: 7.583 MB / 0.6797 GB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009167/1.767, allocations: 4.98 MB / 0.6846 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3677/2.135, allocations: 14.35 MB / 0.6986 GB, free: 84.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03992/2.175, allocations: 5.614 MB / 0.7041 GB, free: 84.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 1.326e-05/2.175, allocations: 3.906 kB / 0.7041 GB, free: 84.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.2503/2.425, allocations: 44.25 MB / 0.7473 GB, free: 76.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/2.425, allocations: 256.5 kB / 0.7475 GB, free: 75.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/2.436, allocations: 4.498 MB / 0.7519 GB, free: 74.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001306/2.437, allocations: 86.31 kB / 0.752 GB, free: 74.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004482/2.442, allocations: 4.023 MB / 0.7559 GB, free: 71.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002729/2.445, allocations: 1.424 MB / 0.7573 GB, free: 70.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/2.446, allocations: 164.8 kB / 0.7575 GB, free: 70.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00069/2.447, allocations: 0.6554 MB / 0.7581 GB, free: 69.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01128/2.458, allocations: 4.561 MB / 0.7626 GB, free: 67.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/2.473, allocations: 8.8 MB / 0.7712 GB, free: 59.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/2.487, allocations: 6.327 MB / 0.7773 GB, free: 54.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/2.487, allocations: 48 kB / 0.7774 GB, free: 54.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.06552/2.553, allocations: 18.78 MB / 0.7957 GB, free: 38.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/2.553, allocations: 68 kB / 0.7958 GB, free: 38.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/2.553, allocations: 148 kB / 0.7959 GB, free: 38.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03389/2.587, allocations: 6.585 MB / 0.8024 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/2.599, allocations: 1.805 MB / 0.8041 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.105/2.704, allocations: 35.64 MB / 0.8389 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01873/2.723, allocations: 0.5889 MB / 0.8395 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003794/2.727, allocations: 0.491 MB / 0.84 GB, free: 10.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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.groundColor[3],world.groundColor[2],world.groundColor[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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * 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 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006232/2.733, allocations: 0.7229 MB / 0.8407 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003221/2.736, allocations: 497.6 kB / 0.8412 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4198/3.156, allocations: 13.95 MB / 0.8548 GB, free: 88.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.425e-05/3.156, allocations: 43.09 kB / 0.8548 GB, free: 88.42 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/3.156, allocations: 26.75 kB / 0.8549 GB, free: 88.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.116e-05/3.156, allocations: 20.09 kB / 0.8549 GB, free: 88.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09271/3.249, allocations: 26.71 MB / 0.881 GB, free: 87.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-05/3.249, allocations: 3.594 kB / 0.881 GB, free: 87.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005175/3.254, allocations: 0.5397 MB / 0.8815 GB, free: 87.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03333/3.288, allocations: 6.397 MB / 0.8877 GB, free: 86.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001351/3.289, allocations: 78.72 kB / 0.8878 GB, free: 86.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08546/3.375, allocations: 34.31 MB / 0.9213 GB, free: 72.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/3.375, allocations: 12.14 kB / 0.9213 GB, free: 72.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08458/3.459, allocations: 20.47 MB / 0.9413 GB, free: 64.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/3.462, allocations: 0.5785 MB / 0.9419 GB, free: 64.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003175/3.465, allocations: 64 kB / 0.9419 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00954/3.475, allocations: 357.7 kB / 0.9423 GB, free: 64.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002615/3.478, allocations: 276.9 kB / 0.9426 GB, free: 63.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001161/3.479, allocations: 106.6 kB / 0.9427 GB, free: 63.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00882/3.488, allocations: 3.21 MB / 0.9458 GB, free: 61.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.273e-06/3.488, allocations: 0 / 0.9458 GB, free: 61.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01347/3.501, allocations: 1.921 MB / 0.9477 GB, free: 59.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06685/3.568, allocations: 22.17 MB / 0.9693 GB, free: 40.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02941/3.598, allocations: 11.78 MB / 0.9808 GB, free: 28.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/3.598, allocations: 4 kB / 0.9808 GB, free: 28.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01596/3.614, allocations: 5.731 MB / 0.9864 GB, free: 23.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/3.62, allocations: 0.6089 MB / 0.987 GB, free: 22.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0657/3.685, allocations: 16.77 MB / 1.003 GB, free: 5.793 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/3.697, allocations: 4.686 MB / 1.008 GB, free: 1.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01341/3.711, allocations: 2.534 MB / 1.01 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00875/3.719, allocations: 2.772 MB / 1.013 GB, free: 11.81 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/3.72, allocations: 0 / 1.013 GB, free: 11.81 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7472/4.467, allocations: 151.1 MB / 1.161 GB, free: 16.33 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/4.467, allocations: 238.2 kB / 1.161 GB, free: 16.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/12.47, allocations: 0 / 1.161 GB, free: 16.02 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat