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.887/1.887, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.373e-05, allocations: 0 / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.543, allocations: 94.75 MB / 411.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5433, allocations: 84.45 kB / 411.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7423/1.286, allocations: 103.7 MB / 0.5028 GB, free: 83.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.286, allocations: 0 / 0.5028 GB, free: 83.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004359/1.286, allocations: 108.7 kB / 0.5029 GB, free: 83.46 MB / 410.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.02199/1.308, allocations: 5.252 MB / 0.508 GB, free: 81.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.308, allocations: 7.125 kB / 0.5081 GB, free: 81.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0494/1.358, allocations: 6.897 MB / 0.5148 GB, free: 80.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02408/1.382, allocations: 6.857 MB / 0.5215 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/1.382, allocations: 172.3 kB / 0.5217 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/1.385, allocations: 324.2 kB / 0.522 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.018/1.403, allocations: 7.204 MB / 0.529 GB, free: 80.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/1.432, allocations: 11.14 MB / 0.5399 GB, free: 74.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/1.433, allocations: 75.97 kB / 0.5399 GB, free: 74.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.435, allocations: 36.84 kB / 0.54 GB, free: 74.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002565/1.438, allocations: 1.125 MB / 0.5411 GB, free: 74.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07685/1.515, allocations: 55.41 MB / 0.5952 GB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/1.521, allocations: 3.402 MB / 0.5985 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0041/1.525, allocations: 2.16 MB / 0.6006 GB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/1.526, allocations: 329.9 kB / 0.6009 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.526, allocations: 55.16 kB / 0.601 GB, free: 22.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 7.023e-06/1.526, allocations: 4 kB / 0.601 GB, free: 22.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.06468/1.591, allocations: 18.69 MB / 0.6193 GB, free: 4.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.591, allocations: 205.2 kB / 0.6195 GB, free: 4.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008777/1.6, allocations: 3.68 MB / 0.623 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005522/1.6, allocations: 25.7 kB / 0.6231 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004031/1.604, allocations: 3.699 MB / 0.6267 GB, free: 13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.606, allocations: 0.8173 MB / 0.6275 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/1.607, allocations: 0 / 0.6275 GB, free: 12.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005761/1.607, allocations: 0.596 MB / 0.6281 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006/1.613, allocations: 2.137 MB / 0.6301 GB, free: 9.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/1.624, allocations: 6.182 MB / 0.6362 GB, free: 1.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.308/1.932, allocations: 3.613 MB / 0.6397 GB, free: 87.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/1.932, allocations: 40.5 kB / 0.6398 GB, free: 87.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02664/1.959, allocations: 8.008 MB / 0.6476 GB, free: 86.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000151/1.959, allocations: 67.78 kB / 0.6476 GB, free: 86.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003313/1.959, allocations: 145.9 kB / 0.6478 GB, free: 86.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005133/1.964, allocations: 0.939 MB / 0.6487 GB, free: 86.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/1.975, allocations: 1.565 MB / 0.6502 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/1.993, allocations: 7.073 MB / 0.6571 GB, free: 84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/2.004, allocations: 239.3 kB / 0.6574 GB, free: 84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.006, allocations: 409.3 kB / 0.6577 GB, free: 84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (824): * Single equations (assignments): 819 * 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.001878/2.008, allocations: 474.1 kB / 0.6582 GB, free: 83.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01425/2.022, allocations: 3.675 MB / 0.6618 GB, free: 83.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.024, allocations: 406.8 kB / 0.6622 GB, free: 83.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/2.038, allocations: 3.394 MB / 0.6655 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/2.038, allocations: 23.7 kB / 0.6655 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/2.038, allocations: 7.781 kB / 0.6655 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/2.038, allocations: 8.812 kB / 0.6655 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03558/2.074, allocations: 8.365 MB / 0.6737 GB, free: 82.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/2.074, allocations: 2.438 kB / 0.6737 GB, free: 82.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005161/2.079, allocations: 343.3 kB / 0.674 GB, free: 82.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00576/2.085, allocations: 0.67 MB / 0.6747 GB, free: 82.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005778/2.085, allocations: 18.41 kB / 0.6747 GB, free: 82.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/2.102, allocations: 6.196 MB / 0.6808 GB, free: 78.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/2.102, allocations: 9.688 kB / 0.6808 GB, free: 78.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/2.123, allocations: 6.183 MB / 0.6868 GB, free: 75.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003648/2.127, allocations: 0.7124 MB / 0.6875 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/2.129, allocations: 7.031 kB / 0.6875 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00514/2.134, allocations: 77.39 kB / 0.6876 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.135, allocations: 136.5 kB / 0.6877 GB, free: 74.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004907/2.136, allocations: 65.09 kB / 0.6878 GB, free: 74.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009193/2.145, allocations: 2.489 MB / 0.6902 GB, free: 73.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.463e-06/2.145, allocations: 5.938 kB / 0.6902 GB, free: 73.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01292/2.158, allocations: 1.02 MB / 0.6912 GB, free: 73.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (172): * Single equations (assignments): 167 * 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.02247/2.181, allocations: 7.124 MB / 0.6982 GB, free: 70.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01839/2.199, allocations: 5.381 MB / 0.7034 GB, free: 68.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/2.199, allocations: 0 / 0.7034 GB, free: 68.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007076/2.206, allocations: 1.909 MB / 0.7053 GB, free: 67.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/2.212, allocations: 443.6 kB / 0.7057 GB, free: 67.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05452/2.267, allocations: 11.38 MB / 0.7168 GB, free: 60.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01341/2.28, allocations: 4.099 MB / 0.7208 GB, free: 57.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008326/2.289, allocations: 2.48 MB / 0.7232 GB, free: 55.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.094e-06/2.289, allocations: 0 / 0.7232 GB, free: 55.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.332/7.621, allocations: 141.7 MB / 0.8616 GB, free: 82.65 MB / 442.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