Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.779e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09077, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5281, allocations: 96.94 MB / 396.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/0.5286, allocations: 87.11 kB / 397 MB, free: 12.74 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.5732/1.102, allocations: 123.3 MB / 0.508 GB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.102, allocations: 0 / 0.508 GB, free: 11.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004834/1.102, allocations: 132 kB / 0.5082 GB, free: 11.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.02742/1.13, allocations: 6.418 MB / 0.5144 GB, free: 5.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.13, allocations: 8.031 kB / 0.5144 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004638/1.134, allocations: 1.091 MB / 0.5155 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02307/1.158, allocations: 2.815 MB / 0.5183 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.305/1.463, allocations: 7.789 MB / 0.5259 GB, free: 64.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000684/1.463, allocations: 488.2 kB / 0.5263 GB, free: 64.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003544/1.467, allocations: 0.6348 MB / 0.527 GB, free: 64.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04938/1.516, allocations: 16.23 MB / 0.5428 GB, free: 60.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004578/1.517, allocations: 87.44 kB / 0.5429 GB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002841/1.52, allocations: 301.8 kB / 0.5432 GB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00355/1.523, allocations: 1.51 MB / 0.5446 GB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04262/1.566, allocations: 13.71 MB / 0.558 GB, free: 60.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.684, allocations: 73.51 MB / 0.6298 GB, free: 29.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03263/1.717, allocations: 7.579 MB / 0.6372 GB, free: 26.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009588/1.726, allocations: 4.987 MB / 0.6421 GB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/1.729, allocations: 1.277 MB / 0.6433 GB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03005/1.759, allocations: 5.637 MB / 0.6488 GB, free: 19.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 8.456e-06/1.759, allocations: 0 / 0.6488 GB, free: 19.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.5559/2.315, allocations: 43.64 MB / 0.6915 GB, free: 74.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/2.315, allocations: 173.2 kB / 0.6916 GB, free: 74.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/2.327, allocations: 4.858 MB / 0.6964 GB, free: 73.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001368/2.329, allocations: 86.33 kB / 0.6965 GB, free: 73.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005059/2.334, allocations: 4.229 MB / 0.7006 GB, free: 71.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002806/2.337, allocations: 1.457 MB / 0.702 GB, free: 70.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/2.339, allocations: 175.3 kB / 0.7022 GB, free: 70.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008708/2.34, allocations: 0.6712 MB / 0.7028 GB, free: 70.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01163/2.351, allocations: 4.632 MB / 0.7074 GB, free: 70.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01509/2.366, allocations: 9.11 MB / 0.7162 GB, free: 64.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/2.382, allocations: 6.521 MB / 0.7226 GB, free: 64.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/2.382, allocations: 47.47 kB / 0.7227 GB, free: 64.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.06542/2.447, allocations: 19.59 MB / 0.7418 GB, free: 62.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/2.448, allocations: 103.4 kB / 0.7419 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/2.448, allocations: 158.3 kB / 0.742 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03361/2.481, allocations: 6.716 MB / 0.7486 GB, free: 61.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/2.494, allocations: 1.859 MB / 0.7504 GB, free: 61.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0863/2.58, allocations: 35.79 MB / 0.7854 GB, free: 41.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.592, allocations: 0.596 MB / 0.7859 GB, free: 41.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002401/2.594, allocations: 497.5 kB / 0.7864 GB, free: 41.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * 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.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 (956): * Single equations (assignments): 947 * 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 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003136/2.597, allocations: 0.7417 MB / 0.7871 GB, free: 40.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/2.599, allocations: 0.5168 MB / 0.7876 GB, free: 39.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05163/2.651, allocations: 14.05 MB / 0.8014 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.678e-05/2.651, allocations: 42.27 kB / 0.8014 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/2.651, allocations: 24 kB / 0.8014 GB, free: 28.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/2.651, allocations: 25.73 kB / 0.8015 GB, free: 28.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08759/2.739, allocations: 27.07 MB / 0.8279 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-05/2.739, allocations: 4 kB / 0.8279 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005128/2.744, allocations: 0.5522 MB / 0.8284 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3338/3.078, allocations: 6.647 MB / 0.8349 GB, free: 65.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001352/3.079, allocations: 80.08 kB / 0.835 GB, free: 65.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08313/3.163, allocations: 34.34 MB / 0.8685 GB, free: 63.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/3.163, allocations: 5.938 kB / 0.8685 GB, free: 63.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06158/3.224, allocations: 20.58 MB / 0.8886 GB, free: 59.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005775/3.23, allocations: 1.415 MB / 0.89 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002848/3.233, allocations: 66.41 kB / 0.8901 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007958/3.241, allocations: 352.6 kB / 0.8904 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00223/3.243, allocations: 270.6 kB / 0.8907 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001073/3.244, allocations: 113.9 kB / 0.8908 GB, free: 58.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008808/3.253, allocations: 3.462 MB / 0.8942 GB, free: 57.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.182e-06/3.253, allocations: 0 / 0.8942 GB, free: 57.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0123/3.266, allocations: 1.982 MB / 0.8961 GB, free: 57.29 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: 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 (248): * Single equations (assignments): 238 * 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 {(9,67.9%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06946/3.335, allocations: 22.15 MB / 0.9177 GB, free: 48.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03024/3.365, allocations: 12.36 MB / 0.9298 GB, free: 41.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/3.365, allocations: 0 / 0.9298 GB, free: 41.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01526/3.381, allocations: 5.782 MB / 0.9354 GB, free: 36.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006111/3.387, allocations: 0.6532 MB / 0.9361 GB, free: 36.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06245/3.449, allocations: 17.23 MB / 0.9529 GB, free: 21.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/3.46, allocations: 4.887 MB / 0.9577 GB, free: 17.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01155/3.472, allocations: 2.585 MB / 0.9602 GB, free: 16.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007028/3.479, allocations: 2.945 MB / 0.9631 GB, free: 13.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/3.479, allocations: 1.641 kB / 0.9631 GB, free: 13.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6215/4.101, allocations: 157.4 MB / 1.117 GB, free: 14.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/4.101, allocations: 247.7 kB / 1.117 GB, free: 13.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/12.13, allocations: 0 / 1.117 GB, free: 13.98 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat