Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 1.797/1.797, allocations: 209.3 MB / 222 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.795e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08495, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4393, allocations: 88.69 MB / 410.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4396, allocations: 75.02 kB / 410.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.326/0.7656, allocations: 84.67 MB / 495.2 MB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.7657, allocations: 3.938 kB / 495.2 MB, free: 9.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.7658, allocations: 68 kB / 495.3 MB, free: 9.164 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01045/0.7763, allocations: 3.51 MB / 498.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7764, allocations: 8.031 kB / 498.8 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/0.7959, allocations: 3.508 MB / 0.4905 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/0.8098, allocations: 4.19 MB / 0.4946 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.8103, allocations: 299.7 kB / 0.4949 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.8122, allocations: 383.9 kB / 0.4953 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.8381, allocations: 9.807 MB / 0.5048 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/0.8383, allocations: 31.72 kB / 0.5049 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001288/0.8396, allocations: 179.8 kB / 0.505 GB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002346/0.8419, allocations: 1.168 MB / 0.5062 GB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.865, allocations: 9.17 MB / 0.5151 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3236/1.189, allocations: 32.43 MB / 0.5468 GB, free: 80.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.2, allocations: 3.316 MB / 0.55 GB, free: 79.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003368/1.204, allocations: 1.057 MB / 0.5511 GB, free: 79.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/1.206, allocations: 1.311 MB / 0.5523 GB, free: 78.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/1.206, allocations: 50.81 kB / 0.5524 GB, free: 78.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 1.106e-05/1.206, allocations: 0 / 0.5524 GB, free: 78.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.04082/1.247, allocations: 8.693 MB / 0.5609 GB, free: 76.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/1.247, allocations: 93.77 kB / 0.561 GB, free: 76.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006143/1.253, allocations: 2.32 MB / 0.5632 GB, free: 76.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/1.253, allocations: 49.06 kB / 0.5633 GB, free: 76.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/1.256, allocations: 2.735 MB / 0.566 GB, free: 74.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.257, allocations: 0.7119 MB / 0.5667 GB, free: 74.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004841/1.257, allocations: 98.67 kB / 0.5667 GB, free: 74.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004828/1.258, allocations: 0.5226 MB / 0.5673 GB, free: 74.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/1.263, allocations: 1.497 MB / 0.5687 GB, free: 74.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009695/1.272, allocations: 4.353 MB / 0.573 GB, free: 70.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007008/1.279, allocations: 2.629 MB / 0.5755 GB, free: 70.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.88e-05/1.28, allocations: 29.03 kB / 0.5756 GB, free: 70.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01225/1.292, allocations: 5.454 MB / 0.5809 GB, free: 69.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/1.292, allocations: 52.67 kB / 0.5809 GB, free: 69.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.292, allocations: 100.7 kB / 0.581 GB, free: 69.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/1.293, allocations: 195.5 kB / 0.5812 GB, free: 69.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004911/1.298, allocations: 1.081 MB / 0.5823 GB, free: 69.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/1.299, allocations: 1.667 MB / 0.5839 GB, free: 68.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/1.303, allocations: 221.2 kB / 0.5841 GB, free: 68.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008689/1.304, allocations: 296.2 kB / 0.5844 GB, free: 68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (601): * Single equations (assignments): 594 * 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.0008692/1.305, allocations: 480.5 kB / 0.5849 GB, free: 67.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/1.306, allocations: 252.6 kB / 0.5851 GB, free: 67.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/1.31, allocations: 2.5 MB / 0.5875 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/1.31, allocations: 23.86 kB / 0.5876 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.067e-06/1.31, allocations: 2.312 kB / 0.5876 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/1.31, allocations: 7.172 kB / 0.5876 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.327, allocations: 8.121 MB / 0.5955 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.327, allocations: 7.938 kB / 0.5955 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.329, allocations: 259 kB / 0.5958 GB, free: 63.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/1.329, allocations: 62.61 kB / 0.5958 GB, free: 63.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.33, allocations: 38.88 kB / 0.5959 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/1.331, allocations: 1.491 MB / 0.5973 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.331, allocations: 15.75 kB / 0.5973 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/1.337, allocations: 4.859 MB / 0.6021 GB, free: 59.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.339, allocations: 0.5074 MB / 0.6026 GB, free: 58.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/1.339, allocations: 41.27 kB / 0.6026 GB, free: 58.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.341, allocations: 60.7 kB / 0.6027 GB, free: 58.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/1.341, allocations: 121.9 kB / 0.6028 GB, free: 58.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.341, allocations: 75.73 kB / 0.6029 GB, free: 58.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003074/1.344, allocations: 1.58 MB / 0.6044 GB, free: 58.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.241e-06/1.344, allocations: 0 / 0.6044 GB, free: 58.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005141/1.349, allocations: 0.8188 MB / 0.6052 GB, free: 58.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * 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.000485/1.35, allocations: 180.8 kB / 0.6054 GB, free: 58.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006752/1.357, allocations: 3.639 MB / 0.6089 GB, free: 56.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.357, allocations: 3.812 kB / 0.6089 GB, free: 56.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.359, allocations: 1.202 MB / 0.6101 GB, free: 56.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.361, allocations: 304.1 kB / 0.6104 GB, free: 56.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.377, allocations: 7.582 MB / 0.6178 GB, free: 49.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/1.381, allocations: 3.279 MB / 0.621 GB, free: 47.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009601/1.382, allocations: 226.6 kB / 0.6212 GB, free: 46.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.939e-06/1.382, allocations: 0 / 0.6212 GB, free: 46.95 MB / 426.7 MB Notification: Performance of Templates: time 0.08691/1.469, allocations: 62.65 MB / 0.6824 GB, free: 7.266 MB / 442.7 MB