Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 194.9 MB / 211.2 MB, free: 9.328 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.201e-05, allocations: 8 kB / 258.8 MB, free: 9.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 44.5 MB / 303.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.1132/0.4275, allocations: 71.97 MB / 375.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04659/0.4742, allocations: 16.01 MB / 391.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01746/0.4917, allocations: 383.1 kB / 391.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01424/0.506, allocations: 3.881 MB / 395.5 MB, free: 1.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03994/0.546, allocations: 10.12 MB / 405.6 MB, free: 7.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007433/0.5535, allocations: 1.194 MB / 406.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008135/0.5617, allocations: 2.742 MB / 409.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01922/0.5809, allocations: 7.432 MB / 417 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.5857, allocations: 1.286 MB / 418.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007379/0.5932, allocations: 2.104 MB / 420.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.5984, allocations: 0.87 MB / 421.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002591/0.6011, allocations: 176 kB / 421.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006344/0.6075, allocations: 2.338 MB / 423.8 MB, free: 4.969 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003481/0.611, allocations: 420 kB / 424.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3423/0.9534, allocations: 9.618 MB / 433.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9535, allocations: 0 / 433.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.9535, allocations: 2.781 kB / 433.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004941/0.954, allocations: 1.406 kB / 433.8 MB, free: 9.82 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.02501/0.979, allocations: 6.446 MB / 440.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.9791, allocations: 9.594 kB / 440.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.9978, allocations: 2.661 MB / 442.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/1.013, allocations: 4.967 MB / 447.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/1.014, allocations: 390.9 kB / 448.3 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003629/1.017, allocations: 0.5099 MB / 448.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04938/1.067, allocations: 15.59 MB / 464.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/1.067, allocations: 67.12 kB / 464.4 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002962/1.07, allocations: 235.9 kB / 464.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007156/1.077, allocations: 2.464 MB / 467.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05912/1.136, allocations: 13.35 MB / 480.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/1.275, allocations: 61.89 MB / 0.5297 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04151/1.317, allocations: 7.325 MB / 0.5368 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003229/1.32, allocations: 1.287 MB / 0.5381 GB, free: 6.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04452/1.365, allocations: 5.376 MB / 0.5433 GB, free: 1.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 2.295e-05/1.365, allocations: 0 / 0.5433 GB, free: 1.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.3642/1.729, allocations: 50.28 MB / 0.5924 GB, free: 284 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.729, allocations: 175.1 kB / 0.5926 GB, free: 76 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2838/2.013, allocations: 5.23 MB / 0.5977 GB, free: 202.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001262/2.014, allocations: 88.28 kB / 0.5978 GB, free: 202.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004536/2.019, allocations: 4.069 MB / 0.6018 GB, free: 199.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002668/2.022, allocations: 1.448 MB / 0.6032 GB, free: 198.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/2.023, allocations: 168.4 kB / 0.6033 GB, free: 198.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006746/2.024, allocations: 0.6737 MB / 0.604 GB, free: 198 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01127/2.035, allocations: 4.423 MB / 0.6083 GB, free: 196.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01424/2.05, allocations: 8.881 MB / 0.617 GB, free: 188.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/2.064, allocations: 6.251 MB / 0.6231 GB, free: 186.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/2.064, allocations: 47 kB / 0.6231 GB, free: 186.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.0554/2.12, allocations: 17.69 MB / 0.6404 GB, free: 172.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/2.12, allocations: 105.7 kB / 0.6405 GB, free: 172.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002104/2.12, allocations: 152 kB / 0.6407 GB, free: 172.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02497/2.145, allocations: 5.412 MB / 0.6459 GB, free: 168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/2.157, allocations: 1.844 MB / 0.6477 GB, free: 166.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08698/2.244, allocations: 33.85 MB / 0.6808 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/2.259, allocations: 0.5654 MB / 0.6813 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002734/2.262, allocations: 492.6 kB / 0.6818 GB, free: 131 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * 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 (952): * Single equations (assignments): 943 * 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,57.8%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01159/2.274, allocations: 3.099 MB / 0.6848 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002051/2.276, allocations: 0.5129 MB / 0.6853 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04967/2.325, allocations: 12.24 MB / 0.6973 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/2.326, allocations: 45.19 kB / 0.6973 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/2.326, allocations: 24 kB / 0.6974 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.891e-05/2.326, allocations: 23.88 kB / 0.6974 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07439/2.4, allocations: 24.65 MB / 0.7215 GB, free: 90.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-05/2.4, allocations: 4 kB / 0.7215 GB, free: 90.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004871/2.405, allocations: 0.546 MB / 0.722 GB, free: 89.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0241/2.429, allocations: 5.003 MB / 0.7269 GB, free: 84.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001215/2.431, allocations: 71.98 kB / 0.7269 GB, free: 84.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07242/2.503, allocations: 32.51 MB / 0.7587 GB, free: 51.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.088e-06/2.503, allocations: 4 kB / 0.7587 GB, free: 51.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05171/2.555, allocations: 18.43 MB / 0.7767 GB, free: 33.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004988/2.56, allocations: 1.357 MB / 0.778 GB, free: 31.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002597/2.562, allocations: 68 kB / 0.7781 GB, free: 31.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00648/2.569, allocations: 315.5 kB / 0.7784 GB, free: 31.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001863/2.571, allocations: 279.1 kB / 0.7787 GB, free: 31.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008144/2.572, allocations: 111.7 kB / 0.7788 GB, free: 31.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008622/2.58, allocations: 3.772 MB / 0.7824 GB, free: 27.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.58, allocations: 0 / 0.7824 GB, free: 27.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01164/2.592, allocations: 1.923 MB / 0.7843 GB, free: 25.44 MB / 474.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 (245): * Single equations (assignments): 235 * 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.002491/2.595, allocations: 491.5 kB / 0.7848 GB, free: 25.02 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2782:5-2785:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2778:5-2781:55:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2782:5-2785:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2778:5-2781:55:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.3081/2.903, allocations: 11.83 MB / 0.7963 GB, free: 187.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.903, allocations: 0 / 0.7963 GB, free: 187.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01664/2.919, allocations: 5.717 MB / 0.8019 GB, free: 186.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/2.926, allocations: 0.6512 MB / 0.8026 GB, free: 186.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05936/2.985, allocations: 20.51 MB / 0.8226 GB, free: 177.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/2.996, allocations: 4.894 MB / 0.8274 GB, free: 174.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002893/2.999, allocations: 421.6 kB / 0.8278 GB, free: 174.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/2.999, allocations: 0 / 0.8278 GB, free: 174.5 MB / 474.7 MB Notification: Performance of Templates: time 0.6658/3.665, allocations: 229.7 MB / 1.052 GB, free: 128.5 MB / 474.7 MB