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 1.998/1.998, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.474e-05/4.48e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5331, allocations: 94.61 MB / 416.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5334, allocations: 71.97 kB / 416.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8262/1.36, allocations: 128.7 MB / 0.5324 GB, free: 89.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.36, allocations: 4 kB / 0.5324 GB, free: 89.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004354/1.36, allocations: 127.7 kB / 0.5325 GB, free: 89.14 MB / 426.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.02781/1.388, allocations: 6.552 MB / 0.5389 GB, free: 86.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.388, allocations: 7.625 kB / 0.5389 GB, free: 86.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005706/1.394, allocations: 1.165 MB / 0.5401 GB, free: 86.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05184/1.446, allocations: 7.116 MB / 0.547 GB, free: 86.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/1.472, allocations: 7.366 MB / 0.5542 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006594/1.473, allocations: 497.4 kB / 0.5547 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00393/1.477, allocations: 0.647 MB / 0.5553 GB, free: 84.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05144/1.529, allocations: 16.09 MB / 0.571 GB, free: 76.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004595/1.529, allocations: 83.94 kB / 0.5711 GB, free: 76.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00325/1.532, allocations: 316.3 kB / 0.5714 GB, free: 76.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/1.536, allocations: 1.543 MB / 0.5729 GB, free: 76.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05427/1.59, allocations: 12.88 MB / 0.5855 GB, free: 67.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/1.707, allocations: 72.46 MB / 0.6563 GB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03471/1.742, allocations: 7.392 MB / 0.6635 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3491/2.091, allocations: 3.815 MB / 0.6672 GB, free: 96.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02748/2.118, allocations: 9.663 MB / 0.6766 GB, free: 95.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/2.118, allocations: 71.06 kB / 0.6767 GB, free: 95.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 6.873e-06/2.118, allocations: 0 / 0.6767 GB, free: 95.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.129/2.247, allocations: 27.63 MB / 0.7037 GB, free: 90.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/2.248, allocations: 248 kB / 0.7039 GB, free: 90.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01686/2.264, allocations: 6.011 MB / 0.7098 GB, free: 88.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009112/2.265, allocations: 74.95 kB / 0.7099 GB, free: 88.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004241/2.27, allocations: 4.443 MB / 0.7142 GB, free: 85.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002079/2.272, allocations: 1.186 MB / 0.7154 GB, free: 84.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/2.273, allocations: 178.8 kB / 0.7155 GB, free: 84.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007059/2.274, allocations: 0.6821 MB / 0.7162 GB, free: 83.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009127/2.283, allocations: 3.482 MB / 0.7196 GB, free: 82.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/2.296, allocations: 8.55 MB / 0.728 GB, free: 74.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/2.308, allocations: 5.418 MB / 0.7332 GB, free: 72.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002118/2.308, allocations: 52.06 kB / 0.7333 GB, free: 72.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.0359/2.344, allocations: 12.61 MB / 0.7456 GB, free: 69.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/2.344, allocations: 81.5 kB / 0.7457 GB, free: 69.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00029/2.345, allocations: 178.9 kB / 0.7459 GB, free: 69.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007064/2.352, allocations: 1.677 MB / 0.7475 GB, free: 68.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/2.365, allocations: 2.109 MB / 0.7496 GB, free: 68.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/2.386, allocations: 11.22 MB / 0.7605 GB, free: 58.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/2.397, allocations: 0.5211 MB / 0.761 GB, free: 58.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/2.4, allocations: 0.5258 MB / 0.7615 GB, free: 58.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * 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 (1084): * Single equations (assignments): 1079 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003786/2.403, allocations: 0.7818 MB / 0.7623 GB, free: 57.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001853/2.405, allocations: 0.5894 MB / 0.7629 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/2.426, allocations: 6.732 MB / 0.7695 GB, free: 51.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.303e-05/2.426, allocations: 36 kB / 0.7695 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/2.426, allocations: 8 kB / 0.7695 GB, free: 51.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.791e-05/2.426, allocations: 13.31 kB / 0.7695 GB, free: 51.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05202/2.478, allocations: 15.13 MB / 0.7843 GB, free: 38.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.151e-05/2.478, allocations: 5.375 kB / 0.7843 GB, free: 38.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007994/2.486, allocations: 0.5929 MB / 0.7849 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008947/2.495, allocations: 1.398 MB / 0.7862 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.496, allocations: 54.81 kB / 0.7863 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02894/2.525, allocations: 10.43 MB / 0.7965 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/2.525, allocations: 7.953 kB / 0.7965 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02876/2.554, allocations: 11.81 MB / 0.808 GB, free: 17.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004658/2.559, allocations: 1.161 MB / 0.8091 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/2.561, allocations: 53.17 kB / 0.8092 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006076/2.567, allocations: 215.7 kB / 0.8094 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/2.568, allocations: 189.9 kB / 0.8096 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004364/2.569, allocations: 89.25 kB / 0.8097 GB, free: 15.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01224/2.581, allocations: 4.291 MB / 0.8139 GB, free: 11.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.581, allocations: 0 / 0.8139 GB, free: 11.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01175/2.593, allocations: 1.635 MB / 0.8155 GB, free: 9.703 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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.3536/2.947, allocations: 13.19 MB / 0.8283 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02294/2.97, allocations: 8.334 MB / 0.8365 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/2.97, allocations: 1.312 kB / 0.8365 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01062/2.98, allocations: 3.367 MB / 0.8398 GB, free: 99.81 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006819/2.987, allocations: 0.6937 MB / 0.8404 GB, free: 99.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05458/3.042, allocations: 15.92 MB / 0.856 GB, free: 97.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/3.053, allocations: 4.925 MB / 0.8608 GB, free: 96.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00962/3.063, allocations: 3.219 MB / 0.8639 GB, free: 94.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.432e-06/3.063, allocations: 0 / 0.8639 GB, free: 94.47 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.829/8.891, allocations: 183.9 MB / 1.044 GB, free: 98.5 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