Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.858/1.858, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.416e-05/4.427e-05, allocations: 0 / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.5945, allocations: 95.16 MB / 417 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.5949, allocations: 87.94 kB / 417.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7691/1.364, allocations: 106.1 MB / 0.511 GB, free: 89.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.364, allocations: 0 / 0.511 GB, free: 89.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005503/1.365, allocations: 108.1 kB / 0.5111 GB, free: 89.48 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.02861/1.393, allocations: 5.257 MB / 0.5162 GB, free: 87.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/1.393, allocations: 9.25 kB / 0.5162 GB, free: 87.37 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005013/1.398, allocations: 0.927 MB / 0.5171 GB, free: 87.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0632/1.462, allocations: 6.904 MB / 0.5239 GB, free: 86.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/1.487, allocations: 6.86 MB / 0.5306 GB, free: 86.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005294/1.487, allocations: 403.4 kB / 0.531 GB, free: 86.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/1.49, allocations: 0.5224 MB / 0.5315 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03522/1.525, allocations: 12.22 MB / 0.5434 GB, free: 83.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004403/1.526, allocations: 70.81 kB / 0.5435 GB, free: 83.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002651/1.528, allocations: 258.3 kB / 0.5437 GB, free: 83.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002454/1.531, allocations: 1.127 MB / 0.5448 GB, free: 83.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/1.559, allocations: 9.596 MB / 0.5542 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08437/1.644, allocations: 56.55 MB / 0.6094 GB, free: 36.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.66, allocations: 4.095 MB / 0.6134 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004703/1.665, allocations: 2.252 MB / 0.6156 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02386/1.689, allocations: 9.497 MB / 0.6249 GB, free: 22.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/1.689, allocations: 55.16 kB / 0.625 GB, free: 22.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.282e-06/1.689, allocations: 0 / 0.625 GB, free: 22.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.07389/1.763, allocations: 15.81 MB / 0.6404 GB, free: 8.551 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/1.763, allocations: 209.2 kB / 0.6406 GB, free: 8.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.774, allocations: 4.182 MB / 0.6447 GB, free: 4.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005222/1.774, allocations: 61.45 kB / 0.6447 GB, free: 4.062 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003176/1.777, allocations: 3.616 MB / 0.6483 GB, free: 460 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.779, allocations: 0.8098 MB / 0.6491 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009017/1.78, allocations: 124 kB / 0.6492 GB, free: 15.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006603/1.78, allocations: 0.5875 MB / 0.6498 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006389/1.787, allocations: 2.164 MB / 0.6519 GB, free: 12.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.797, allocations: 6.043 MB / 0.6578 GB, free: 4.754 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009398/1.807, allocations: 3.613 MB / 0.6613 GB, free: 1.141 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/1.807, allocations: 40 kB / 0.6613 GB, free: 1.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.3301/2.137, allocations: 8.166 MB / 0.6693 GB, free: 94.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/2.137, allocations: 65.59 kB / 0.6694 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003408/2.138, allocations: 139.4 kB / 0.6695 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00524/2.143, allocations: 0.9171 MB / 0.6704 GB, free: 94.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/2.153, allocations: 1.492 MB / 0.6719 GB, free: 94.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/2.169, allocations: 7.222 MB / 0.6789 GB, free: 91.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007824/2.176, allocations: 355.5 kB / 0.6792 GB, free: 91.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.178, allocations: 399.6 kB / 0.6796 GB, free: 91.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 783 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002316/2.181, allocations: 0.6114 MB / 0.6802 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/2.182, allocations: 427.3 kB / 0.6806 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/2.193, allocations: 3.458 MB / 0.684 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-05/2.193, allocations: 26.28 kB / 0.684 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/2.193, allocations: 3.781 kB / 0.684 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/2.193, allocations: 17.41 kB / 0.6841 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02942/2.223, allocations: 9.046 MB / 0.6929 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/2.223, allocations: 0 / 0.6929 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/2.226, allocations: 336.6 kB / 0.6932 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/2.23, allocations: 0.6894 MB / 0.6939 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005143/2.231, allocations: 45.36 kB / 0.6939 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/2.243, allocations: 6.536 MB / 0.7003 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/2.243, allocations: 6.75 kB / 0.7003 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/2.257, allocations: 6.142 MB / 0.7063 GB, free: 85.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/2.26, allocations: 0.735 MB / 0.707 GB, free: 84.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/2.262, allocations: 36.31 kB / 0.7071 GB, free: 84.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003978/2.266, allocations: 111.3 kB / 0.7072 GB, free: 84.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008218/2.267, allocations: 130.2 kB / 0.7073 GB, free: 84.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/2.267, allocations: 55.11 kB / 0.7074 GB, free: 84.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007883/2.275, allocations: 2.957 MB / 0.7102 GB, free: 83.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.252e-06/2.275, allocations: 6.625 kB / 0.7102 GB, free: 83.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008673/2.284, allocations: 1.179 MB / 0.7114 GB, free: 83.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 158 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/2.3, allocations: 6.939 MB / 0.7182 GB, free: 80.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/2.313, allocations: 5.351 MB / 0.7234 GB, free: 78.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/2.313, allocations: 0 / 0.7234 GB, free: 78.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004768/2.318, allocations: 1.883 MB / 0.7252 GB, free: 77.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/2.322, allocations: 0.523 MB / 0.7257 GB, free: 77.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/2.359, allocations: 11.58 MB / 0.7371 GB, free: 72.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009267/2.369, allocations: 4.103 MB / 0.7411 GB, free: 71.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005843/2.375, allocations: 2.504 MB / 0.7435 GB, free: 68.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/2.375, allocations: 0 / 0.7435 GB, free: 68.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.9/7.275, allocations: 143 MB / 0.8831 GB, free: 95.68 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat