Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.476e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5589, allocations: 97.16 MB / 419 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5592, allocations: 71.97 kB / 419.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9749/1.534, allocations: 148.5 MB / 0.5543 GB, free: 87.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.546e-06/1.534, allocations: 4 kB / 0.5543 GB, free: 87.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004963/1.535, allocations: 154.9 kB / 0.5544 GB, free: 87.56 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03136/1.566, allocations: 7.376 MB / 0.5616 GB, free: 84.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.566, allocations: 6.969 kB / 0.5616 GB, free: 84.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006872/1.573, allocations: 1.373 MB / 0.563 GB, free: 83.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05469/1.628, allocations: 7.319 MB / 0.5701 GB, free: 81.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02853/1.656, allocations: 7.885 MB / 0.5778 GB, free: 77.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006626/1.657, allocations: 0.5769 MB / 0.5784 GB, free: 77.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004186/1.661, allocations: 0.7758 MB / 0.5792 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05746/1.719, allocations: 18.83 MB / 0.5975 GB, free: 57.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005601/1.719, allocations: 91.12 kB / 0.5976 GB, free: 57.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003817/1.723, allocations: 371.4 kB / 0.598 GB, free: 56.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004135/1.727, allocations: 1.828 MB / 0.5998 GB, free: 55.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04889/1.776, allocations: 15.35 MB / 0.6148 GB, free: 39.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4844/2.261, allocations: 81.68 MB / 0.6945 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0394/2.3, allocations: 8.662 MB / 0.703 GB, free: 26.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009617/2.31, allocations: 4.611 MB / 0.7075 GB, free: 26.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/2.342, allocations: 11.71 MB / 0.7189 GB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/2.342, allocations: 69.61 kB / 0.719 GB, free: 24.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=347): time 8.456e-06/2.342, allocations: 0 / 0.719 GB, free: 24.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=389): time 0.1471/2.489, allocations: 31.5 MB / 0.7498 GB, free: 14.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/2.489, allocations: 244.2 kB / 0.75 GB, free: 13.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01749/2.507, allocations: 6.493 MB / 0.7563 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001123/2.508, allocations: 87.52 kB / 0.7564 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004714/2.513, allocations: 5 MB / 0.7613 GB, free: 7.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002616/2.515, allocations: 1.451 MB / 0.7627 GB, free: 6.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/2.517, allocations: 196.6 kB / 0.7629 GB, free: 6.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008395/2.518, allocations: 0.7323 MB / 0.7636 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01505/2.533, allocations: 4.021 MB / 0.7675 GB, free: 4.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0244/2.557, allocations: 9.589 MB / 0.7769 GB, free: 11.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/2.577, allocations: 6.153 MB / 0.7829 GB, free: 7.098 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/2.577, allocations: 56 kB / 0.783 GB, free: 7.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.05045/2.627, allocations: 14.92 MB / 0.7975 GB, free: 11.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/2.628, allocations: 88 kB / 0.7976 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003947/2.628, allocations: 196 kB / 0.7978 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007927/2.636, allocations: 1.714 MB / 0.7995 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01768/2.654, allocations: 2.427 MB / 0.8018 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/2.68, allocations: 11.41 MB / 0.813 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.693, allocations: 0.5821 MB / 0.8136 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002865/2.696, allocations: 0.5729 MB / 0.8141 GB, free: 12.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1225): * Single equations (assignments): 1220 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004599/2.7, allocations: 0.8631 MB / 0.815 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002572/2.703, allocations: 0.6432 MB / 0.8156 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/2.736, allocations: 8.138 MB / 0.8235 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001392/2.736, allocations: 40 kB / 0.8236 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-05/2.736, allocations: 11.94 kB / 0.8236 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001381/2.737, allocations: 19.88 kB / 0.8236 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4301/3.167, allocations: 18.19 MB / 0.8414 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.078e-05/3.167, allocations: 7.781 kB / 0.8414 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008292/3.175, allocations: 0.7623 MB / 0.8421 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006997/3.182, allocations: 1.43 MB / 0.8435 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/3.184, allocations: 76.31 kB / 0.8436 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/3.207, allocations: 10.59 MB / 0.8539 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/3.207, allocations: 10.44 kB / 0.8539 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03364/3.241, allocations: 14.37 MB / 0.868 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005843/3.247, allocations: 1.317 MB / 0.8693 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0026/3.249, allocations: 72.95 kB / 0.8693 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007212/3.257, allocations: 258.1 kB / 0.8696 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/3.258, allocations: 244.1 kB / 0.8698 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004769/3.259, allocations: 103 kB / 0.8699 GB, free: 107.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01292/3.272, allocations: 4.652 MB / 0.8744 GB, free: 105.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.41e-07/3.272, allocations: 0.9375 kB / 0.8744 GB, free: 105.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01342/3.285, allocations: 1.876 MB / 0.8763 GB, free: 105.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03507/3.32, allocations: 16.09 MB / 0.892 GB, free: 97.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02295/3.343, allocations: 9.946 MB / 0.9017 GB, free: 93.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/3.343, allocations: 3.906 kB / 0.9017 GB, free: 93.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01063/3.354, allocations: 3.969 MB / 0.9056 GB, free: 92.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/3.361, allocations: 0.7848 MB / 0.9064 GB, free: 92.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06858/3.43, allocations: 18.54 MB / 0.9245 GB, free: 76.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01784/3.448, allocations: 5.628 MB / 0.93 GB, free: 72.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01309/3.461, allocations: 3.758 MB / 0.9336 GB, free: 68.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.944e-06/3.461, allocations: 0 / 0.9336 GB, free: 68.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.886/9.347, allocations: 214.1 MB / 1.143 GB, free: 13.23 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat