Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.084e-05, allocations: 7.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 50.4 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01807/0.1293, allocations: 11.52 MB / 356.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1397, allocations: 3.846 MB / 360.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.1421, allocations: 51.88 kB / 360.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.1442, allocations: 0.5405 MB / 360.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007102/0.1513, allocations: 1.835 MB / 362.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1531, allocations: 415.3 kB / 363.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.06/0.2131, allocations: 23.67 MB / 386.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.216, allocations: 1.312 MB / 388.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.217, allocations: 0.4949 MB / 388.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.2187, allocations: 0.865 MB / 389.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.221, allocations: 0.7529 MB / 390.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006366/0.2217, allocations: 84 kB / 390.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.2231, allocations: 0.9311 MB / 391.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.2238, allocations: 152 kB / 391.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.2295, allocations: 3.359 MB / 394.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2296, allocations: 0 / 394.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2296, allocations: 0 / 394.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.2298, allocations: 4 kB / 394.8 MB, free: 7.004 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: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.01047/0.2403, allocations: 2.739 MB / 397.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2403, allocations: 8.031 kB / 397.5 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.2531, allocations: 1.993 MB / 399.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.2579, allocations: 1.596 MB / 401.1 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.2581, allocations: 123.2 kB / 401.2 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006768/0.2588, allocations: 167.9 kB / 401.4 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2973/0.5561, allocations: 6.632 MB / 408 MB, free: 48.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.5563, allocations: 31.23 kB / 408.1 MB, free: 48.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005005/0.5568, allocations: 87.2 kB / 408.2 MB, free: 48.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003774/0.5606, allocations: 1.325 MB / 409.5 MB, free: 48.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.5775, allocations: 5.88 MB / 415.4 MB, free: 46.77 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04003/0.6176, allocations: 28.2 MB / 443.6 MB, free: 19.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00972/0.6274, allocations: 2.746 MB / 446.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009145/0.6284, allocations: 0.6413 MB / 447 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6284, allocations: 50.06 kB / 447 MB, free: 15.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 4.669e-06/0.6284, allocations: 0 / 447 MB, free: 15.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1258/0.7543, allocations: 20.84 MB / 467.8 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.7544, allocations: 149.5 kB / 468 MB, free: 10.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006222/0.7607, allocations: 2.652 MB / 470.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000442/0.7612, allocations: 45.7 kB / 470.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002392/0.7636, allocations: 2.103 MB / 472.8 MB, free: 6.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.7648, allocations: 0.5991 MB / 473.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005992/0.7655, allocations: 100 kB / 473.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005061/0.766, allocations: 0.5174 MB / 474 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006073/0.7721, allocations: 2.188 MB / 476.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009422/0.7816, allocations: 5.146 MB / 481.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008503/0.7901, allocations: 3.289 MB / 484.6 MB, free: 8.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.255e-05/0.7903, allocations: 28 kB / 484.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.04213/0.8324, allocations: 10.18 MB / 494.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.8326, allocations: 48.22 kB / 494.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/0.8327, allocations: 108 kB / 495 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02227/0.855, allocations: 3.449 MB / 498.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00681/0.8619, allocations: 1.099 MB / 499.5 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03597/0.8979, allocations: 12.39 MB / 0.4999 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009001/0.907, allocations: 335.5 kB / 0.5002 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/0.9086, allocations: 312 kB / 0.5005 GB, free: 12.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 571 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005334/0.9139, allocations: 1.443 MB / 0.5019 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/0.915, allocations: 244.8 kB / 0.5022 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0418/0.9569, allocations: 6.006 MB / 0.508 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.579e-05/0.957, allocations: 16.28 kB / 0.5081 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-05/0.9571, allocations: 11.98 kB / 0.5081 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/0.9571, allocations: 3.984 kB / 0.5081 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05825/1.015, allocations: 13.18 MB / 0.5209 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/1.015, allocations: 4 kB / 0.521 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/1.018, allocations: 227.7 kB / 0.5212 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02438/1.042, allocations: 4.018 MB / 0.5251 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004526/1.043, allocations: 43.95 kB / 0.5251 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03488/1.077, allocations: 12.42 MB / 0.5373 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.078, allocations: 0 / 0.5373 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03884/1.116, allocations: 9.934 MB / 0.547 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008725/1.117, allocations: 317.6 kB / 0.5473 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009179/1.118, allocations: 37.02 kB / 0.5473 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.121, allocations: 187.7 kB / 0.5475 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/1.122, allocations: 114 kB / 0.5476 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.122, allocations: 47.97 kB / 0.5476 GB, free: 12.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00452/1.127, allocations: 1.848 MB / 0.5494 GB, free: 10.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.127, allocations: 0 / 0.5494 GB, free: 10.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00568/1.133, allocations: 0.8417 MB / 0.5503 GB, free: 9.332 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008838/1.134, allocations: 190.7 kB / 0.5504 GB, free: 9.148 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.0184/1.152, allocations: 6.184 MB / 0.5565 GB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.152, allocations: 4 kB / 0.5565 GB, free: 2.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3684/1.521, allocations: 2.857 MB / 0.5593 GB, free: 147.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.523, allocations: 265 kB / 0.5595 GB, free: 147.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.544, allocations: 8.632 MB / 0.568 GB, free: 145 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/1.55, allocations: 2.38 MB / 0.5703 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.551, allocations: 227.9 kB / 0.5705 GB, free: 144.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/1.551, allocations: 1.656 kB / 0.5705 GB, free: 144.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1926/1.744, allocations: 122.1 MB / 0.6897 GB, free: 33.84 MB / 442.7 MB