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.965/1.965, allocations: 209.3 MB / 223.8 MB, free: 0.7734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.221e-05/4.232e-05, allocations: 11.27 kB / 276.2 MB, free: 15.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 48.7 MB / 324.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03771/0.3981, allocations: 23.82 MB / 348.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.4159, allocations: 5.832 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006006/0.4219, allocations: 115 kB / 354.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00497/0.4269, allocations: 1.266 MB / 355.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.4426, allocations: 3.612 MB / 359.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.4448, allocations: 365 kB / 359.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.449, allocations: 1.374 MB / 361.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004048/0.4531, allocations: 1.908 MB / 363.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.4546, allocations: 0.6935 MB / 363.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.4568, allocations: 1.18 MB / 365 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.4591, allocations: 0.6398 MB / 365.7 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008354/0.46, allocations: 108 kB / 365.8 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.462, allocations: 1.34 MB / 367.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009438/0.4629, allocations: 219.9 kB / 367.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007907/0.4709, allocations: 4.76 MB / 372.1 MB, free: 32 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4709, allocations: 0 / 372.1 MB, free: 32 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4709, allocations: 0 / 372.1 MB, free: 32 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002536/0.4712, allocations: 4 kB / 372.1 MB, free: 28 kB / 298.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.01195/0.4832, allocations: 3.471 MB / 375.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.4832, allocations: 12.03 kB / 375.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03197/0.5152, allocations: 3.727 MB / 379.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/0.524, allocations: 2.143 MB / 381.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.5244, allocations: 188.8 kB / 381.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.5263, allocations: 251.8 kB / 381.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03574/0.562, allocations: 10.42 MB / 392.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/0.5623, allocations: 27.67 kB / 392.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.5636, allocations: 123.8 kB / 392.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007905/0.5716, allocations: 2.55 MB / 395 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/0.6019, allocations: 9.48 MB / 404.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09392/0.6958, allocations: 32.46 MB / 436.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.7073, allocations: 3.366 MB / 440.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002416/0.7098, allocations: 1.314 MB / 441.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.771e-05/0.7099, allocations: 47.88 kB / 441.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 8.125e-06/0.7099, allocations: 4 kB / 441.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.0502/0.7601, allocations: 10.32 MB / 452 MB, free: 13.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.7603, allocations: 94.42 kB / 452.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007371/0.7677, allocations: 2.436 MB / 454.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003855/0.7681, allocations: 57.73 kB / 454.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003957/0.7721, allocations: 2.743 MB / 457.3 MB, free: 8.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.7736, allocations: 0.7093 MB / 458 MB, free: 7.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005161/0.7741, allocations: 96 kB / 458.1 MB, free: 7.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000644/0.7748, allocations: 0.5129 MB / 458.6 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00588/0.7807, allocations: 1.54 MB / 460.2 MB, free: 5.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007398/0.7881, allocations: 4.408 MB / 464.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006579/0.7948, allocations: 2.624 MB / 467.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.88e-05/0.7949, allocations: 32 kB / 467.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01557/0.8105, allocations: 5.862 MB / 473.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.8106, allocations: 48 kB / 473.1 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/0.8108, allocations: 104 kB / 473.2 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.8113, allocations: 188.8 kB / 473.4 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006324/0.8176, allocations: 1.088 MB / 474.5 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.82, allocations: 1.706 MB / 476.2 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/0.8239, allocations: 220 kB / 476.4 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006555/0.8246, allocations: 296 kB / 476.7 MB, free: 3.551 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.004729/0.8293, allocations: 1.985 MB / 478.7 MB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.83, allocations: 248.7 kB / 478.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.283/1.113, allocations: 2.529 MB / 481.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/1.113, allocations: 21.67 kB / 481.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.113, allocations: 2 kB / 481.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/1.113, allocations: 8.094 kB / 481.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.135, allocations: 8.15 MB / 489.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.135, allocations: 10.12 kB / 489.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.137, allocations: 254 kB / 489.9 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/1.138, allocations: 56.3 kB / 490 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.138, allocations: 40.77 kB / 490 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/1.14, allocations: 1.531 MB / 491.5 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-05/1.14, allocations: 15.25 kB / 491.6 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009671/1.149, allocations: 4.874 MB / 496.4 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.151, allocations: 0.5005 MB / 496.9 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007594/1.152, allocations: 39.06 kB / 497 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.153, allocations: 54.03 kB / 497 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.154, allocations: 124.9 kB / 497.1 MB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/1.154, allocations: 65.78 kB / 497.2 MB, free: 115.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003762/1.158, allocations: 1.684 MB / 498.9 MB, free: 114.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.158, allocations: 2.312 kB / 498.9 MB, free: 114.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005501/1.163, allocations: 0.8197 MB / 499.7 MB, free: 114.7 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.0008618/1.164, allocations: 199 kB / 499.9 MB, free: 114.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009143/1.173, allocations: 3.847 MB / 0.4919 GB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/1.173, allocations: 3.969 kB / 0.492 GB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/1.176, allocations: 1.235 MB / 0.4932 GB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.179, allocations: 311.3 kB / 0.4935 GB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/1.2, allocations: 10.39 MB / 0.5036 GB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005401/1.205, allocations: 3.268 MB / 0.5068 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006749/1.212, allocations: 1.727 MB / 0.5085 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008639/1.213, allocations: 190.5 kB / 0.5087 GB, free: 103.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/1.213, allocations: 0 / 0.5087 GB, free: 103.7 MB / 410.7 MB Notification: Performance of Templates: time 0.06865/1.281, allocations: 22.35 MB / 0.5305 GB, free: 81.43 MB / 410.7 MB