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.715/1.715, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.843e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 38.77 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.4207, allocations: 91.67 MB / 355.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.4211, allocations: 83.95 kB / 355.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7402/1.161, allocations: 123 MB / 478.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.161, allocations: 0 / 478.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006342/1.162, allocations: 131.9 kB / 478.8 MB, free: 11.14 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.03582/1.198, allocations: 6.377 MB / 485.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/1.198, allocations: 8.031 kB / 485.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005986/1.204, allocations: 1.087 MB / 486.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02527/1.229, allocations: 2.824 MB / 489.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/1.257, allocations: 7.783 MB / 496.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006876/1.258, allocations: 480.6 kB / 497.3 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003527/1.261, allocations: 0.6286 MB / 497.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3088/1.57, allocations: 16.21 MB / 0.5021 GB, free: 39.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005661/1.571, allocations: 87.14 kB / 0.5022 GB, free: 39.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003341/1.574, allocations: 302.5 kB / 0.5025 GB, free: 39.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003724/1.578, allocations: 1.512 MB / 0.504 GB, free: 39.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04284/1.621, allocations: 13.7 MB / 0.5173 GB, free: 39.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/1.745, allocations: 73.45 MB / 0.5891 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04168/1.787, allocations: 7.535 MB / 0.5964 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01034/1.798, allocations: 4.967 MB / 0.6013 GB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/1.8, allocations: 1.288 MB / 0.6025 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03116/1.831, allocations: 5.623 MB / 0.608 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 7.364e-06/1.831, allocations: 0 / 0.608 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.566/2.397, allocations: 42.47 MB / 0.6495 GB, free: 71.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/2.397, allocations: 166.9 kB / 0.6497 GB, free: 71.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/2.408, allocations: 4.846 MB / 0.6544 GB, free: 71.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001262/2.41, allocations: 86.28 kB / 0.6545 GB, free: 71.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004646/2.414, allocations: 4.228 MB / 0.6586 GB, free: 69.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00274/2.417, allocations: 1.433 MB / 0.66 GB, free: 68.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/2.419, allocations: 166.5 kB / 0.6602 GB, free: 68.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000789/2.42, allocations: 0.6731 MB / 0.6608 GB, free: 67.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/2.431, allocations: 4.564 MB / 0.6653 GB, free: 67.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/2.445, allocations: 9.04 MB / 0.6741 GB, free: 62.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/2.46, allocations: 6.438 MB / 0.6804 GB, free: 62.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/2.46, allocations: 42.12 kB / 0.6804 GB, free: 62.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.06615/2.526, allocations: 19.43 MB / 0.6994 GB, free: 57.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/2.526, allocations: 102.1 kB / 0.6995 GB, free: 57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000331/2.527, allocations: 158.3 kB / 0.6996 GB, free: 57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03402/2.561, allocations: 6.686 MB / 0.7062 GB, free: 55.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/2.573, allocations: 1.834 MB / 0.708 GB, free: 55.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08609/2.659, allocations: 35.85 MB / 0.743 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/2.671, allocations: 0.5913 MB / 0.7436 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002441/2.673, allocations: 497.2 kB / 0.744 GB, free: 24.08 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.004078/2.677, allocations: 0.7424 MB / 0.7448 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/2.679, allocations: 0.509 MB / 0.7453 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0529/2.732, allocations: 13.89 MB / 0.7588 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/2.732, allocations: 43.94 kB / 0.7589 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.723e-05/2.732, allocations: 29.2 kB / 0.7589 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-05/2.732, allocations: 18 kB / 0.7589 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3782/3.111, allocations: 26.82 MB / 0.7851 GB, free: 61.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.965e-05/3.111, allocations: 3.531 kB / 0.7851 GB, free: 61.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00508/3.116, allocations: 0.5433 MB / 0.7856 GB, free: 61.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03301/3.149, allocations: 6.282 MB / 0.7918 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001363/3.15, allocations: 73.09 kB / 0.7918 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08736/3.238, allocations: 34.47 MB / 0.8255 GB, free: 55.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/3.238, allocations: 10.31 kB / 0.8255 GB, free: 55.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06342/3.301, allocations: 20.35 MB / 0.8454 GB, free: 47.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005842/3.307, allocations: 1.387 MB / 0.8467 GB, free: 46.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002804/3.31, allocations: 64.86 kB / 0.8468 GB, free: 46.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00738/3.317, allocations: 346.1 kB / 0.8471 GB, free: 46.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002262/3.32, allocations: 282.1 kB / 0.8474 GB, free: 46.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001131/3.321, allocations: 100.2 kB / 0.8475 GB, free: 45.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009673/3.331, allocations: 3.46 MB / 0.8509 GB, free: 42.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.072e-06/3.331, allocations: 0 / 0.8509 GB, free: 42.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01354/3.344, allocations: 1.964 MB / 0.8528 GB, free: 40.95 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.06503/3.409, allocations: 21.87 MB / 0.8742 GB, free: 22.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03189/3.441, allocations: 12.19 MB / 0.8861 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/3.441, allocations: 3.344 kB / 0.8861 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01514/3.456, allocations: 5.669 MB / 0.8916 GB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006316/3.463, allocations: 0.6394 MB / 0.8922 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3466/3.81, allocations: 17.08 MB / 0.9089 GB, free: 75.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/3.821, allocations: 4.865 MB / 0.9137 GB, free: 74.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01266/3.834, allocations: 2.569 MB / 0.9162 GB, free: 74.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007865/3.842, allocations: 2.902 MB / 0.919 GB, free: 74.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/3.842, allocations: 2.188 kB / 0.919 GB, free: 74.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6736/4.516, allocations: 156.3 MB / 1.072 GB, free: 76.39 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/4.516, allocations: 235.3 kB / 1.072 GB, free: 76.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/12.61, allocations: 0 / 1.072 GB, free: 76.08 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