Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.411/2.411, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.533e-05, allocations: 4.031 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.58/0.696, allocations: 96.27 MB / 390.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.6964, allocations: 86.28 kB / 390.7 MB, free: 3.199 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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 1.093/1.79, allocations: 120.5 MB / 0.4992 GB, free: 61.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.79, allocations: 1.219 kB / 0.4992 GB, free: 61.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000619/1.79, allocations: 133.5 kB / 0.4994 GB, free: 61.68 MB / 394.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.03472/1.825, allocations: 6.417 MB / 0.5056 GB, free: 59.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/1.825, allocations: 8.562 kB / 0.5056 GB, free: 59.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02886/1.854, allocations: 2.82 MB / 0.5084 GB, free: 58.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0327/1.887, allocations: 7.789 MB / 0.516 GB, free: 58.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/1.887, allocations: 202.9 kB / 0.5162 GB, free: 58.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004236/1.892, allocations: 384.5 kB / 0.5165 GB, free: 58.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02994/1.922, allocations: 10.1 MB / 0.5264 GB, free: 58.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0425/1.964, allocations: 14.22 MB / 0.5403 GB, free: 54.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005951/1.965, allocations: 87.48 kB / 0.5404 GB, free: 54.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003517/1.968, allocations: 46.86 kB / 0.5404 GB, free: 54.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004311/1.973, allocations: 1.501 MB / 0.5419 GB, free: 54.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.139/2.112, allocations: 71.21 MB / 0.6114 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/2.127, allocations: 6.481 MB / 0.6178 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01062/2.137, allocations: 4.903 MB / 0.6225 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002402/2.14, allocations: 1.286 MB / 0.6238 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01267/2.152, allocations: 4.843 MB / 0.6285 GB, free: 7.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=300): time 1.05e-05/2.152, allocations: 0 / 0.6285 GB, free: 7.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=388): time 0.539/2.691, allocations: 37.61 MB / 0.6653 GB, free: 86.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/2.692, allocations: 170.1 kB / 0.6654 GB, free: 86.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/2.703, allocations: 4.078 MB / 0.6694 GB, free: 86.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001533/2.705, allocations: 34.64 kB / 0.6694 GB, free: 86.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005526/2.71, allocations: 4.297 MB / 0.6736 GB, free: 84.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003146/2.714, allocations: 1.373 MB / 0.675 GB, free: 83.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/2.715, allocations: 0 / 0.675 GB, free: 83.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007971/2.716, allocations: 0.6782 MB / 0.6756 GB, free: 83.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01217/2.728, allocations: 4.41 MB / 0.6799 GB, free: 83.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01757/2.746, allocations: 8.972 MB / 0.6887 GB, free: 77.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/2.763, allocations: 6.256 MB / 0.6948 GB, free: 77.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002095/2.763, allocations: 45.91 kB / 0.6949 GB, free: 77.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.07529/2.838, allocations: 18.32 MB / 0.7127 GB, free: 75.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/2.839, allocations: 101 kB / 0.7128 GB, free: 75.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002575/2.839, allocations: 160.8 kB / 0.713 GB, free: 75.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04061/2.879, allocations: 6.537 MB / 0.7194 GB, free: 74.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/2.894, allocations: 1.883 MB / 0.7212 GB, free: 74.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09711/2.991, allocations: 33.82 MB / 0.7543 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01385/3.005, allocations: 439.7 kB / 0.7547 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002871/3.008, allocations: 0.4936 MB / 0.7552 GB, free: 55.67 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.004139/3.012, allocations: 0.5314 MB / 0.7557 GB, free: 55.15 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05845/3.071, allocations: 13.28 MB / 0.7686 GB, free: 44.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002528/3.073, allocations: 477.9 kB / 0.7691 GB, free: 44.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06105/3.134, allocations: 13.44 MB / 0.7822 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.662e-05/3.134, allocations: 40.55 kB / 0.7823 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/3.135, allocations: 31.73 kB / 0.7823 GB, free: 33.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.613e-05/3.135, allocations: 21.62 kB / 0.7823 GB, free: 33.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6001/3.735, allocations: 25.25 MB / 0.807 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/3.735, allocations: 5.5 kB / 0.807 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005953/3.741, allocations: 0.5281 MB / 0.8075 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03989/3.781, allocations: 6.246 MB / 0.8136 GB, free: 73.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001348/3.782, allocations: 18.53 kB / 0.8136 GB, free: 73.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09253/3.875, allocations: 32.45 MB / 0.8453 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/3.875, allocations: 3.625 kB / 0.8453 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07149/3.946, allocations: 19.73 MB / 0.8646 GB, free: 66.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00604/3.952, allocations: 1.298 MB / 0.8658 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003246/3.956, allocations: 13.2 kB / 0.8658 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008123/3.964, allocations: 290 kB / 0.8661 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00251/3.966, allocations: 275.8 kB / 0.8664 GB, free: 66.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001236/3.968, allocations: 100.6 kB / 0.8665 GB, free: 66.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008339/3.976, allocations: 2.736 MB / 0.8691 GB, free: 65.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.976, allocations: 0 / 0.8691 GB, free: 65.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01509/3.991, allocations: 1.718 MB / 0.8708 GB, free: 65.14 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.07339/4.065, allocations: 21.35 MB / 0.8917 GB, free: 56.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03872/4.103, allocations: 11.64 MB / 0.903 GB, free: 49.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/4.104, allocations: 1.641 kB / 0.903 GB, free: 49.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01734/4.121, allocations: 5.498 MB / 0.9084 GB, free: 44.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006313/4.127, allocations: 494.8 kB / 0.9089 GB, free: 44.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07782/4.205, allocations: 16.59 MB / 0.9251 GB, free: 30.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01308/4.218, allocations: 4.877 MB / 0.9298 GB, free: 26.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01457/4.233, allocations: 2.557 MB / 0.9323 GB, free: 24.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008783/4.242, allocations: 2.901 MB / 0.9352 GB, free: 22.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/4.242, allocations: 0 / 0.9352 GB, free: 22.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8029/5.045, allocations: 143.5 MB / 1.075 GB, free: 16.06 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000325/5.045, allocations: 215.6 kB / 1.076 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.131/14.18, allocations: 4 kB / 1.076 GB, free: 15.76 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat