Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.062e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3079, allocations: 44.51 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.4817, allocations: 96.28 MB / 390.5 MB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.4821, allocations: 87.94 kB / 390.6 MB, free: 1.492 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.7434/1.225, allocations: 120.5 MB / 0.4991 GB, free: 38.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.226, allocations: 0 / 0.4991 GB, free: 38.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000454/1.226, allocations: 132 kB / 0.4993 GB, free: 38.72 MB / 362.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.02598/1.252, allocations: 6.426 MB / 0.5055 GB, free: 32.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.252, allocations: 12.03 kB / 0.5055 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02218/1.274, allocations: 2.819 MB / 0.5083 GB, free: 29.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/1.3, allocations: 7.795 MB / 0.5159 GB, free: 21.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/1.3, allocations: 204 kB / 0.5161 GB, free: 21.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003637/1.304, allocations: 383.8 kB / 0.5165 GB, free: 20.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02618/1.33, allocations: 10.09 MB / 0.5263 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0374/1.367, allocations: 14.22 MB / 0.5402 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005027/1.368, allocations: 91.17 kB / 0.5403 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003052/1.371, allocations: 40 kB / 0.5403 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004265/1.375, allocations: 1.509 MB / 0.5418 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4037/1.779, allocations: 71.2 MB / 0.6113 GB, free: 32.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.791, allocations: 6.476 MB / 0.6177 GB, free: 31.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008942/1.8, allocations: 4.899 MB / 0.6224 GB, free: 31.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002007/1.802, allocations: 1.291 MB / 0.6237 GB, free: 30.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/1.812, allocations: 4.836 MB / 0.6284 GB, free: 30.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=300): time 9.849e-06/1.812, allocations: 0 / 0.6284 GB, free: 30.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=388): time 0.1569/1.969, allocations: 37.62 MB / 0.6652 GB, free: 20.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/1.969, allocations: 175.5 kB / 0.6653 GB, free: 20.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009326/1.979, allocations: 4.083 MB / 0.6693 GB, free: 18.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001248/1.98, allocations: 25.7 kB / 0.6693 GB, free: 17.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004465/1.985, allocations: 4.198 MB / 0.6734 GB, free: 14.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00266/1.987, allocations: 1.381 MB / 0.6748 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/1.989, allocations: 4 kB / 0.6748 GB, free: 13.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000687/1.99, allocations: 0.6783 MB / 0.6755 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/2, allocations: 4.402 MB / 0.6798 GB, free: 8.496 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/2.014, allocations: 8.982 MB / 0.6885 GB, free: 14.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/2.03, allocations: 6.258 MB / 0.6946 GB, free: 8.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002313/2.03, allocations: 48 kB / 0.6947 GB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.07057/2.101, allocations: 18.28 MB / 0.7125 GB, free: 10.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/2.101, allocations: 105.7 kB / 0.7126 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003149/2.101, allocations: 164 kB / 0.7128 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03745/2.139, allocations: 6.54 MB / 0.7192 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01716/2.156, allocations: 1.882 MB / 0.721 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4314/2.587, allocations: 33.8 MB / 0.754 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.598, allocations: 445.6 kB / 0.7545 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/2.601, allocations: 499.5 kB / 0.7549 GB, free: 90.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * 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 (973): * Single equations (assignments): 964 * 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 {(7,77.6%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003999/2.605, allocations: 0.5344 MB / 0.7555 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04822/2.653, allocations: 13.27 MB / 0.7684 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/2.656, allocations: 481.8 kB / 0.7689 GB, free: 87.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04926/2.705, allocations: 13.44 MB / 0.782 GB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.618e-05/2.705, allocations: 38.31 kB / 0.782 GB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/2.705, allocations: 27.72 kB / 0.7821 GB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.351e-05/2.705, allocations: 21.2 kB / 0.7821 GB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07983/2.785, allocations: 25.24 MB / 0.8067 GB, free: 73.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/2.785, allocations: 4 kB / 0.8067 GB, free: 73.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004803/2.79, allocations: 0.5314 MB / 0.8073 GB, free: 72.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03167/2.822, allocations: 6.25 MB / 0.8134 GB, free: 68.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001289/2.823, allocations: 19.38 kB / 0.8134 GB, free: 68.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.075/2.898, allocations: 32.44 MB / 0.8451 GB, free: 38.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/2.898, allocations: 6.531 kB / 0.8451 GB, free: 38.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05776/2.956, allocations: 19.73 MB / 0.8643 GB, free: 18.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005053/2.961, allocations: 1.297 MB / 0.8656 GB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002387/2.963, allocations: 15.89 kB / 0.8656 GB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006541/2.97, allocations: 287.5 kB / 0.8659 GB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001969/2.972, allocations: 275.4 kB / 0.8661 GB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005568/2.972, allocations: 99.98 kB / 0.8662 GB, free: 16.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006587/2.979, allocations: 2.737 MB / 0.8689 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.445e-06/2.979, allocations: 3.938 kB / 0.8689 GB, free: 13.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01295/2.992, allocations: 1.719 MB / 0.8706 GB, free: 12.17 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 (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 {(8,71.9%) 101,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3735/3.366, allocations: 21.33 MB / 0.8914 GB, free: 91.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02803/3.394, allocations: 11.64 MB / 0.9028 GB, free: 90.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/3.394, allocations: 0 / 0.9028 GB, free: 90.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01443/3.408, allocations: 5.499 MB / 0.9082 GB, free: 89.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/3.413, allocations: 491.2 kB / 0.9086 GB, free: 89.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06604/3.48, allocations: 17.35 MB / 0.9256 GB, free: 86.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01189/3.491, allocations: 4.88 MB / 0.9303 GB, free: 84.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007875/3.499, allocations: 2.952 MB / 0.9332 GB, free: 82.54 MB / 426.7 MB Notification: Performance of SimCode: time 2.294e-06/3.499, allocations: 7.312 kB / 0.9332 GB, free: 82.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.35/9.849, allocations: 263.4 MB / 1.19 GB, free: 96.47 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat