Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 234.9 MB / 250.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.441e-05/4.441e-05, allocations: 4 kB / 308 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4491, allocations: 54.87 MB / 362.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.05471/0.5039, allocations: 23.83 MB / 386.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02503/0.529, allocations: 5.842 MB / 392.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007615/0.5367, allocations: 115.8 kB / 392.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006202/0.5429, allocations: 1.272 MB / 393.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01938/0.5624, allocations: 3.604 MB / 397.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.5655, allocations: 355.4 kB / 397.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006402/0.572, allocations: 1.38 MB / 399.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00613/0.5782, allocations: 1.905 MB / 401.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.581, allocations: 0.6935 MB / 401.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.585, allocations: 1.173 MB / 403 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.5886, allocations: 0.6514 MB / 403.7 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.5901, allocations: 108 kB / 403.8 MB, free: 2.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003411/0.5936, allocations: 1.336 MB / 405.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.5955, allocations: 216 kB / 405.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.6066, allocations: 4.772 MB / 410.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.6067, allocations: 0 / 410.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.841e-06/0.6067, allocations: 0 / 410.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003335/0.6071, allocations: 4 kB / 410.1 MB, free: 12.23 MB / 346.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.01654/0.6236, allocations: 3.467 MB / 413.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/0.6237, allocations: 12.03 kB / 413.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03349/0.6572, allocations: 3.727 MB / 417.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00689/0.6642, allocations: 2.147 MB / 419.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003127/0.6646, allocations: 196.7 kB / 419.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.6661, allocations: 247.8 kB / 419.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02938/0.6955, allocations: 10.41 MB / 430.3 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.6958, allocations: 31.66 kB / 430.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/0.6971, allocations: 119.8 kB / 430.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007954/0.705, allocations: 2.55 MB / 433 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03135/0.7364, allocations: 9.475 MB / 442.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07905/0.8156, allocations: 32.47 MB / 474.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009977/0.8256, allocations: 3.358 MB / 478.3 MB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/0.8275, allocations: 1.307 MB / 479.6 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.8276, allocations: 51.81 kB / 479.6 MB, free: 4.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=187): time 6.282e-06/0.8276, allocations: 0 / 479.6 MB, free: 4.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.3632/1.191, allocations: 10.31 MB / 490 MB, free: 103.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/1.191, allocations: 98.11 kB / 490.1 MB, free: 103.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005303/1.196, allocations: 2.444 MB / 492.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002981/1.197, allocations: 59.11 kB / 492.6 MB, free: 102.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.199, allocations: 2.73 MB / 495.3 MB, free: 100.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009905/1.2, allocations: 0.7118 MB / 496 MB, free: 99.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.2, allocations: 95.44 kB / 496.1 MB, free: 99.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003048/1.2, allocations: 0.5171 MB / 496.6 MB, free: 99.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/1.204, allocations: 1.541 MB / 498.1 MB, free: 98.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/1.209, allocations: 4.414 MB / 0.4908 GB, free: 94.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005597/1.214, allocations: 2.625 MB / 0.4933 GB, free: 93.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/1.215, allocations: 31.28 kB / 0.4934 GB, free: 93.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01378/1.228, allocations: 5.801 MB / 0.499 GB, free: 89.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/1.228, allocations: 48 kB / 0.4991 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.229, allocations: 104 kB / 0.4992 GB, free: 89.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/1.229, allocations: 188.5 kB / 0.4994 GB, free: 89.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005999/1.235, allocations: 1.086 MB / 0.5004 GB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/1.237, allocations: 1.705 MB / 0.5021 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/1.241, allocations: 220 kB / 0.5023 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007328/1.242, allocations: 306.7 kB / 0.5026 GB, free: 85.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 (602): * Single equations (assignments): 595 * 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.004265/1.246, allocations: 1.98 MB / 0.5045 GB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005508/1.247, allocations: 248.7 kB / 0.5048 GB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/1.253, allocations: 2.534 MB / 0.5072 GB, free: 81.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/1.253, allocations: 24 kB / 0.5073 GB, free: 81.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.253, allocations: 2.062 kB / 0.5073 GB, free: 81.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/1.253, allocations: 7.594 kB / 0.5073 GB, free: 81.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.271, allocations: 8.147 MB / 0.5152 GB, free: 73.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.271, allocations: 8 kB / 0.5152 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.273, allocations: 256.9 kB / 0.5155 GB, free: 73.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/1.273, allocations: 64.83 kB / 0.5155 GB, free: 73.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.273, allocations: 41.16 kB / 0.5156 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/1.275, allocations: 1.53 MB / 0.5171 GB, free: 71.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/1.275, allocations: 15.88 kB / 0.5171 GB, free: 71.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007825/1.283, allocations: 4.866 MB / 0.5218 GB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.284, allocations: 0.5016 MB / 0.5223 GB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/1.285, allocations: 36.94 kB / 0.5224 GB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.286, allocations: 56.89 kB / 0.5224 GB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/1.287, allocations: 125.5 kB / 0.5225 GB, free: 65.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.287, allocations: 65.33 kB / 0.5226 GB, free: 65.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003174/1.29, allocations: 1.682 MB / 0.5242 GB, free: 63.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.29, allocations: 3.188 kB / 0.5243 GB, free: 63.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005127/1.295, allocations: 0.8266 MB / 0.5251 GB, free: 62.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.000873/1.296, allocations: 195.8 kB / 0.5252 GB, free: 62.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008128/1.304, allocations: 3.845 MB / 0.529 GB, free: 58.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.304, allocations: 4.062 kB / 0.529 GB, free: 58.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/1.307, allocations: 1.238 MB / 0.5302 GB, free: 57.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.309, allocations: 310.5 kB / 0.5305 GB, free: 57.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.33, allocations: 10.83 MB / 0.5411 GB, free: 46.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005401/1.336, allocations: 3.286 MB / 0.5443 GB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.337, allocations: 231.4 kB / 0.5445 GB, free: 42.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/1.337, allocations: 0 / 0.5445 GB, free: 42.8 MB / 410.7 MB Notification: Performance of Templates: time 0.1244/1.462, allocations: 63.9 MB / 0.6069 GB, free: 10.84 MB / 442.7 MB