Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.861e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3979, allocations: 61.87 MB / 408.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.6201, allocations: 108.1 MB / 0.5049 GB, free: 14.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.6205, allocations: 79.95 kB / 0.5049 GB, free: 14.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7758/1.396, allocations: 108.1 MB / 0.6105 GB, free: 29.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.396, allocations: 0 / 0.6105 GB, free: 29.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000358/1.397, allocations: 104 kB / 0.6106 GB, free: 29.45 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01971/1.416, allocations: 5.148 MB / 0.6156 GB, free: 24.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.417, allocations: 12.03 kB / 0.6156 GB, free: 24.22 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003715/1.42, allocations: 0.8982 MB / 0.6165 GB, free: 23.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04947/1.47, allocations: 6.88 MB / 0.6232 GB, free: 16.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02286/1.493, allocations: 6.376 MB / 0.6294 GB, free: 9.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/1.493, allocations: 378 kB / 0.6298 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/1.496, allocations: 0.4998 MB / 0.6303 GB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03707/1.533, allocations: 12.26 MB / 0.6423 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003777/1.534, allocations: 87.19 kB / 0.6423 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/1.536, allocations: 243.9 kB / 0.6426 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002944/1.539, allocations: 1.129 MB / 0.6437 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/1.573, allocations: 9.45 MB / 0.6529 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09609/1.669, allocations: 56.32 MB / 0.7079 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02247/1.692, allocations: 4.309 MB / 0.7121 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004706/1.696, allocations: 1.948 MB / 0.714 GB, free: 188 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3982/2.095, allocations: 6.205 MB / 0.7201 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/2.095, allocations: 60.52 kB / 0.7201 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 5.741e-06/2.095, allocations: 0 / 0.7201 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.1134/2.208, allocations: 12.08 MB / 0.7319 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/2.208, allocations: 205.6 kB / 0.7321 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/2.222, allocations: 4.949 MB / 0.737 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004184/2.222, allocations: 49.77 kB / 0.737 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003553/2.226, allocations: 3.671 MB / 0.7406 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/2.227, allocations: 0.6676 MB / 0.7412 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008491/2.228, allocations: 134.7 kB / 0.7414 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005956/2.228, allocations: 0.5868 MB / 0.7419 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005724/2.234, allocations: 1.956 MB / 0.7439 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008198/2.242, allocations: 6.19 MB / 0.7499 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007915/2.25, allocations: 3.479 MB / 0.7533 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001998/2.251, allocations: 43.19 kB / 0.7533 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02169/2.272, allocations: 7.668 MB / 0.7608 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/2.272, allocations: 69.78 kB / 0.7609 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002539/2.273, allocations: 157 kB / 0.761 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/2.275, allocations: 0.5881 MB / 0.7616 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009185/2.284, allocations: 1.5 MB / 0.7631 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008965/2.293, allocations: 5.595 MB / 0.7685 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007701/2.301, allocations: 342.8 kB / 0.7689 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/2.303, allocations: 419.6 kB / 0.7693 GB, free: 102.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (815): * Single equations (assignments): 810 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002221/2.305, allocations: 0.6278 MB / 0.7699 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/2.306, allocations: 464.8 kB / 0.7703 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006896/2.313, allocations: 2.45 MB / 0.7727 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-05/2.313, allocations: 21.72 kB / 0.7727 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/2.313, allocations: 7.375 kB / 0.7727 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/2.313, allocations: 10.67 kB / 0.7728 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/2.334, allocations: 7.158 MB / 0.7797 GB, free: 98.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/2.334, allocations: 0 / 0.7797 GB, free: 98.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/2.337, allocations: 231.1 kB / 0.78 GB, free: 98.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/2.338, allocations: 336.5 kB / 0.7803 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/2.338, allocations: 31.09 kB / 0.7803 GB, free: 98.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007188/2.346, allocations: 4.943 MB / 0.7851 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/2.346, allocations: 0 / 0.7851 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009821/2.356, allocations: 5.069 MB / 0.7901 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/2.357, allocations: 0.5274 MB / 0.7906 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/2.359, allocations: 24 kB / 0.7906 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/2.362, allocations: 70.28 kB / 0.7907 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/2.362, allocations: 103.2 kB / 0.7908 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/2.362, allocations: 47.45 kB / 0.7908 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008801/2.371, allocations: 3.537 MB / 0.7943 GB, free: 88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.162e-06/2.371, allocations: 0 / 0.7943 GB, free: 88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008173/2.379, allocations: 1.112 MB / 0.7954 GB, free: 86.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.01067/2.39, allocations: 6.225 MB / 0.8015 GB, free: 81.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01089/2.401, allocations: 4.719 MB / 0.8061 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/2.401, allocations: 0 / 0.8061 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/2.404, allocations: 1.374 MB / 0.8074 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/2.409, allocations: 0.5912 MB / 0.808 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/2.444, allocations: 10.97 MB / 0.8187 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008726/2.452, allocations: 3.965 MB / 0.8226 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005501/2.458, allocations: 2.452 MB / 0.825 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/2.458, allocations: 0 / 0.825 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.352/7.81, allocations: 139.4 MB / 0.9611 GB, free: 135.3 MB / 0.5417 GB