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.864/1.864, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.528e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5427/0.645, allocations: 95.16 MB / 417 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.6454, allocations: 86.97 kB / 417.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7886/1.434, allocations: 106.1 MB / 0.511 GB, free: 89.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.195e-06/1.434, allocations: 0 / 0.511 GB, free: 89.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004625/1.435, allocations: 108.7 kB / 0.5111 GB, free: 89.87 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.02336/1.458, allocations: 5.259 MB / 0.5162 GB, free: 87.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.458, allocations: 12.94 kB / 0.5162 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004639/1.463, allocations: 0.9289 MB / 0.5171 GB, free: 87.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05173/1.514, allocations: 6.894 MB / 0.5238 GB, free: 87.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/1.54, allocations: 6.866 MB / 0.5305 GB, free: 86.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005118/1.541, allocations: 401.4 kB / 0.5309 GB, free: 86.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/1.543, allocations: 0.531 MB / 0.5315 GB, free: 86.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/1.58, allocations: 12.28 MB / 0.5434 GB, free: 83.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004058/1.58, allocations: 77.28 kB / 0.5435 GB, free: 83.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002462/1.582, allocations: 252.5 kB / 0.5438 GB, free: 83.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002695/1.585, allocations: 1.133 MB / 0.5449 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03996/1.625, allocations: 9.799 MB / 0.5544 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09464/1.72, allocations: 56.56 MB / 0.6097 GB, free: 36.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/1.736, allocations: 4.105 MB / 0.6137 GB, free: 32.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/1.741, allocations: 2.249 MB / 0.6159 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02463/1.766, allocations: 9.503 MB / 0.6251 GB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.766, allocations: 59.81 kB / 0.6252 GB, free: 22.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 5.831e-06/1.766, allocations: 4 kB / 0.6252 GB, free: 22.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.09489/1.861, allocations: 15.82 MB / 0.6407 GB, free: 8.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/1.861, allocations: 205.2 kB / 0.6409 GB, free: 8.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.871, allocations: 4.184 MB / 0.6449 GB, free: 4.055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005189/1.871, allocations: 53.7 kB / 0.645 GB, free: 3.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003174/1.875, allocations: 3.623 MB / 0.6485 GB, free: 384 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.876, allocations: 0.8054 MB / 0.6493 GB, free: 15.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009249/1.877, allocations: 128 kB / 0.6494 GB, free: 15.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006868/1.878, allocations: 0.5797 MB / 0.65 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00672/1.885, allocations: 2.164 MB / 0.6521 GB, free: 12.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.896, allocations: 6.083 MB / 0.6581 GB, free: 4.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009666/1.905, allocations: 3.618 MB / 0.6616 GB, free: 1.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/1.905, allocations: 40 kB / 0.6616 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.341/2.246, allocations: 8.551 MB / 0.67 GB, free: 94.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/2.247, allocations: 64.66 kB / 0.67 GB, free: 94.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003853/2.247, allocations: 141.2 kB / 0.6702 GB, free: 94.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/2.252, allocations: 0.9218 MB / 0.6711 GB, free: 94.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/2.263, allocations: 1.492 MB / 0.6725 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/2.278, allocations: 7.219 MB / 0.6796 GB, free: 91.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/2.286, allocations: 353.2 kB / 0.6799 GB, free: 91.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.288, allocations: 393.6 kB / 0.6803 GB, free: 91.88 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.002501/2.29, allocations: 0.6108 MB / 0.6809 GB, free: 91.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/2.291, allocations: 430.3 kB / 0.6813 GB, free: 91.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/2.302, allocations: 3.467 MB / 0.6847 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.095e-05/2.303, allocations: 22.25 kB / 0.6847 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/2.303, allocations: 7.094 kB / 0.6847 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-05/2.303, allocations: 11.44 kB / 0.6847 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/2.331, allocations: 9.052 MB / 0.6936 GB, free: 90.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.489e-05/2.332, allocations: 0 / 0.6936 GB, free: 90.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/2.335, allocations: 335.2 kB / 0.6939 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003981/2.339, allocations: 0.6942 MB / 0.6946 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004931/2.34, allocations: 38.84 kB / 0.6946 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/2.352, allocations: 6.55 MB / 0.701 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.352, allocations: 3.594 kB / 0.701 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/2.367, allocations: 6.138 MB / 0.707 GB, free: 84.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/2.37, allocations: 0.7328 MB / 0.7077 GB, free: 84.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/2.371, allocations: 31.44 kB / 0.7077 GB, free: 84.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/2.375, allocations: 111.4 kB / 0.7078 GB, free: 84.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008036/2.376, allocations: 130.4 kB / 0.708 GB, free: 84.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/2.377, allocations: 61.88 kB / 0.708 GB, free: 84.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008163/2.385, allocations: 2.959 MB / 0.7109 GB, free: 83.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.523e-06/2.385, allocations: 0 / 0.7109 GB, free: 83.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008599/2.393, allocations: 1.17 MB / 0.7121 GB, free: 83.28 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.01627/2.41, allocations: 6.947 MB / 0.7188 GB, free: 79.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01418/2.424, allocations: 5.553 MB / 0.7243 GB, free: 77.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/2.424, allocations: 0 / 0.7243 GB, free: 77.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005182/2.429, allocations: 1.916 MB / 0.7261 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/2.434, allocations: 0.5292 MB / 0.7267 GB, free: 76.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/2.472, allocations: 11.59 MB / 0.738 GB, free: 72.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009117/2.481, allocations: 4.102 MB / 0.742 GB, free: 70.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005778/2.487, allocations: 2.505 MB / 0.7444 GB, free: 68.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/2.487, allocations: 2.516 kB / 0.7444 GB, free: 68.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.178/7.664, allocations: 144.1 MB / 0.8852 GB, free: 94.89 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