Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,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.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.338e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09481, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.4562/0.5511, allocations: 62.89 MB / 329.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05806/0.6092, allocations: 13.93 MB / 343.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02311/0.6324, allocations: 339.9 kB / 344.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01705/0.6495, allocations: 3.317 MB / 347.4 MB, free: 124 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04761/0.6972, allocations: 8.816 MB / 356.2 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006593/0.7038, allocations: 1.1 MB / 357.3 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008497/0.7124, allocations: 2.652 MB / 359.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01523/0.7277, allocations: 6.76 MB / 366.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.7312, allocations: 1.239 MB / 367.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004707/0.736, allocations: 2.038 MB / 370 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.7394, allocations: 0.8387 MB / 370.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.7411, allocations: 172 kB / 371 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004105/0.7453, allocations: 2.221 MB / 373.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.7474, allocations: 404 kB / 373.6 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.7624, allocations: 9.157 MB / 382.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7624, allocations: 0 / 382.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.7625, allocations: 0 / 382.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003895/0.7629, allocations: 4 kB / 382.8 MB, free: 12.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02377/0.7866, allocations: 6.136 MB / 388.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7867, allocations: 8.031 kB / 388.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01815/0.8049, allocations: 2.633 MB / 391.5 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.8192, allocations: 4.829 MB / 396.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/0.8198, allocations: 365.4 kB / 396.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00275/0.8226, allocations: 483.7 kB / 397.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04626/0.8689, allocations: 14.99 MB / 412.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/0.8693, allocations: 63.45 kB / 412.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/0.8718, allocations: 227.8 kB / 412.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006386/0.8782, allocations: 2.403 MB / 414.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04412/0.9224, allocations: 12.95 MB / 427.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3472/1.27, allocations: 59.54 MB / 487.4 MB, free: 85.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03038/1.3, allocations: 7.042 MB / 494.4 MB, free: 81.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/1.302, allocations: 1.286 MB / 495.7 MB, free: 80.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/1.302, allocations: 60.47 kB / 495.8 MB, free: 80.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 6.603e-06/1.302, allocations: 0 / 495.8 MB, free: 80.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=378): time 0.2747/1.577, allocations: 47.99 MB / 0.531 GB, free: 34.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/1.577, allocations: 171 kB / 0.5312 GB, free: 34.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.588, allocations: 4.942 MB / 0.536 GB, free: 29.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/1.589, allocations: 79.11 kB / 0.5361 GB, free: 29.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/1.593, allocations: 3.787 MB / 0.5398 GB, free: 25.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002466/1.595, allocations: 1.376 MB / 0.5411 GB, free: 24.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.596, allocations: 164 kB / 0.5413 GB, free: 24.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000561/1.597, allocations: 0.6498 MB / 0.5419 GB, free: 23.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/1.607, allocations: 4.268 MB / 0.5461 GB, free: 19.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/1.621, allocations: 8.47 MB / 0.5543 GB, free: 8.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/1.635, allocations: 5.967 MB / 0.5602 GB, free: 2.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/1.635, allocations: 40 kB / 0.5602 GB, free: 2.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.06005/1.695, allocations: 17.08 MB / 0.5769 GB, free: 1.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.695, allocations: 71.09 kB / 0.5769 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002414/1.696, allocations: 144 kB / 0.5771 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2923/1.988, allocations: 5.371 MB / 0.5823 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/2.001, allocations: 1.75 MB / 0.584 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08325/2.084, allocations: 33.68 MB / 0.6169 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/2.095, allocations: 0.5376 MB / 0.6175 GB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/2.097, allocations: 464.1 kB / 0.6179 GB, free: 107.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 668 * Number of states: 0 () * Number of discrete variables: 51 (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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 888 * Array equations: 3 * Algorithm blocks: 0 * 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%) 101,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008942/2.106, allocations: 2.962 MB / 0.6208 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/2.108, allocations: 0.491 MB / 0.6213 GB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04135/2.149, allocations: 11.98 MB / 0.633 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.814e-05/2.149, allocations: 36 kB / 0.633 GB, free: 93.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.173e-05/2.15, allocations: 24.56 kB / 0.633 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-05/2.15, allocations: 23.88 kB / 0.633 GB, free: 93.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07522/2.225, allocations: 24.01 MB / 0.6565 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/2.225, allocations: 4 kB / 0.6565 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004819/2.23, allocations: 0.5187 MB / 0.657 GB, free: 68.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02465/2.255, allocations: 4.99 MB / 0.6619 GB, free: 63.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/2.256, allocations: 75.67 kB / 0.662 GB, free: 63.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07234/2.328, allocations: 30.64 MB / 0.6919 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/2.328, allocations: 4 kB / 0.6919 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04909/2.377, allocations: 18.17 MB / 0.7096 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004532/2.382, allocations: 1.31 MB / 0.7109 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002043/2.384, allocations: 65.17 kB / 0.711 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00608/2.39, allocations: 311.5 kB / 0.7113 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001699/2.392, allocations: 267 kB / 0.7115 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000659/2.392, allocations: 100.9 kB / 0.7116 GB, free: 12.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2532/2.646, allocations: 3.579 MB / 0.7151 GB, free: 117.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.646, allocations: 4.031 kB / 0.7151 GB, free: 117.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01175/2.657, allocations: 1.851 MB / 0.7169 GB, free: 117.9 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 0 * 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%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/2.659, allocations: 220.1 kB / 0.7171 GB, free: 117.8 MB / 378.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.02876/2.688, allocations: 11.39 MB / 0.7283 GB, free: 115.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.688, allocations: 0 / 0.7283 GB, free: 115.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01556/2.703, allocations: 5.582 MB / 0.7337 GB, free: 113.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005841/2.709, allocations: 0.6231 MB / 0.7343 GB, free: 113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05589/2.765, allocations: 19.72 MB / 0.7536 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009786/2.775, allocations: 4.702 MB / 0.7582 GB, free: 97.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002619/2.778, allocations: 394.4 kB / 0.7585 GB, free: 97.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/2.778, allocations: 0 / 0.7585 GB, free: 97.09 MB / 378.7 MB Notification: Performance of Templates: time 0.6527/3.431, allocations: 219.8 MB / 0.9732 GB, free: 6.051 MB / 378.7 MB