Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.849e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.3693/0.4973, allocations: 24.48 MB / 435.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.5162, allocations: 6.055 MB / 441.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007166/0.5234, allocations: 119 kB / 441.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.5289, allocations: 1.285 MB / 442.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.5458, allocations: 3.748 MB / 446.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.5484, allocations: 345.2 kB / 446.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004702/0.5532, allocations: 1.349 MB / 448.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.5579, allocations: 1.884 MB / 450.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.5599, allocations: 0.6789 MB / 450.9 MB, free: 9.496 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.5628, allocations: 1.166 MB / 452 MB, free: 8.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.5653, allocations: 0.6352 MB / 452.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007275/0.5661, allocations: 105.3 kB / 452.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.5681, allocations: 1.31 MB / 454.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.5692, allocations: 211 kB / 454.3 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008801/0.578, allocations: 4.665 MB / 458.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5781, allocations: 0 / 458.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5781, allocations: 1.375 kB / 458.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002433/0.5784, allocations: 0 / 458.9 MB, free: 4.898 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.0112/0.5896, allocations: 3.415 MB / 462.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5897, allocations: 17.47 kB / 462.4 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0236/0.6133, allocations: 3.735 MB / 466.1 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007343/0.6207, allocations: 1.979 MB / 468.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.621, allocations: 200.6 kB / 468.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/0.623, allocations: 249.2 kB / 468.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02996/0.653, allocations: 10.2 MB / 478.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.6532, allocations: 35.75 kB / 478.8 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000858/0.6541, allocations: 119.8 kB / 478.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007329/0.6614, allocations: 2.467 MB / 481.3 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03099/0.6925, allocations: 9.391 MB / 490.7 MB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06959/0.7621, allocations: 31.76 MB / 0.5102 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.7724, allocations: 3.35 MB / 0.5135 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/0.7743, allocations: 1.31 MB / 0.5148 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.7745, allocations: 43.88 kB / 0.5148 GB, free: 1.434 MB / 426.7 MB Notification: Performance of pre-optimization done (n=185): time 6.242e-06/0.7745, allocations: 0 / 0.5148 GB, free: 1.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=191): time 0.03685/0.8113, allocations: 9.616 MB / 0.5242 GB, free: 7.613 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.8114, allocations: 72.72 kB / 0.5243 GB, free: 7.531 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/0.8166, allocations: 2.427 MB / 0.5267 GB, free: 5.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003508/0.817, allocations: 49.7 kB / 0.5267 GB, free: 5.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.8196, allocations: 2.664 MB / 0.5293 GB, free: 2.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.8208, allocations: 0.7055 MB / 0.53 GB, free: 1.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.8212, allocations: 92 kB / 0.5301 GB, free: 1.523 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004267/0.8216, allocations: 0.5174 MB / 0.5306 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004106/0.8257, allocations: 1.524 MB / 0.5321 GB, free: 15.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006816/0.8326, allocations: 4.336 MB / 0.5363 GB, free: 9.723 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006559/0.8392, allocations: 2.593 MB / 0.5389 GB, free: 7.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.791e-05/0.8393, allocations: 28 kB / 0.5389 GB, free: 7.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0157/0.855, allocations: 5.734 MB / 0.5445 GB, free: 1.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/0.8552, allocations: 48 kB / 0.5445 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.8554, allocations: 100 kB / 0.5446 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.8559, allocations: 184.8 kB / 0.5448 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006694/0.8626, allocations: 1.068 MB / 0.5458 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.8649, allocations: 1.694 MB / 0.5475 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.8693, allocations: 211.9 kB / 0.5477 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.8703, allocations: 300 kB / 0.548 GB, free: 13.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 585 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005444/0.8758, allocations: 1.962 MB / 0.5499 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/0.8764, allocations: 240.8 kB / 0.5501 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006798/0.8832, allocations: 2.526 MB / 0.5526 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/0.8833, allocations: 24 kB / 0.5526 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8833, allocations: 7.891 kB / 0.5526 GB, free: 8.832 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.8834, allocations: 7.969 kB / 0.5526 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/0.9051, allocations: 7.938 MB / 0.5604 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.9052, allocations: 15.98 kB / 0.5604 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/0.9073, allocations: 243.6 kB / 0.5606 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.9076, allocations: 64.72 kB / 0.5607 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.9078, allocations: 44 kB / 0.5607 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.9098, allocations: 1.523 MB / 0.5622 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/0.9098, allocations: 15.88 kB / 0.5622 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009928/0.9198, allocations: 4.797 MB / 0.5669 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/0.9208, allocations: 301.9 kB / 0.5672 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007515/0.9215, allocations: 43.97 kB / 0.5673 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.9231, allocations: 56.02 kB / 0.5673 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.9235, allocations: 120.7 kB / 0.5674 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.9237, allocations: 67.98 kB / 0.5675 GB, free: 8.848 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004224/0.9279, allocations: 1.658 MB / 0.5691 GB, free: 7.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.928, allocations: 0 / 0.5691 GB, free: 7.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005704/0.9337, allocations: 0.8203 MB / 0.5699 GB, free: 6.359 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008861/0.9346, allocations: 194.8 kB / 0.5701 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009972/0.9446, allocations: 3.814 MB / 0.5738 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.9447, allocations: 0 / 0.5738 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003245/0.9479, allocations: 1.237 MB / 0.575 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.9503, allocations: 320.7 kB / 0.5753 GB, free: 0.793 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02526/0.9755, allocations: 10.58 MB / 0.5857 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006662/0.9823, allocations: 3.229 MB / 0.5888 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/0.9836, allocations: 231.4 kB / 0.589 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of SimCode: time 1.372e-06/0.9836, allocations: 0 / 0.589 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of Templates: time 0.4665/1.45, allocations: 62.88 MB / 0.6504 GB, free: 144.6 MB / 0.5105 GB