Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.983e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5522, allocations: 94.2 MB / 410.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.5526, allocations: 77.58 kB / 410.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.804/1.357, allocations: 125.7 MB / 0.5237 GB, free: 83.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.357, allocations: 3.938 kB / 0.5237 GB, free: 83.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004684/1.357, allocations: 132.5 kB / 0.5238 GB, free: 83.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02797/1.385, allocations: 6.548 MB / 0.5302 GB, free: 81.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.385, allocations: 11.09 kB / 0.5302 GB, free: 81.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05246/1.438, allocations: 7.114 MB / 0.5372 GB, free: 80.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02708/1.465, allocations: 7.372 MB / 0.5444 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/1.465, allocations: 211.8 kB / 0.5446 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/1.469, allocations: 384.6 kB / 0.5449 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02382/1.493, allocations: 9.145 MB / 0.5539 GB, free: 74.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03761/1.531, allocations: 14.08 MB / 0.5676 GB, free: 60.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005334/1.531, allocations: 95.06 kB / 0.5677 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003507/1.535, allocations: 44 kB / 0.5678 GB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003465/1.539, allocations: 1.551 MB / 0.5693 GB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/1.648, allocations: 69.04 MB / 0.6367 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3146/1.962, allocations: 5.336 MB / 0.6419 GB, free: 91.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007515/1.97, allocations: 3.645 MB / 0.6455 GB, free: 91.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/1.971, allocations: 386.4 kB / 0.6458 GB, free: 91.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/1.971, allocations: 61.47 kB / 0.6459 GB, free: 91.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=272): time 7.995e-06/1.971, allocations: 0 / 0.6459 GB, free: 91.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=316): time 0.0989/2.07, allocations: 28.91 MB / 0.6741 GB, free: 85.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/2.07, allocations: 240.6 kB / 0.6743 GB, free: 85.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009522/2.079, allocations: 4.664 MB / 0.6789 GB, free: 83.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009787/2.081, allocations: 25.7 kB / 0.6789 GB, free: 83.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00394/2.084, allocations: 4.647 MB / 0.6835 GB, free: 80.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002003/2.087, allocations: 1.153 MB / 0.6846 GB, free: 79.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/2.088, allocations: 5.656 kB / 0.6846 GB, free: 79.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006585/2.088, allocations: 0.6916 MB / 0.6853 GB, free: 78.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008118/2.097, allocations: 3.393 MB / 0.6886 GB, free: 77.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/2.109, allocations: 8.645 MB / 0.697 GB, free: 69.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/2.122, allocations: 5.356 MB / 0.7023 GB, free: 67.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/2.122, allocations: 53.12 kB / 0.7023 GB, free: 67.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03453/2.156, allocations: 12.21 MB / 0.7142 GB, free: 63.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/2.157, allocations: 88.22 kB / 0.7143 GB, free: 63.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000275/2.157, allocations: 183.7 kB / 0.7145 GB, free: 63.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006955/2.164, allocations: 1.698 MB / 0.7162 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/2.178, allocations: 2.18 MB / 0.7183 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/2.2, allocations: 10.61 MB / 0.7286 GB, free: 53.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/2.216, allocations: 369 kB / 0.729 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002793/2.219, allocations: 0.5429 MB / 0.7295 GB, free: 53.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1122): * Single equations (assignments): 1117 * 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 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003151/2.222, allocations: 0.579 MB / 0.7301 GB, free: 52.43 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02508/2.247, allocations: 6.495 MB / 0.7364 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00247/2.25, allocations: 0.4936 MB / 0.7369 GB, free: 46.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/2.275, allocations: 6.535 MB / 0.7433 GB, free: 41.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/2.275, allocations: 40 kB / 0.7433 GB, free: 41.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-05/2.275, allocations: 8 kB / 0.7433 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.521e-05/2.276, allocations: 16.83 kB / 0.7434 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04031/2.316, allocations: 13.77 MB / 0.7568 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-05/2.316, allocations: 0 / 0.7568 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005714/2.322, allocations: 0.5677 MB / 0.7574 GB, free: 29.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006263/2.328, allocations: 1.388 MB / 0.7587 GB, free: 28.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008934/2.329, allocations: 11.42 kB / 0.7587 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/2.348, allocations: 9.771 MB / 0.7683 GB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/2.348, allocations: 7.938 kB / 0.7683 GB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02472/2.372, allocations: 11.01 MB / 0.779 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003919/2.376, allocations: 1.033 MB / 0.78 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/2.378, allocations: 7.984 kB / 0.78 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005433/2.384, allocations: 175.7 kB / 0.7802 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/2.385, allocations: 182.3 kB / 0.7804 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003599/2.385, allocations: 81.31 kB / 0.7805 GB, free: 8.133 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008011/2.393, allocations: 3.142 MB / 0.7835 GB, free: 5.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.394, allocations: 4 kB / 0.7835 GB, free: 5.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0116/2.405, allocations: 1.399 MB / 0.7849 GB, free: 3.617 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03141/2.437, allocations: 12.13 MB / 0.7968 GB, free: 7.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3792/2.816, allocations: 8.544 MB / 0.8051 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.816, allocations: 0.7812 kB / 0.8051 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01022/2.826, allocations: 3.337 MB / 0.8084 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005773/2.832, allocations: 0.5208 MB / 0.8089 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05475/2.887, allocations: 15.45 MB / 0.824 GB, free: 98.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/2.899, allocations: 4.942 MB / 0.8288 GB, free: 97.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008356/2.907, allocations: 3.155 MB / 0.8319 GB, free: 96.45 MB / 442.7 MB Notification: Performance of SimCode: time 3.206e-06/2.907, allocations: 0 / 0.8319 GB, free: 96.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.374/8.281, allocations: 179.3 MB / 1.007 GB, free: 108.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat