Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.88e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.5999, allocations: 95.16 MB / 417.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6002, allocations: 79.95 kB / 417.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7773/1.378, allocations: 106.2 MB / 0.511 GB, free: 89.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.378, allocations: 1.25 kB / 0.511 GB, free: 89.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004258/1.378, allocations: 111 kB / 0.5111 GB, free: 89.9 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.02332/1.401, allocations: 5.25 MB / 0.5163 GB, free: 87.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.401, allocations: 8.719 kB / 0.5163 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004594/1.406, allocations: 0.9295 MB / 0.5172 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05144/1.458, allocations: 6.902 MB / 0.5239 GB, free: 87.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02496/1.483, allocations: 6.85 MB / 0.5306 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005479/1.483, allocations: 408.3 kB / 0.531 GB, free: 86.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003042/1.486, allocations: 0.5283 MB / 0.5315 GB, free: 86.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/1.523, allocations: 12.22 MB / 0.5434 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004038/1.523, allocations: 74.19 kB / 0.5435 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002812/1.526, allocations: 255.9 kB / 0.5438 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002837/1.529, allocations: 1.129 MB / 0.5449 GB, free: 83.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03014/1.559, allocations: 9.594 MB / 0.5542 GB, free: 80.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08533/1.644, allocations: 56.55 MB / 0.6094 GB, free: 36.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/1.661, allocations: 4.103 MB / 0.6135 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/1.665, allocations: 2.245 MB / 0.6156 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0236/1.689, allocations: 9.503 MB / 0.6249 GB, free: 22.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/1.689, allocations: 55.81 kB / 0.625 GB, free: 22.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 5.661e-06/1.689, allocations: 0 / 0.625 GB, free: 22.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.07365/1.763, allocations: 15.81 MB / 0.6404 GB, free: 8.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/1.763, allocations: 205.2 kB / 0.6406 GB, free: 8.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/1.774, allocations: 4.188 MB / 0.6447 GB, free: 4.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005327/1.774, allocations: 57.7 kB / 0.6448 GB, free: 3.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003351/1.778, allocations: 3.748 MB / 0.6484 GB, free: 216 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001491/1.779, allocations: 0.8168 MB / 0.6492 GB, free: 15.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/1.78, allocations: 132 kB / 0.6493 GB, free: 15.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006044/1.781, allocations: 0.575 MB / 0.6499 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00619/1.787, allocations: 2.172 MB / 0.652 GB, free: 12.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/1.799, allocations: 6.036 MB / 0.6579 GB, free: 4.523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00929/1.808, allocations: 3.62 MB / 0.6615 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/1.808, allocations: 40 kB / 0.6615 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.3602/2.168, allocations: 8.331 MB / 0.6696 GB, free: 94.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/2.169, allocations: 64.88 kB / 0.6697 GB, free: 94.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003555/2.169, allocations: 140.5 kB / 0.6698 GB, free: 94.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/2.174, allocations: 0.9202 MB / 0.6707 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/2.185, allocations: 1.495 MB / 0.6722 GB, free: 94.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/2.2, allocations: 7.218 MB / 0.6792 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008083/2.208, allocations: 353.5 kB / 0.6796 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/2.21, allocations: 393.6 kB / 0.6799 GB, free: 92.18 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.002327/2.212, allocations: 0.6111 MB / 0.6805 GB, free: 91.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.213, allocations: 431.4 kB / 0.681 GB, free: 91.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/2.224, allocations: 3.464 MB / 0.6843 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.598e-05/2.224, allocations: 23.22 kB / 0.6844 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/2.224, allocations: 6 kB / 0.6844 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/2.224, allocations: 9.609 kB / 0.6844 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02673/2.251, allocations: 9.056 MB / 0.6932 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/2.251, allocations: 3.312 kB / 0.6932 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/2.254, allocations: 328.1 kB / 0.6935 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003808/2.258, allocations: 0.6911 MB / 0.6942 GB, free: 91.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/2.259, allocations: 44.16 kB / 0.6943 GB, free: 91.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/2.27, allocations: 6.55 MB / 0.7006 GB, free: 87.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.27, allocations: 0 / 0.7006 GB, free: 87.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/2.284, allocations: 6.139 MB / 0.7066 GB, free: 85.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/2.287, allocations: 0.7343 MB / 0.7074 GB, free: 84.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/2.288, allocations: 34.38 kB / 0.7074 GB, free: 84.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/2.291, allocations: 110.9 kB / 0.7075 GB, free: 84.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/2.292, allocations: 131.6 kB / 0.7076 GB, free: 84.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/2.292, allocations: 61.62 kB / 0.7077 GB, free: 84.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007064/2.299, allocations: 2.963 MB / 0.7106 GB, free: 83.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.422e-06/2.299, allocations: 0 / 0.7106 GB, free: 83.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008261/2.308, allocations: 1.176 MB / 0.7117 GB, free: 83.52 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.01515/2.323, allocations: 6.935 MB / 0.7185 GB, free: 80.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01342/2.336, allocations: 5.343 MB / 0.7237 GB, free: 78.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/2.336, allocations: 0 / 0.7237 GB, free: 78.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005228/2.341, allocations: 1.887 MB / 0.7256 GB, free: 77.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/2.346, allocations: 0.5336 MB / 0.7261 GB, free: 77.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/2.384, allocations: 10.96 MB / 0.7368 GB, free: 73.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009632/2.394, allocations: 4.104 MB / 0.7408 GB, free: 71.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01017/2.404, allocations: 2.093 MB / 0.7428 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005968/2.41, allocations: 2.457 MB / 0.7452 GB, free: 67.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/2.41, allocations: 0 / 0.7452 GB, free: 67.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6695/3.079, allocations: 91.21 MB / 0.8343 GB, free: 84.51 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/3.08, allocations: 178.2 kB / 0.8345 GB, free: 84.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.106/9.186, allocations: 0 / 0.8345 GB, free: 84.28 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat