Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.47e-05/3.512e-05, allocations: 4 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3285, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.4789, allocations: 97.15 MB / 456.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4792, allocations: 71.97 kB / 457 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1342/0.6134, allocations: 33.22 MB / 490.2 MB, free: 14.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.936e-06/0.6134, allocations: 0 / 490.2 MB, free: 14.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.6135, allocations: 39.98 kB / 490.2 MB, free: 14.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004106/0.6177, allocations: 1.643 MB / 491.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6177, allocations: 8.031 kB / 491.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.6203, allocations: 409.5 kB / 492.3 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009941/0.6303, allocations: 2.889 MB / 495.2 MB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.6305, allocations: 110.8 kB / 495.3 MB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/0.6309, allocations: 151.8 kB / 495.4 MB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007767/0.6387, allocations: 2.86 MB / 498.3 MB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.6388, allocations: 11.88 kB / 498.3 MB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.639, allocations: 71.97 kB / 498.4 MB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006024/0.6396, allocations: 262.1 kB / 498.6 MB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006468/0.6461, allocations: 2.026 MB / 0.4889 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.6643, allocations: 11.28 MB / 0.4999 GB, free: 8.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004674/0.6691, allocations: 1.063 MB / 0.501 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.6699, allocations: 367.4 kB / 0.5013 GB, free: 6.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004926/0.6748, allocations: 2.637 MB / 0.5039 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.6749, allocations: 38.56 kB / 0.5039 GB, free: 3.777 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.996e-06/0.6749, allocations: 0 / 0.5039 GB, free: 3.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.0137/0.6887, allocations: 3.151 MB / 0.507 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.6888, allocations: 81.55 kB / 0.5071 GB, free: 436 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.6908, allocations: 1.04 MB / 0.5081 GB, free: 15.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.6909, allocations: 29.7 kB / 0.5081 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008481/0.6918, allocations: 0.9341 MB / 0.509 GB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.692, allocations: 193.5 kB / 0.5092 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.6921, allocations: 32 kB / 0.5093 GB, free: 14.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.6924, allocations: 374.8 kB / 0.5096 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.6932, allocations: 367.9 kB / 0.51 GB, free: 13.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.6948, allocations: 1.187 MB / 0.5111 GB, free: 11.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.6961, allocations: 0.6415 MB / 0.5117 GB, free: 11.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/0.6961, allocations: 19.95 kB / 0.5118 GB, free: 11.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003437/0.6996, allocations: 1.472 MB / 0.5132 GB, free: 9.691 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.6997, allocations: 20 kB / 0.5132 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/0.6997, allocations: 28 kB / 0.5132 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.7, allocations: 92.83 kB / 0.5133 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.7015, allocations: 343.9 kB / 0.5137 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.7038, allocations: 1.721 MB / 0.5153 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.7053, allocations: 60.08 kB / 0.5154 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.7054, allocations: 84 kB / 0.5155 GB, free: 7.219 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (182): * Single equations (assignments): 181 * Array equations: 0 * 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.0003648/0.7058, allocations: 232.9 kB / 0.5157 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.706, allocations: 110.6 kB / 0.5158 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.7076, allocations: 0.6487 MB / 0.5164 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.486e-06/0.7077, allocations: 4 kB / 0.5164 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7077, allocations: 0 / 0.5164 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.7077, allocations: 3.984 kB / 0.5164 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.7126, allocations: 2.134 MB / 0.5185 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.7127, allocations: 4 kB / 0.5185 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.7132, allocations: 91.83 kB / 0.5186 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.7135, allocations: 65.25 kB / 0.5187 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.7136, allocations: 15.94 kB / 0.5187 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.7159, allocations: 1.737 MB / 0.5204 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.7159, allocations: 11.92 kB / 0.5204 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.7181, allocations: 1.167 MB / 0.5215 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.7186, allocations: 223.6 kB / 0.5218 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.7187, allocations: 12 kB / 0.5218 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.7193, allocations: 32.11 kB / 0.5218 GB, free: 328 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.7194, allocations: 43.84 kB / 0.5218 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.7195, allocations: 20 kB / 0.5219 GB, free: 264 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.2527/0.9722, allocations: 0.7332 MB / 0.5226 GB, free: 124.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.084e-06/0.9722, allocations: 0 / 0.5226 GB, free: 124.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002104/0.9744, allocations: 298.2 kB / 0.5229 GB, free: 124.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.9747, allocations: 134 kB / 0.523 GB, free: 124.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.9768, allocations: 0.9601 MB / 0.5239 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.58e-06/0.9768, allocations: 1.281 kB / 0.5239 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.9774, allocations: 361.3 kB / 0.5243 GB, free: 124.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.9785, allocations: 156.9 kB / 0.5244 GB, free: 124.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.9835, allocations: 2.243 MB / 0.5266 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.9851, allocations: 1.459 MB / 0.528 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.9855, allocations: 85.94 kB / 0.5281 GB, free: 123.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.929e-06/0.9855, allocations: 0 / 0.5281 GB, free: 123.2 MB / 458.7 MB Notification: Performance of Templates: time 0.03575/1.021, allocations: 20.71 MB / 0.5483 GB, free: 122.4 MB / 458.7 MB