Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.559/2.559, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.185e-05, allocations: 7.984 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3945, allocations: 54.86 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.5918, allocations: 102.4 MB / 462.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.5922, allocations: 79.95 kB / 462.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7757/1.368, allocations: 106.1 MB / 0.5552 GB, free: 100.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.368, allocations: 0 / 0.5552 GB, free: 100.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004252/1.368, allocations: 106.7 kB / 0.5553 GB, free: 100.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.0225/1.391, allocations: 5.253 MB / 0.5604 GB, free: 98.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.391, allocations: 10.28 kB / 0.5604 GB, free: 98.55 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004503/1.396, allocations: 0.9223 MB / 0.5613 GB, free: 98.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0505/1.446, allocations: 6.904 MB / 0.5681 GB, free: 98.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/1.471, allocations: 6.863 MB / 0.5748 GB, free: 97.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005035/1.471, allocations: 404.1 kB / 0.5752 GB, free: 96.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002828/1.474, allocations: 0.5273 MB / 0.5757 GB, free: 96.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/1.51, allocations: 12.23 MB / 0.5876 GB, free: 90.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003964/1.51, allocations: 75.41 kB / 0.5877 GB, free: 90.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/1.513, allocations: 261.6 kB / 0.5879 GB, free: 89.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/1.515, allocations: 1.124 MB / 0.589 GB, free: 89.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02859/1.544, allocations: 9.595 MB / 0.5984 GB, free: 85.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08133/1.625, allocations: 56.62 MB / 0.6537 GB, free: 29.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/1.642, allocations: 4.092 MB / 0.6577 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/1.646, allocations: 2.257 MB / 0.6599 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0242/1.671, allocations: 9.489 MB / 0.6692 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/1.671, allocations: 63.77 kB / 0.6692 GB, free: 13.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 5.881e-06/1.671, allocations: 4 kB / 0.6692 GB, free: 13.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.07478/1.745, allocations: 15.81 MB / 0.6847 GB, free: 13.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.746, allocations: 205.2 kB / 0.6849 GB, free: 13.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/1.758, allocations: 4.187 MB / 0.6889 GB, free: 8.918 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006079/1.759, allocations: 61.7 kB / 0.689 GB, free: 8.852 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004569/1.763, allocations: 3.621 MB / 0.6925 GB, free: 5.234 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001567/1.765, allocations: 0.8065 MB / 0.6933 GB, free: 4.434 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000871/1.766, allocations: 128 kB / 0.6935 GB, free: 4.309 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006676/1.766, allocations: 0.5875 MB / 0.694 GB, free: 3.711 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006502/1.773, allocations: 2.164 MB / 0.6961 GB, free: 1.543 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3705/2.143, allocations: 6.041 MB / 0.702 GB, free: 101.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009822/2.153, allocations: 3.61 MB / 0.7056 GB, free: 101.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000314/2.154, allocations: 40.86 kB / 0.7056 GB, free: 101.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02725/2.181, allocations: 8.18 MB / 0.7136 GB, free: 100.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/2.181, allocations: 64.56 kB / 0.7137 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/2.182, allocations: 138.8 kB / 0.7138 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005196/2.187, allocations: 0.9179 MB / 0.7147 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/2.197, allocations: 1.498 MB / 0.7161 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/2.212, allocations: 7.237 MB / 0.7232 GB, free: 97.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008033/2.22, allocations: 356.7 kB / 0.7236 GB, free: 97.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/2.222, allocations: 394.7 kB / 0.7239 GB, free: 97.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * 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 (789): * Single equations (assignments): 784 * 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.002734/2.225, allocations: 0.614 MB / 0.7245 GB, free: 97.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/2.226, allocations: 425.2 kB / 0.7249 GB, free: 97.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/2.237, allocations: 3.454 MB / 0.7283 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/2.237, allocations: 25.31 kB / 0.7283 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/2.237, allocations: 7.719 kB / 0.7283 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-05/2.237, allocations: 11.2 kB / 0.7283 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02714/2.264, allocations: 9.051 MB / 0.7372 GB, free: 93.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/2.264, allocations: 0 / 0.7372 GB, free: 93.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/2.268, allocations: 340.6 kB / 0.7375 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003837/2.272, allocations: 0.6838 MB / 0.7382 GB, free: 93.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000469/2.272, allocations: 34.72 kB / 0.7382 GB, free: 93.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/2.284, allocations: 6.54 MB / 0.7446 GB, free: 89.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/2.284, allocations: 3.906 kB / 0.7446 GB, free: 89.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/2.299, allocations: 6.135 MB / 0.7506 GB, free: 87.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002992/2.302, allocations: 0.7387 MB / 0.7513 GB, free: 86.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/2.303, allocations: 31.03 kB / 0.7513 GB, free: 86.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003961/2.307, allocations: 113.2 kB / 0.7515 GB, free: 86.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007917/2.308, allocations: 130.5 kB / 0.7516 GB, free: 86.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/2.309, allocations: 55.58 kB / 0.7516 GB, free: 86.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008271/2.317, allocations: 2.947 MB / 0.7545 GB, free: 85.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.12e-07/2.317, allocations: 0 / 0.7545 GB, free: 85.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01007/2.327, allocations: 1.175 MB / 0.7557 GB, free: 85.52 MB / 474.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.343, allocations: 6.944 MB / 0.7624 GB, free: 82.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01358/2.357, allocations: 5.348 MB / 0.7677 GB, free: 80.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.357, allocations: 0 / 0.7677 GB, free: 80.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004943/2.362, allocations: 1.884 MB / 0.7695 GB, free: 79.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/2.366, allocations: 0.5301 MB / 0.77 GB, free: 79.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/2.406, allocations: 11.56 MB / 0.7813 GB, free: 72.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009024/2.415, allocations: 4.107 MB / 0.7853 GB, free: 69.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005696/2.42, allocations: 2.503 MB / 0.7878 GB, free: 67.51 MB / 474.7 MB Notification: Performance of SimCode: time 3.366e-06/2.42, allocations: 0 / 0.7878 GB, free: 67.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.01/7.431, allocations: 143.1 MB / 0.9275 GB, free: 106.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat