Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 282.6 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.581e-05, allocations: 4 kB / 347 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.5798, allocations: 102.7 MB / 0.4997 GB, free: 3.879 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5801, allocations: 79.95 kB / 0.4997 GB, free: 3.801 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5418/1.122, allocations: 53.71 MB / 0.5522 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.122, allocations: 0 / 0.5522 GB, free: 88.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001232/1.122, allocations: 56 kB / 0.5523 GB, free: 88.88 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.009417/1.132, allocations: 2.518 MB / 0.5547 GB, free: 86.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.132, allocations: 12.03 kB / 0.5547 GB, free: 86.31 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001925/1.134, allocations: 0.5135 MB / 0.5552 GB, free: 85.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/1.147, allocations: 1.796 MB / 0.557 GB, free: 84.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/1.152, allocations: 1.673 MB / 0.5586 GB, free: 82.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/1.152, allocations: 211.1 kB / 0.5588 GB, free: 82.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/1.154, allocations: 266.4 kB / 0.5591 GB, free: 81.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/1.169, allocations: 6.239 MB / 0.5652 GB, free: 75.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.959e-05/1.17, allocations: 19.81 kB / 0.5652 GB, free: 75.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005632/1.17, allocations: 123.9 kB / 0.5653 GB, free: 75.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001139/1.171, allocations: 0.645 MB / 0.5659 GB, free: 74.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/1.186, allocations: 5.344 MB / 0.5711 GB, free: 69.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0384/1.225, allocations: 22.11 MB / 0.5927 GB, free: 46.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006474/1.231, allocations: 2.06 MB / 0.5948 GB, free: 44.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.232, allocations: 0.676 MB / 0.5954 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009075/1.242, allocations: 3.53 MB / 0.5989 GB, free: 39.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.242, allocations: 43 kB / 0.5989 GB, free: 39.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 5.24e-06/1.242, allocations: 0 / 0.5989 GB, free: 39.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.007904/1.25, allocations: 1.585 MB / 0.6004 GB, free: 38.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/1.25, allocations: 59.78 kB / 0.6005 GB, free: 38.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/1.253, allocations: 1.726 MB / 0.6022 GB, free: 36.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/1.253, allocations: 33.7 kB / 0.6022 GB, free: 36.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/1.254, allocations: 1.895 MB / 0.6041 GB, free: 34.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000388/1.255, allocations: 316 kB / 0.6044 GB, free: 34.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/1.255, allocations: 56 kB / 0.6044 GB, free: 34.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/1.255, allocations: 449.1 kB / 0.6049 GB, free: 33.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.257, allocations: 0.8296 MB / 0.6057 GB, free: 32.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/1.26, allocations: 2.668 MB / 0.6083 GB, free: 29.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/1.263, allocations: 1.527 MB / 0.6098 GB, free: 27.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.938e-05/1.263, allocations: 16 kB / 0.6098 GB, free: 27.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.008337/1.271, allocations: 3.183 MB / 0.6129 GB, free: 24.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/1.272, allocations: 33.56 kB / 0.6129 GB, free: 24.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.138e-05/1.272, allocations: 68 kB / 0.613 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/1.272, allocations: 96 kB / 0.6131 GB, free: 24.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/1.276, allocations: 0.655 MB / 0.6137 GB, free: 23.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/1.276, allocations: 135.5 kB / 0.6138 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.279, allocations: 408 kB / 0.6142 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004996/1.279, allocations: 184 kB / 0.6144 GB, free: 22.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (362): * Single equations (assignments): 359 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004815/1.28, allocations: 342.4 kB / 0.6147 GB, free: 22.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/1.28, allocations: 161.9 kB / 0.6149 GB, free: 22.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/1.281, allocations: 201.2 kB / 0.6151 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/1.281, allocations: 19.98 kB / 0.6151 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.281, allocations: 0 / 0.6151 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.281, allocations: 0 / 0.6151 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/1.29, allocations: 4.126 MB / 0.6191 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.291, allocations: 4.094 kB / 0.6191 GB, free: 17.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/1.291, allocations: 99.88 kB / 0.6192 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/1.291, allocations: 8 kB / 0.6192 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/1.291, allocations: 19.94 kB / 0.6193 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/1.291, allocations: 15.98 kB / 0.6193 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.291, allocations: 7.938 kB / 0.6193 GB, free: 17.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.294, allocations: 1.638 MB / 0.6209 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/1.294, allocations: 262.6 kB / 0.6211 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/1.294, allocations: 19.98 kB / 0.6211 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/1.295, allocations: 23.98 kB / 0.6212 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.295, allocations: 63.72 kB / 0.6212 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/1.296, allocations: 28 kB / 0.6213 GB, free: 15.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002528/1.298, allocations: 1.252 MB / 0.6225 GB, free: 14.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.298, allocations: 0 / 0.6225 GB, free: 14.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003601/1.302, allocations: 0.7154 MB / 0.6232 GB, free: 13.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/1.305, allocations: 3.775 MB / 0.6269 GB, free: 9.449 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004126/1.309, allocations: 1.869 MB / 0.6287 GB, free: 7.598 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.309, allocations: 2.375 kB / 0.6287 GB, free: 7.598 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008298/1.31, allocations: 450.5 kB / 0.6291 GB, free: 7.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.311, allocations: 236.5 kB / 0.6294 GB, free: 6.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.326, allocations: 5.302 MB / 0.6345 GB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003876/1.33, allocations: 2.375 MB / 0.6368 GB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/1.333, allocations: 1.077 MB / 0.6379 GB, free: 14.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/1.333, allocations: 4 kB / 0.6379 GB, free: 14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.383/4.716, allocations: 44.75 MB / 0.6816 GB, free: 1.277 MB / 490.7 MB