Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.04e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3171, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.483, allocations: 106.8 MB / 0.5035 GB, free: 15.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.4833, allocations: 83.95 kB / 0.5036 GB, free: 15.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7653/1.249, allocations: 155.9 MB / 0.6559 GB, free: 14.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.249, allocations: 0 / 0.6559 GB, free: 14.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000501/1.249, allocations: 156 kB / 0.656 GB, free: 14.75 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02465/1.274, allocations: 7.604 MB / 0.6635 GB, free: 7.059 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.274, allocations: 12.03 kB / 0.6635 GB, free: 7.047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06206/1.336, allocations: 11.93 MB / 0.6751 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03031/1.366, allocations: 9.96 MB / 0.6849 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/1.367, allocations: 0.5697 MB / 0.6854 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/1.371, allocations: 0.7613 MB / 0.6862 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04745/1.418, allocations: 17.86 MB / 0.7036 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000433/1.419, allocations: 107 kB / 0.7037 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001914/1.42, allocations: 363.8 kB / 0.7041 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002855/1.423, allocations: 1.575 MB / 0.7056 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7081/2.131, allocations: 14.08 MB / 0.7193 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09371/2.225, allocations: 75.42 MB / 0.793 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02539/2.251, allocations: 7.419 MB / 0.8002 GB, free: 41.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005714/2.256, allocations: 3.546 MB / 0.8037 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/2.257, allocations: 0.6524 MB / 0.8043 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/2.257, allocations: 61.94 kB / 0.8044 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 7.674e-06/2.257, allocations: 0 / 0.8044 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.08408/2.341, allocations: 23.01 MB / 0.8269 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/2.341, allocations: 296.3 kB / 0.8272 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/2.354, allocations: 6.416 MB / 0.8334 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004787/2.355, allocations: 66.42 kB / 0.8335 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003743/2.359, allocations: 5.034 MB / 0.8384 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/2.36, allocations: 1.017 MB / 0.8394 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/2.361, allocations: 174 kB / 0.8396 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004726/2.361, allocations: 0.6739 MB / 0.8402 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005687/2.367, allocations: 2.843 MB / 0.843 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008477/2.375, allocations: 8.016 MB / 0.8508 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008559/2.384, allocations: 4.751 MB / 0.8555 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/2.384, allocations: 52 kB / 0.8555 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02405/2.408, allocations: 10.65 MB / 0.8659 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/2.408, allocations: 84 kB / 0.866 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/2.408, allocations: 184 kB / 0.8662 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/2.412, allocations: 1 MB / 0.8671 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008189/2.42, allocations: 1.933 MB / 0.869 GB, free: 15.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/2.438, allocations: 10.98 MB / 0.8798 GB, free: 4.969 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009559/2.447, allocations: 459.2 kB / 0.8802 GB, free: 4.559 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/2.449, allocations: 0.5098 MB / 0.8807 GB, free: 4.059 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1040): * Single equations (assignments): 1033 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001802/2.451, allocations: 0.7846 MB / 0.8815 GB, free: 3.273 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/2.453, allocations: 0.6273 MB / 0.8821 GB, free: 2.645 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02168/2.474, allocations: 4.558 MB / 0.8865 GB, free: 14.87 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/2.474, allocations: 31.94 kB / 0.8865 GB, free: 14.84 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-05/2.475, allocations: 8 kB / 0.8866 GB, free: 14.83 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/2.475, allocations: 11.39 kB / 0.8866 GB, free: 14.83 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05402/2.529, allocations: 12.41 MB / 0.8987 GB, free: 4.777 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/2.529, allocations: 3.938 kB / 0.8987 GB, free: 4.773 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/2.531, allocations: 387.7 kB / 0.8991 GB, free: 4.457 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/2.534, allocations: 0.6567 MB / 0.8997 GB, free: 3.949 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/2.534, allocations: 45.92 kB / 0.8997 GB, free: 3.906 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/2.551, allocations: 9.874 MB / 0.9094 GB, free: 10.42 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.551, allocations: 4.031 kB / 0.9094 GB, free: 10.42 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/2.567, allocations: 7.902 MB / 0.9171 GB, free: 3.352 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/2.569, allocations: 0.6759 MB / 0.9178 GB, free: 2.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/2.571, allocations: 46.58 kB / 0.9178 GB, free: 2.637 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/2.573, allocations: 141.8 kB / 0.9179 GB, free: 2.539 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/2.574, allocations: 156.3 kB / 0.9181 GB, free: 2.438 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/2.574, allocations: 67.94 kB / 0.9182 GB, free: 2.375 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.4111/2.985, allocations: 4.858 MB / 0.9229 GB, free: 122.3 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.277e-06/2.985, allocations: 0 / 0.9229 GB, free: 122.3 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01082/2.996, allocations: 1.642 MB / 0.9245 GB, free: 122.3 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006475/2.997, allocations: 198.2 kB / 0.9247 GB, free: 122.2 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01383/3.011, allocations: 7.107 MB / 0.9316 GB, free: 121.7 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.462e-06/3.011, allocations: 3.594 kB / 0.9316 GB, free: 121.7 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.00434/3.015, allocations: 2.52 MB / 0.9341 GB, free: 121.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/3.021, allocations: 0.9097 MB / 0.935 GB, free: 121.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03004/3.051, allocations: 13.96 MB / 0.9486 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/3.061, allocations: 5.559 MB / 0.954 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/3.064, allocations: 460.8 kB / 0.9545 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of SimCode: time 1.789e-06/3.064, allocations: 0 / 0.9545 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of Templates: time 0.6343/3.698, allocations: 216.8 MB / 1.166 GB, free: 144.2 MB / 0.573 GB