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.692/1.692, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.807e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2546, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4128, allocations: 91.01 MB / 349.4 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4131, allocations: 87.95 kB / 349.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6638/1.077, allocations: 120.3 MB / 469.8 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.077, allocations: 0 / 469.8 MB, free: 6.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004059/1.077, allocations: 128 kB / 469.9 MB, free: 6.051 MB / 314.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.02476/1.102, allocations: 6.378 MB / 476.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.102, allocations: 12.03 kB / 476.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02277/1.125, allocations: 2.816 MB / 479.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02708/1.152, allocations: 7.783 MB / 486.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/1.153, allocations: 204 kB / 487.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/1.156, allocations: 375.9 kB / 487.4 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2705/1.427, allocations: 10.08 MB / 497.5 MB, free: 37.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03472/1.461, allocations: 14.21 MB / 0.4997 GB, free: 34.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004384/1.462, allocations: 84.33 kB / 0.4998 GB, free: 34.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002689/1.465, allocations: 39.94 kB / 0.4998 GB, free: 34.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003529/1.468, allocations: 1.515 MB / 0.5013 GB, free: 34.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/1.58, allocations: 71.17 MB / 0.5708 GB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/1.593, allocations: 6.453 MB / 0.5771 GB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009094/1.602, allocations: 4.877 MB / 0.5819 GB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/1.604, allocations: 1.286 MB / 0.5831 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02268/1.627, allocations: 5.59 MB / 0.5886 GB, free: 15.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 6.803e-06/1.627, allocations: 0 / 0.5886 GB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.1688/1.796, allocations: 39.85 MB / 0.6275 GB, free: 88 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2475/2.043, allocations: 170.1 kB / 0.6277 GB, free: 82.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/2.053, allocations: 4.072 MB / 0.6317 GB, free: 82.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001283/2.055, allocations: 26.83 kB / 0.6317 GB, free: 82.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004489/2.059, allocations: 4.296 MB / 0.6359 GB, free: 80.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002447/2.062, allocations: 1.384 MB / 0.6372 GB, free: 80.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/2.063, allocations: 3.656 kB / 0.6372 GB, free: 80.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005258/2.063, allocations: 0.6703 MB / 0.6379 GB, free: 79.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009598/2.073, allocations: 4.44 MB / 0.6422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01316/2.086, allocations: 9.006 MB / 0.651 GB, free: 73.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/2.099, allocations: 6.286 MB / 0.6572 GB, free: 73.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/2.1, allocations: 54.25 kB / 0.6572 GB, free: 73.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.06138/2.161, allocations: 18.38 MB / 0.6752 GB, free: 73.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/2.161, allocations: 100.9 kB / 0.6753 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002352/2.162, allocations: 161.5 kB / 0.6754 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03193/2.193, allocations: 6.51 MB / 0.6818 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/2.205, allocations: 1.882 MB / 0.6836 GB, free: 71.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07927/2.285, allocations: 33.86 MB / 0.7167 GB, free: 50.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.296, allocations: 442.2 kB / 0.7171 GB, free: 49.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/2.299, allocations: 0.4926 MB / 0.7176 GB, free: 49.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 735 * 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 (972): * Single equations (assignments): 963 * 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 {(6,80.6%) 106,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003945/2.303, allocations: 0.5296 MB / 0.7181 GB, free: 48.76 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04652/2.349, allocations: 13.35 MB / 0.7311 GB, free: 38.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002161/2.352, allocations: 473.9 kB / 0.7316 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0474/2.399, allocations: 13.54 MB / 0.7448 GB, free: 27.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.26e-05/2.399, allocations: 40 kB / 0.7448 GB, free: 27.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-05/2.399, allocations: 28 kB / 0.7449 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-05/2.399, allocations: 17.11 kB / 0.7449 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3463/2.746, allocations: 25.37 MB / 0.7697 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.395e-05/2.746, allocations: 7.891 kB / 0.7697 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004791/2.751, allocations: 0.5348 MB / 0.7702 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03121/2.782, allocations: 6.302 MB / 0.7763 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/2.783, allocations: 21.94 kB / 0.7764 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07095/2.854, allocations: 32.29 MB / 0.8079 GB, free: 65.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/2.854, allocations: 3.719 kB / 0.8079 GB, free: 65.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05593/2.91, allocations: 19.87 MB / 0.8273 GB, free: 57.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004662/2.915, allocations: 1.312 MB / 0.8286 GB, free: 57.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/2.917, allocations: 16.92 kB / 0.8286 GB, free: 57.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006463/2.923, allocations: 285.6 kB / 0.8289 GB, free: 57.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002146/2.925, allocations: 276.1 kB / 0.8291 GB, free: 57.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007211/2.926, allocations: 104.1 kB / 0.8292 GB, free: 57.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00704/2.933, allocations: 2.738 MB / 0.8319 GB, free: 56.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.933, allocations: 0 / 0.8319 GB, free: 56.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01303/2.946, allocations: 1.714 MB / 0.8336 GB, free: 56.12 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 {(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.06107/3.007, allocations: 21.42 MB / 0.8545 GB, free: 39.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03768/3.045, allocations: 11.67 MB / 0.8659 GB, free: 29.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/3.045, allocations: 0 / 0.8659 GB, free: 29.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01937/3.065, allocations: 5.604 MB / 0.8714 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006621/3.071, allocations: 491.9 kB / 0.8718 GB, free: 23.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06656/3.138, allocations: 16.59 MB / 0.888 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.149, allocations: 4.883 MB / 0.8928 GB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01233/3.161, allocations: 2.558 MB / 0.8953 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2678/3.429, allocations: 2.888 MB / 0.8981 GB, free: 64.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/3.429, allocations: 0 / 0.8981 GB, free: 64.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6524/4.082, allocations: 143.7 MB / 1.038 GB, free: 63.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/4.082, allocations: 197.5 kB / 1.039 GB, free: 63.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/11.28, allocations: 0.875 kB / 1.039 GB, free: 63.26 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