Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.074e-05, allocations: 4 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3197, allocations: 61.87 MB / 408.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.4768, allocations: 103.3 MB / 0.5001 GB, free: 3.273 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4771, allocations: 75.97 kB / 0.5002 GB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5721/1.049, allocations: 84.92 MB / 0.5831 GB, free: 56.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.43e-06/1.049, allocations: 0 / 0.5831 GB, free: 56.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001374/1.049, allocations: 68 kB / 0.5832 GB, free: 56.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008144/1.058, allocations: 3.439 MB / 0.5865 GB, free: 53.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.058, allocations: 8.031 kB / 0.5865 GB, free: 53.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.075, allocations: 3.489 MB / 0.59 GB, free: 49.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/1.087, allocations: 4.027 MB / 0.5939 GB, free: 45.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/1.087, allocations: 287.5 kB / 0.5942 GB, free: 45.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/1.088, allocations: 383.7 kB / 0.5945 GB, free: 45.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/1.108, allocations: 9.647 MB / 0.6039 GB, free: 34.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/1.108, allocations: 23.81 kB / 0.604 GB, free: 34.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007054/1.109, allocations: 167.9 kB / 0.6041 GB, free: 34.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/1.11, allocations: 1.137 MB / 0.6052 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/1.129, allocations: 9.091 MB / 0.6141 GB, free: 24.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04825/1.177, allocations: 31.7 MB / 0.6451 GB, free: 8.004 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007903/1.185, allocations: 3.296 MB / 0.6483 GB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/1.187, allocations: 1.046 MB / 0.6493 GB, free: 3.438 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/1.189, allocations: 1.311 MB / 0.6506 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/1.189, allocations: 47.86 kB / 0.6506 GB, free: 1.848 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 6.123e-06/1.189, allocations: 0 / 0.6506 GB, free: 1.848 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.04022/1.229, allocations: 7.992 MB / 0.6584 GB, free: 9.766 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.229, allocations: 64.72 kB / 0.6585 GB, free: 9.691 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008193/1.237, allocations: 2.305 MB / 0.6608 GB, free: 7.363 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/1.238, allocations: 53.69 kB / 0.6608 GB, free: 7.305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004239/1.242, allocations: 2.664 MB / 0.6634 GB, free: 4.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.244, allocations: 0.7055 MB / 0.6641 GB, free: 3.887 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005593/1.244, allocations: 92 kB / 0.6642 GB, free: 3.797 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008265/1.245, allocations: 0.5135 MB / 0.6647 GB, free: 3.273 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006356/1.252, allocations: 1.489 MB / 0.6661 GB, free: 1.777 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.263, allocations: 4.281 MB / 0.6703 GB, free: 12.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.273, allocations: 2.582 MB / 0.6728 GB, free: 9.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.273, allocations: 35.94 kB / 0.6729 GB, free: 9.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01922/1.292, allocations: 5.386 MB / 0.6781 GB, free: 4.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/1.292, allocations: 52.22 kB / 0.6782 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/1.293, allocations: 100 kB / 0.6783 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/1.293, allocations: 184.8 kB / 0.6785 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/1.298, allocations: 1.068 MB / 0.6795 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.3, allocations: 1.678 MB / 0.6811 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/1.304, allocations: 207.9 kB / 0.6813 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007313/1.305, allocations: 288 kB / 0.6816 GB, free: 392 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (591): * Single equations (assignments): 584 * 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.0009615/1.306, allocations: 481.7 kB / 0.6821 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.306, allocations: 244.7 kB / 0.6823 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/1.312, allocations: 2.502 MB / 0.6848 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/1.312, allocations: 24 kB / 0.6848 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.84e-06/1.312, allocations: 0 / 0.6848 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.312, allocations: 3.984 kB / 0.6848 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.33, allocations: 7.928 MB / 0.6925 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/1.33, allocations: 12 kB / 0.6925 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.331, allocations: 251.6 kB / 0.6928 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/1.331, allocations: 56.91 kB / 0.6928 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.331, allocations: 47.98 kB / 0.6929 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/1.333, allocations: 1.492 MB / 0.6943 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.032e-05/1.333, allocations: 15.94 kB / 0.6943 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/1.341, allocations: 4.788 MB / 0.699 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006942/1.342, allocations: 297.9 kB / 0.6993 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/1.342, allocations: 35.95 kB / 0.6993 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.343, allocations: 68 kB / 0.6994 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.343, allocations: 120.6 kB / 0.6995 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.344, allocations: 64 kB / 0.6996 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003083/1.347, allocations: 1.559 MB / 0.7011 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.85e-07/1.347, allocations: 0 / 0.7011 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004577/1.351, allocations: 0.8085 MB / 0.7019 GB, free: 10.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * 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.0004863/1.352, allocations: 198.8 kB / 0.7021 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007334/1.359, allocations: 3.601 MB / 0.7056 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.359, allocations: 4 kB / 0.7056 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002234/1.362, allocations: 1.196 MB / 0.7068 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.363, allocations: 316.9 kB / 0.7071 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3058/1.669, allocations: 7.43 MB / 0.7143 GB, free: 143 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00481/1.674, allocations: 3.226 MB / 0.7175 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009947/1.675, allocations: 228.4 kB / 0.7177 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.792e-06/1.675, allocations: 0 / 0.7177 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.08348/1.758, allocations: 61.78 MB / 0.778 GB, free: 113.9 MB / 0.5105 GB