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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.659/1.659, allocations: 171.2 MB / 186.3 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.281e-05, allocations: 8 kB / 228.1 MB, free: 5.895 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08231, allocations: 38.77 MB / 266.9 MB, free: 15.04 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.3271/0.4094, allocations: 71.93 MB / 338.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05376/0.4632, allocations: 15.99 MB / 354.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01898/0.4823, allocations: 383.1 kB / 355.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01481/0.4971, allocations: 3.889 MB / 359.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04037/0.5376, allocations: 10.1 MB / 369.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007317/0.5449, allocations: 1.213 MB / 370.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008222/0.5532, allocations: 2.728 MB / 373.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/0.57, allocations: 7.41 MB / 380.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.5735, allocations: 1.282 MB / 381.8 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.5784, allocations: 2.1 MB / 383.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.582, allocations: 0.87 MB / 384.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001874/0.5839, allocations: 176 kB / 385 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00431/0.5883, allocations: 2.338 MB / 387.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002317/0.5907, allocations: 416 kB / 387.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.6057, allocations: 9.617 MB / 397.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6058, allocations: 0 / 397.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6058, allocations: 0 / 397.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003895/0.6062, allocations: 0 / 397.3 MB, free: 3.301 MB / 330.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.02402/0.6302, allocations: 6.406 MB / 403.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6303, allocations: 8.031 kB / 403.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/0.6491, allocations: 2.659 MB / 406.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.6639, allocations: 4.956 MB / 411.4 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.6646, allocations: 390 kB / 411.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/0.6673, allocations: 0.5074 MB / 412.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2774/0.9448, allocations: 15.57 MB / 427.8 MB, free: 103.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004094/0.9453, allocations: 62.28 kB / 427.9 MB, free: 103.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002346/0.9476, allocations: 239.5 kB / 428.1 MB, free: 103.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006254/0.9539, allocations: 2.459 MB / 430.6 MB, free: 103.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04173/0.9957, allocations: 13.33 MB / 443.9 MB, free: 97.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/1.099, allocations: 61.89 MB / 0.4939 GB, free: 35.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04279/1.142, allocations: 7.286 MB / 0.501 GB, free: 28.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002803/1.144, allocations: 1.291 MB / 0.5023 GB, free: 26.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04342/1.188, allocations: 5.361 MB / 0.5075 GB, free: 21.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 1.098e-05/1.188, allocations: 3.938 kB / 0.5075 GB, free: 21.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=388): time 0.5135/1.701, allocations: 47.36 MB / 0.5538 GB, free: 109.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/1.702, allocations: 170.3 kB / 0.554 GB, free: 109.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.015/1.717, allocations: 5.217 MB / 0.5591 GB, free: 107.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001619/1.718, allocations: 83.5 kB / 0.5591 GB, free: 107.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006626/1.725, allocations: 4.068 MB / 0.5631 GB, free: 104.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003636/1.729, allocations: 1.417 MB / 0.5645 GB, free: 103.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/1.731, allocations: 170.9 kB / 0.5647 GB, free: 103 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.001246/1.732, allocations: 0.6727 MB / 0.5653 GB, free: 102.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0164/1.749, allocations: 4.36 MB / 0.5696 GB, free: 100.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03563/1.784, allocations: 8.809 MB / 0.5782 GB, free: 93.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02368/1.808, allocations: 6.169 MB / 0.5842 GB, free: 90.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000226/1.808, allocations: 44.19 kB / 0.5842 GB, free: 90.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=1108) (initialization): time 0.05465/1.863, allocations: 17.54 MB / 0.6014 GB, free: 79.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/1.863, allocations: 103.7 kB / 0.6015 GB, free: 79.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/1.864, allocations: 152 kB / 0.6016 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02478/1.888, allocations: 5.409 MB / 0.6069 GB, free: 73.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/1.9, allocations: 1.832 MB / 0.6087 GB, free: 71.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07385/1.974, allocations: 33.98 MB / 0.6419 GB, free: 37.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/1.984, allocations: 0.5661 MB / 0.6424 GB, free: 37.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/1.986, allocations: 484.6 kB / 0.6429 GB, free: 36.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * 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 (944): * Single equations (assignments): 935 * 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,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00828/1.995, allocations: 3.089 MB / 0.6459 GB, free: 33.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/1.996, allocations: 0.5168 MB / 0.6464 GB, free: 33.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04107/2.037, allocations: 12.08 MB / 0.6582 GB, free: 20.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/2.037, allocations: 44.5 kB / 0.6582 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-05/2.038, allocations: 24 kB / 0.6583 GB, free: 20.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-05/2.038, allocations: 19.92 kB / 0.6583 GB, free: 20.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3201/2.358, allocations: 24.39 MB / 0.6821 GB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-05/2.358, allocations: 6.25 kB / 0.6821 GB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004866/2.363, allocations: 0.5282 MB / 0.6826 GB, free: 95.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02516/2.388, allocations: 5.01 MB / 0.6875 GB, free: 95.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/2.389, allocations: 74.5 kB / 0.6876 GB, free: 95.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07754/2.467, allocations: 32.49 MB / 0.7193 GB, free: 80.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.467, allocations: 3.781 kB / 0.7193 GB, free: 80.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05061/2.517, allocations: 18.2 MB / 0.7371 GB, free: 66.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004905/2.522, allocations: 1.337 MB / 0.7384 GB, free: 65.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002822/2.525, allocations: 64 kB / 0.7385 GB, free: 65.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006537/2.532, allocations: 311.5 kB / 0.7388 GB, free: 65.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001845/2.534, allocations: 284.3 kB / 0.739 GB, free: 64.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009292/2.535, allocations: 99.98 kB / 0.7391 GB, free: 64.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008698/2.543, allocations: 3.764 MB / 0.7428 GB, free: 60.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.543, allocations: 0 / 0.7428 GB, free: 60.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01159/2.555, allocations: 1.911 MB / 0.7447 GB, free: 59.07 MB / 362.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 (238): * Single equations (assignments): 229 * 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 {(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.002354/2.557, allocations: 441.8 kB / 0.7451 GB, free: 58.75 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2805:5-2808: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.1/Mechanics/MultiBody/Parts.mo:2809:5-2812: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.1/Mechanics/MultiBody/Parts.mo:2805:5-2808: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.1/Mechanics/MultiBody/Parts.mo:2809:5-2812:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.02797/2.585, allocations: 11.65 MB / 0.7565 GB, free: 47.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.585, allocations: 4 kB / 0.7565 GB, free: 47.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01706/2.603, allocations: 5.544 MB / 0.7619 GB, free: 41.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008032/2.611, allocations: 0.6489 MB / 0.7625 GB, free: 40.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07286/2.684, allocations: 20.35 MB / 0.7824 GB, free: 20.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/2.694, allocations: 4.877 MB / 0.7871 GB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002811/2.696, allocations: 415.3 kB / 0.7875 GB, free: 15.16 MB / 362.7 MB Notification: Performance of SimCode: time 3.407e-06/2.697, allocations: 0 / 0.7875 GB, free: 15.16 MB / 362.7 MB Notification: Performance of Templates: time 0.9482/3.645, allocations: 228.5 MB / 1.011 GB, free: 87.04 MB / 394.7 MB