Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.886e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2495, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.3839, allocations: 87.4 MB / 381.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.3843, allocations: 95.88 kB / 381.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4426/0.8269, allocations: 65.41 MB / 447 MB, free: 90.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.841e-06/0.827, allocations: 0 / 447 MB, free: 90.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003155/0.8273, allocations: 67.75 kB / 447.1 MB, free: 90.2 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01319/0.8405, allocations: 3.174 MB / 450.3 MB, free: 88.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.8406, allocations: 10.78 kB / 450.3 MB, free: 88.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02024/0.8609, allocations: 1.95 MB / 452.2 MB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009925/0.8709, allocations: 2.06 MB / 454.3 MB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.8712, allocations: 106.9 kB / 454.4 MB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/0.873, allocations: 193.7 kB / 454.6 MB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01643/0.8895, allocations: 4.437 MB / 459 MB, free: 86.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/0.9134, allocations: 7.5 MB / 466.5 MB, free: 80.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/0.9138, allocations: 59.41 kB / 466.6 MB, free: 79.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.9151, allocations: 32 kB / 466.6 MB, free: 79.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009635/0.9161, allocations: 0.782 MB / 467.4 MB, free: 79.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03433/0.9505, allocations: 38.05 MB / 0.4936 GB, free: 39.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.9522, allocations: 1.368 MB / 0.4949 GB, free: 38.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.9529, allocations: 433 kB / 0.4953 GB, free: 37.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.9532, allocations: 346.9 kB / 0.4957 GB, free: 37.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.9532, allocations: 48.39 kB / 0.4957 GB, free: 37.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 4.363e-06/0.9533, allocations: 0 / 0.4957 GB, free: 37.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.003289/0.9566, allocations: 1.207 MB / 0.4969 GB, free: 36.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.9566, allocations: 195.9 kB / 0.4971 GB, free: 36.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/0.9621, allocations: 3.085 MB / 0.5001 GB, free: 33.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.9623, allocations: 29.73 kB / 0.5001 GB, free: 32.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001817/0.9641, allocations: 2.917 MB / 0.503 GB, free: 30.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/0.9646, allocations: 383.5 kB / 0.5033 GB, free: 29.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.9648, allocations: 0 / 0.5033 GB, free: 29.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/0.9652, allocations: 0.5377 MB / 0.5038 GB, free: 29.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.9673, allocations: 1.174 MB / 0.505 GB, free: 27.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/0.9715, allocations: 4.835 MB / 0.5097 GB, free: 21.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/0.9758, allocations: 2.43 MB / 0.5121 GB, free: 18.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.301e-05/0.9759, allocations: 40 kB / 0.5121 GB, free: 18.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01173/0.9876, allocations: 5 MB / 0.517 GB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.9878, allocations: 60 kB / 0.5171 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/0.988, allocations: 136.9 kB / 0.5172 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.9882, allocations: 196 kB / 0.5174 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/0.9926, allocations: 1.228 MB / 0.5186 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001733/0.9928, allocations: 255 kB / 0.5188 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005176/0.998, allocations: 0.6291 MB / 0.5194 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008842/0.9989, allocations: 355.9 kB / 0.5198 GB, free: 10.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 658 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000774/0.9997, allocations: 423.6 kB / 0.5202 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1, allocations: 296.1 kB / 0.5205 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/1.001, allocations: 0.4935 MB / 0.521 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.002, allocations: 12 kB / 0.521 GB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.473e-06/1.002, allocations: 3.953 kB / 0.521 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.002, allocations: 7.984 kB / 0.521 GB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/1.008, allocations: 2.962 MB / 0.5239 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.009, allocations: 4 kB / 0.5239 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/1.009, allocations: 120.1 kB / 0.524 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/1.009, allocations: 12 kB / 0.524 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/1.009, allocations: 7.938 kB / 0.524 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.009, allocations: 8 kB / 0.524 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.907e-06/1.009, allocations: 4 kB / 0.524 GB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/1.012, allocations: 2.417 MB / 0.5264 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008388/1.013, allocations: 440.8 kB / 0.5268 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.013, allocations: 8 kB / 0.5268 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.015, allocations: 31.91 kB / 0.5268 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.015, allocations: 40.02 kB / 0.5269 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/1.015, allocations: 35.66 kB / 0.5269 GB, free: 3.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003348/1.018, allocations: 2.11 MB / 0.529 GB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.6e-07/1.018, allocations: 3.938 kB / 0.529 GB, free: 1.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005072/1.023, allocations: 0.8053 MB / 0.5298 GB, free: 468 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003074/1.024, allocations: 135.2 kB / 0.5299 GB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0056/1.029, allocations: 2.71 MB / 0.5325 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.926e-06/1.029, allocations: 0 / 0.5325 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007877/1.03, allocations: 418.2 kB / 0.5329 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.032, allocations: 337.5 kB / 0.5333 GB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.047, allocations: 6.111 MB / 0.5392 GB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006148/1.054, allocations: 2.929 MB / 0.5421 GB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008072/1.054, allocations: 243.4 kB / 0.5423 GB, free: 3.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.885e-06/1.054, allocations: 0 / 0.5423 GB, free: 3.504 MB / 378.7 MB Notification: Performance of Templates: time 0.3013/1.356, allocations: 44.01 MB / 0.5853 GB, free: 94.62 MB / 394.7 MB