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.338/2.338, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.353e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.419, allocations: 54.86 MB / 362.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03295/0.452, allocations: 20.54 MB / 383.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01563/0.4677, allocations: 5.415 MB / 388.8 MB, free: 3.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/0.4722, allocations: 103.8 kB / 388.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.4762, allocations: 1.042 MB / 389.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.4877, allocations: 3.035 MB / 393 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.4899, allocations: 415.3 kB / 393.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.4921, allocations: 0.737 MB / 394.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.4959, allocations: 1.799 MB / 395.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/0.4968, allocations: 351.1 kB / 396.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.4978, allocations: 0.522 MB / 396.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.4991, allocations: 423.4 kB / 397.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.4995, allocations: 52 kB / 397.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007821/0.5002, allocations: 0.5299 MB / 397.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.5007, allocations: 104 kB / 397.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.5038, allocations: 1.861 MB / 399.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5038, allocations: 0 / 399.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5038, allocations: 0 / 399.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.9e-05/0.5039, allocations: 0 / 399.7 MB, free: 8.84 MB / 330.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.00442/0.5083, allocations: 1.57 MB / 401.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.5084, allocations: 12.03 kB / 401.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.5104, allocations: 269.6 kB / 401.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.5139, allocations: 1.277 MB / 402.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.5141, allocations: 94.31 kB / 403 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.5144, allocations: 116 kB / 403.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009218/0.5236, allocations: 2.899 MB / 406 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-05/0.5238, allocations: 15.78 kB / 406 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.524, allocations: 55.97 kB / 406 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001082/0.5251, allocations: 421.9 kB / 406.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008506/0.5336, allocations: 2.105 MB / 408.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02015/0.5538, allocations: 10.49 MB / 419 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006507/0.5604, allocations: 1.099 MB / 420.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005799/0.5662, allocations: 2.659 MB / 422.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.5663, allocations: 34.56 kB / 422.8 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.547e-06/0.5663, allocations: 3.938 kB / 422.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.01972/0.5861, allocations: 3.548 MB / 426.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.5862, allocations: 85.55 kB / 426.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.5885, allocations: 1.152 MB / 427.6 MB, free: 12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5887, allocations: 37.64 kB / 427.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008877/0.5896, allocations: 0.9185 MB / 428.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.5899, allocations: 205.4 kB / 428.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.59, allocations: 28 kB / 428.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.5902, allocations: 374.7 kB / 429.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.5913, allocations: 379.8 kB / 429.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.593, allocations: 1.197 MB / 430.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.5947, allocations: 0.6341 MB / 431.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.5947, allocations: 8 kB / 431.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.00436/0.5991, allocations: 1.573 MB / 433 MB, free: 6.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.5992, allocations: 17.41 kB / 433 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/0.5993, allocations: 31.94 kB / 433 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.5996, allocations: 108.7 kB / 433.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.6017, allocations: 335.4 kB / 433.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.6041, allocations: 1.717 MB / 435.2 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.6056, allocations: 67.98 kB / 435.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.6058, allocations: 80 kB / 435.3 MB, free: 3.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (180): * Single equations (assignments): 179 * 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.001382/0.6072, allocations: 0.6244 MB / 435.9 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.6075, allocations: 118.5 kB / 436 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.6095, allocations: 0.6605 MB / 436.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.6095, allocations: 7.984 kB / 436.7 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6095, allocations: 7.953 kB / 436.7 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6095, allocations: 0 / 436.7 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.6152, allocations: 2.124 MB / 438.8 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6153, allocations: 0 / 438.8 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.616, allocations: 83.89 kB / 438.9 MB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/0.6163, allocations: 68.73 kB / 439 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.6164, allocations: 16 kB / 439 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.6188, allocations: 1.757 MB / 440.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.6189, allocations: 7.953 kB / 440.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.6216, allocations: 1.202 MB / 442 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.6222, allocations: 227.5 kB / 442.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.6224, allocations: 12 kB / 442.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.6231, allocations: 23.98 kB / 442.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.6232, allocations: 47.91 kB / 442.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.6233, allocations: 20 kB / 442.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001785/0.6251, allocations: 0.8335 MB / 443.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.6251, allocations: 0 / 443.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001992/0.6271, allocations: 304 kB / 443.4 MB, free: 11.2 MB / 378.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.0004485/0.6276, allocations: 154.4 kB / 443.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.6306, allocations: 1.03 MB / 444.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.6306, allocations: 1.625 kB / 444.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009208/0.6315, allocations: 383.1 kB / 445 MB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.633, allocations: 164.6 kB / 445.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.6411, allocations: 3.399 MB / 448.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.6432, allocations: 1.465 MB / 450 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.6436, allocations: 83.44 kB / 450.1 MB, free: 4.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6436, allocations: 0 / 450.1 MB, free: 4.398 MB / 378.7 MB Notification: Performance of Templates: time 0.04914/0.6928, allocations: 21.31 MB / 471.4 MB, free: 15.09 MB / 410.7 MB