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.473/2.473, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.176e-05/5.186e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4803, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.6686, allocations: 102.4 MB / 462.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.669, allocations: 83.95 kB / 462.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8036/1.473, allocations: 106.1 MB / 0.5552 GB, free: 101.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.473, allocations: 0 / 0.5552 GB, free: 101.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003865/1.473, allocations: 112.5 kB / 0.5553 GB, free: 101.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.0211/1.494, allocations: 5.254 MB / 0.5604 GB, free: 99.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.494, allocations: 7.719 kB / 0.5604 GB, free: 99.51 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003951/1.498, allocations: 0.9307 MB / 0.5613 GB, free: 99.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04948/1.548, allocations: 6.893 MB / 0.5681 GB, free: 99.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/1.572, allocations: 6.868 MB / 0.5748 GB, free: 97.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/1.573, allocations: 403.4 kB / 0.5751 GB, free: 97.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/1.576, allocations: 0.5278 MB / 0.5757 GB, free: 97.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/1.615, allocations: 12.29 MB / 0.5877 GB, free: 90.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004838/1.616, allocations: 68.69 kB / 0.5877 GB, free: 90.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002607/1.619, allocations: 259 kB / 0.588 GB, free: 90.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003143/1.622, allocations: 1.128 MB / 0.5891 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0706/1.692, allocations: 9.802 MB / 0.5986 GB, free: 85.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08496/1.777, allocations: 56.64 MB / 0.654 GB, free: 29.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.793, allocations: 4.11 MB / 0.658 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004323/1.798, allocations: 2.261 MB / 0.6602 GB, free: 22.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/1.82, allocations: 9.493 MB / 0.6695 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.82, allocations: 59.77 kB / 0.6695 GB, free: 13.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 6.803e-06/1.82, allocations: 0 / 0.6695 GB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.07251/1.893, allocations: 15.82 MB / 0.685 GB, free: 13.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/1.893, allocations: 213.2 kB / 0.6852 GB, free: 12.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/1.905, allocations: 4.18 MB / 0.6892 GB, free: 8.711 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005503/1.906, allocations: 57.7 kB / 0.6893 GB, free: 8.648 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004757/1.91, allocations: 3.759 MB / 0.693 GB, free: 4.887 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.912, allocations: 0.8146 MB / 0.6938 GB, free: 4.078 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009122/1.913, allocations: 134.9 kB / 0.6939 GB, free: 3.949 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006899/1.914, allocations: 0.575 MB / 0.6945 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006558/1.92, allocations: 2.164 MB / 0.6966 GB, free: 1.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3619/2.282, allocations: 6.08 MB / 0.7025 GB, free: 102.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/2.296, allocations: 3.614 MB / 0.706 GB, free: 102.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003061/2.296, allocations: 40.19 kB / 0.7061 GB, free: 102.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.03771/2.334, allocations: 8.73 MB / 0.7146 GB, free: 101.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003019/2.334, allocations: 65.48 kB / 0.7147 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004301/2.335, allocations: 143.3 kB / 0.7148 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006683/2.341, allocations: 0.9207 MB / 0.7157 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/2.355, allocations: 1.493 MB / 0.7172 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/2.371, allocations: 7.229 MB / 0.7242 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/2.379, allocations: 354.4 kB / 0.7245 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/2.38, allocations: 397.7 kB / 0.7249 GB, free: 98.6 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.001593/2.382, allocations: 0.6102 MB / 0.7255 GB, free: 98.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/2.383, allocations: 424.9 kB / 0.7259 GB, free: 98.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/2.393, allocations: 3.463 MB / 0.7293 GB, free: 97.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.614e-05/2.393, allocations: 25.36 kB / 0.7293 GB, free: 97.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/2.393, allocations: 7.75 kB / 0.7293 GB, free: 97.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-05/2.394, allocations: 14.58 kB / 0.7294 GB, free: 97.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/2.422, allocations: 9.061 MB / 0.7382 GB, free: 94.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/2.422, allocations: 4.688 kB / 0.7382 GB, free: 94.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/2.425, allocations: 326.4 kB / 0.7385 GB, free: 94.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003939/2.429, allocations: 0.6907 MB / 0.7392 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004629/2.43, allocations: 35.59 kB / 0.7392 GB, free: 93.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/2.441, allocations: 6.538 MB / 0.7456 GB, free: 89.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/2.441, allocations: 3.938 kB / 0.7456 GB, free: 89.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/2.456, allocations: 6.131 MB / 0.7516 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002819/2.459, allocations: 0.7323 MB / 0.7523 GB, free: 86.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/2.46, allocations: 38.89 kB / 0.7524 GB, free: 86.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/2.464, allocations: 109.2 kB / 0.7525 GB, free: 86.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007401/2.464, allocations: 131.2 kB / 0.7526 GB, free: 86.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/2.465, allocations: 57.56 kB / 0.7526 GB, free: 86.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007789/2.472, allocations: 2.949 MB / 0.7555 GB, free: 85.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.473, allocations: 0 / 0.7555 GB, free: 85.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008466/2.481, allocations: 1.178 MB / 0.7567 GB, free: 85.59 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.01537/2.496, allocations: 6.947 MB / 0.7635 GB, free: 82.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01347/2.51, allocations: 5.56 MB / 0.7689 GB, free: 80.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/2.51, allocations: 3.594 kB / 0.7689 GB, free: 80.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004734/2.515, allocations: 1.917 MB / 0.7708 GB, free: 79.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/2.519, allocations: 0.5149 MB / 0.7713 GB, free: 79.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03607/2.555, allocations: 10.97 MB / 0.782 GB, free: 72.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00926/2.564, allocations: 4.097 MB / 0.786 GB, free: 69.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009805/2.574, allocations: 2.092 MB / 0.788 GB, free: 67.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005653/2.58, allocations: 2.455 MB / 0.7904 GB, free: 65.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/2.58, allocations: 0 / 0.7904 GB, free: 65.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5888/3.169, allocations: 91.93 MB / 0.8802 GB, free: 87.99 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/3.169, allocations: 178.4 kB / 0.8804 GB, free: 87.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.388/9.558, allocations: 1.031 kB / 0.8804 GB, free: 87.77 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