Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.345e-05, allocations: 8 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4877, allocations: 54.85 MB / 359.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.6878, allocations: 102.4 MB / 462.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.6883, allocations: 83.95 kB / 462.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8561/1.544, allocations: 106.1 MB / 0.5552 GB, free: 101.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.544, allocations: 0 / 0.5552 GB, free: 101.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000435/1.545, allocations: 110.8 kB / 0.5553 GB, free: 101.6 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.02277/1.568, allocations: 5.253 MB / 0.5604 GB, free: 99.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.568, allocations: 7 kB / 0.5604 GB, free: 99.46 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00476/1.573, allocations: 0.9287 MB / 0.5614 GB, free: 99.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05584/1.628, allocations: 6.899 MB / 0.5681 GB, free: 98.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0398/1.668, allocations: 6.863 MB / 0.5748 GB, free: 97.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007678/1.669, allocations: 409.3 kB / 0.5752 GB, free: 97.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004107/1.673, allocations: 0.5271 MB / 0.5757 GB, free: 97.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05459/1.728, allocations: 12.23 MB / 0.5876 GB, free: 90.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006799/1.729, allocations: 71.14 kB / 0.5877 GB, free: 90.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003903/1.733, allocations: 262.6 kB / 0.588 GB, free: 90.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003808/1.737, allocations: 1.123 MB / 0.5891 GB, free: 90.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04577/1.782, allocations: 9.597 MB / 0.5984 GB, free: 86.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1016/1.884, allocations: 56.62 MB / 0.6537 GB, free: 29.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/1.901, allocations: 4.094 MB / 0.6577 GB, free: 25.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/1.906, allocations: 2.261 MB / 0.6599 GB, free: 22.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02532/1.931, allocations: 9.497 MB / 0.6692 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/1.931, allocations: 55.83 kB / 0.6693 GB, free: 13.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 6.692e-06/1.931, allocations: 4 kB / 0.6693 GB, free: 13.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.0786/2.01, allocations: 15.81 MB / 0.6847 GB, free: 13.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/2.01, allocations: 209.1 kB / 0.6849 GB, free: 13.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01315/2.023, allocations: 4.184 MB / 0.689 GB, free: 8.949 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005881/2.024, allocations: 61.14 kB / 0.689 GB, free: 8.887 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004838/2.029, allocations: 3.767 MB / 0.6927 GB, free: 5.117 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/2.03, allocations: 0.8124 MB / 0.6935 GB, free: 4.312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/2.032, allocations: 124 kB / 0.6936 GB, free: 4.191 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008074/2.032, allocations: 0.5789 MB / 0.6942 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006766/2.039, allocations: 2.164 MB / 0.6963 GB, free: 1.438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3632/2.402, allocations: 6.04 MB / 0.7022 GB, free: 101.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/2.413, allocations: 3.616 MB / 0.7057 GB, free: 101.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003029/2.413, allocations: 40.06 kB / 0.7058 GB, free: 101.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02913/2.442, allocations: 8.349 MB / 0.7139 GB, free: 101.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/2.443, allocations: 65.05 kB / 0.714 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003383/2.443, allocations: 140.1 kB / 0.7141 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005374/2.448, allocations: 0.9168 MB / 0.715 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/2.459, allocations: 1.496 MB / 0.7165 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/2.474, allocations: 7.225 MB / 0.7235 GB, free: 98.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/2.483, allocations: 353 kB / 0.7239 GB, free: 98.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/2.485, allocations: 405 kB / 0.7243 GB, free: 98.51 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.003324/2.488, allocations: 0.6094 MB / 0.7249 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/2.489, allocations: 424.4 kB / 0.7253 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/2.501, allocations: 3.452 MB / 0.7286 GB, free: 97.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.465e-05/2.501, allocations: 30.48 kB / 0.7287 GB, free: 97.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/2.501, allocations: 6.438 kB / 0.7287 GB, free: 97.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.512e-05/2.501, allocations: 11.39 kB / 0.7287 GB, free: 97.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02987/2.531, allocations: 9.057 MB / 0.7375 GB, free: 94.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/2.531, allocations: 3.828 kB / 0.7375 GB, free: 94.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/2.534, allocations: 333 kB / 0.7378 GB, free: 94.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004088/2.538, allocations: 0.6877 MB / 0.7385 GB, free: 94.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005222/2.539, allocations: 34.22 kB / 0.7386 GB, free: 94.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/2.551, allocations: 6.546 MB / 0.7449 GB, free: 89.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/2.551, allocations: 0 / 0.7449 GB, free: 89.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/2.567, allocations: 6.13 MB / 0.7509 GB, free: 87.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/2.57, allocations: 0.7376 MB / 0.7516 GB, free: 86.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/2.572, allocations: 35.44 kB / 0.7517 GB, free: 86.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004035/2.576, allocations: 115 kB / 0.7518 GB, free: 86.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000783/2.577, allocations: 118 kB / 0.7519 GB, free: 86.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/2.577, allocations: 58.92 kB / 0.752 GB, free: 86.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008137/2.585, allocations: 2.952 MB / 0.7548 GB, free: 85.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.51e-07/2.585, allocations: 3.5 kB / 0.7548 GB, free: 85.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009174/2.594, allocations: 1.169 MB / 0.756 GB, free: 85.73 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.0165/2.611, allocations: 6.941 MB / 0.7628 GB, free: 82.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/2.625, allocations: 5.347 MB / 0.768 GB, free: 80.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/2.626, allocations: 1.641 kB / 0.768 GB, free: 80.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00546/2.631, allocations: 1.893 MB / 0.7698 GB, free: 79.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/2.636, allocations: 0.5245 MB / 0.7704 GB, free: 79.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04065/2.677, allocations: 10.95 MB / 0.781 GB, free: 73.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/2.687, allocations: 4.1 MB / 0.7851 GB, free: 70.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01057/2.697, allocations: 2.093 MB / 0.7871 GB, free: 68.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006164/2.704, allocations: 2.452 MB / 0.7895 GB, free: 66.42 MB / 474.7 MB Notification: Performance of SimCode: time 1.674e-06/2.704, allocations: 0 / 0.7895 GB, free: 66.42 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5997/3.303, allocations: 91.28 MB / 0.8786 GB, free: 87.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/3.304, allocations: 181.7 kB / 0.8788 GB, free: 86.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.115/9.419, allocations: 0 / 0.8788 GB, free: 86.87 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat