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_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 1.889/1.889, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.622e-05, allocations: 4 kB / 273.1 MB, free: 3.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08513, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4533, allocations: 88.69 MB / 410.5 MB, free: 4.391 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4536, allocations: 69.41 kB / 410.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3919/0.8455, allocations: 84.68 MB / 495.2 MB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.86e-06/0.8456, allocations: 0 / 495.2 MB, free: 8.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.8458, allocations: 68 kB / 495.3 MB, free: 8.715 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.01425/0.8601, allocations: 3.506 MB / 498.8 MB, free: 5.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.8602, allocations: 8.031 kB / 498.8 MB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/0.8818, allocations: 3.512 MB / 0.4905 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02282/0.9047, allocations: 4.182 MB / 0.4946 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006363/0.9054, allocations: 295.7 kB / 0.4949 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/0.9082, allocations: 395.8 kB / 0.4953 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/0.9423, allocations: 9.807 MB / 0.5049 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.9425, allocations: 31.7 kB / 0.5049 GB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008297/0.9434, allocations: 179.8 kB / 0.5051 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.9456, allocations: 1.164 MB / 0.5062 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.9686, allocations: 9.162 MB / 0.5151 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.297/1.266, allocations: 32.43 MB / 0.5468 GB, free: 80.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/1.273, allocations: 3.317 MB / 0.5501 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/1.277, allocations: 1.068 MB / 0.5511 GB, free: 79.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002785/1.279, allocations: 1.311 MB / 0.5524 GB, free: 78.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/1.28, allocations: 55.59 kB / 0.5524 GB, free: 78.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 1.15e-05/1.28, allocations: 0 / 0.5524 GB, free: 78.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.02978/1.309, allocations: 8.694 MB / 0.5609 GB, free: 76.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.31, allocations: 93.36 kB / 0.561 GB, free: 76.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/1.314, allocations: 2.321 MB / 0.5633 GB, free: 76.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/1.314, allocations: 48.97 kB / 0.5633 GB, free: 76.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.316, allocations: 2.731 MB / 0.566 GB, free: 74.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.317, allocations: 0.7101 MB / 0.5667 GB, free: 74.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005377/1.318, allocations: 95.95 kB / 0.5668 GB, free: 74.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000496/1.318, allocations: 0.5218 MB / 0.5673 GB, free: 74.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004667/1.323, allocations: 1.498 MB / 0.5687 GB, free: 74.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004551/1.328, allocations: 4.353 MB / 0.573 GB, free: 70.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/1.333, allocations: 2.619 MB / 0.5756 GB, free: 70.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.552e-05/1.333, allocations: 32.42 kB / 0.5756 GB, free: 70.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01284/1.346, allocations: 5.515 MB / 0.581 GB, free: 69.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/1.346, allocations: 53.95 kB / 0.581 GB, free: 69.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/1.346, allocations: 103.6 kB / 0.5811 GB, free: 69.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/1.346, allocations: 199 kB / 0.5813 GB, free: 69.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/1.351, allocations: 1.085 MB / 0.5824 GB, free: 69.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/1.352, allocations: 1.664 MB / 0.584 GB, free: 67.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006984/1.359, allocations: 215.4 kB / 0.5842 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.361, allocations: 300.2 kB / 0.5845 GB, free: 67.84 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.001313/1.362, allocations: 479.5 kB / 0.5849 GB, free: 67.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/1.363, allocations: 253.5 kB / 0.5852 GB, free: 67.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007557/1.371, allocations: 2.494 MB / 0.5876 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/1.371, allocations: 21.78 kB / 0.5876 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.371, allocations: 2 kB / 0.5876 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/1.371, allocations: 11.14 kB / 0.5877 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/1.396, allocations: 8.121 MB / 0.5956 GB, free: 63.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/1.396, allocations: 14.38 kB / 0.5956 GB, free: 63.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.398, allocations: 255.9 kB / 0.5958 GB, free: 63.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/1.399, allocations: 59.86 kB / 0.5959 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.399, allocations: 48.2 kB / 0.5959 GB, free: 63.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/1.401, allocations: 1.481 MB / 0.5974 GB, free: 62.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-05/1.401, allocations: 15.75 kB / 0.5974 GB, free: 62.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/1.413, allocations: 4.866 MB / 0.6022 GB, free: 59.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/1.415, allocations: 0.5017 MB / 0.6026 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.416, allocations: 41.7 kB / 0.6027 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003092/1.42, allocations: 58.31 kB / 0.6027 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/1.42, allocations: 132.4 kB / 0.6029 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004029/1.421, allocations: 64.16 kB / 0.6029 GB, free: 58.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003635/1.424, allocations: 1.579 MB / 0.6045 GB, free: 58.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.014e-06/1.424, allocations: 3.828 kB / 0.6045 GB, free: 58.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004672/1.429, allocations: 0.8165 MB / 0.6053 GB, free: 58.06 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.0003916/1.429, allocations: 190.9 kB / 0.6055 GB, free: 57.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006189/1.436, allocations: 3.642 MB / 0.609 GB, free: 56.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.357e-06/1.436, allocations: 0 / 0.609 GB, free: 56.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/1.438, allocations: 1.195 MB / 0.6102 GB, free: 56.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.439, allocations: 308.9 kB / 0.6105 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.453, allocations: 7.125 MB / 0.6174 GB, free: 49.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004079/1.457, allocations: 3.271 MB / 0.6206 GB, free: 47.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004826/1.462, allocations: 1.732 MB / 0.6223 GB, free: 46.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/1.462, allocations: 185.8 kB / 0.6225 GB, free: 45.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.822e-06/1.462, allocations: 0 / 0.6225 GB, free: 45.94 MB / 426.7 MB Notification: Performance of Templates: time 0.0617/1.524, allocations: 21.49 MB / 0.6435 GB, free: 30.81 MB / 426.7 MB