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 1.965/1.965, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.65e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5824, allocations: 95.15 MB / 417 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.5828, allocations: 79.95 kB / 417.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7744/1.357, allocations: 106.1 MB / 0.511 GB, free: 89.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.357, allocations: 1.125 kB / 0.511 GB, free: 89.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004353/1.358, allocations: 111.4 kB / 0.5111 GB, free: 89.74 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.02317/1.381, allocations: 5.264 MB / 0.5162 GB, free: 87.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.381, allocations: 9.344 kB / 0.5162 GB, free: 87.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004581/1.386, allocations: 0.922 MB / 0.5171 GB, free: 87.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05069/1.436, allocations: 6.9 MB / 0.5239 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0243/1.461, allocations: 6.855 MB / 0.5306 GB, free: 86.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000434/1.461, allocations: 412 kB / 0.531 GB, free: 86.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/1.464, allocations: 0.5189 MB / 0.5315 GB, free: 86.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/1.5, allocations: 12.28 MB / 0.5435 GB, free: 83.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004152/1.5, allocations: 73 kB / 0.5435 GB, free: 83.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002641/1.503, allocations: 261.3 kB / 0.5438 GB, free: 83.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00245/1.505, allocations: 1.135 MB / 0.5449 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02985/1.535, allocations: 9.794 MB / 0.5545 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08537/1.621, allocations: 56.55 MB / 0.6097 GB, free: 36.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/1.637, allocations: 4.103 MB / 0.6137 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/1.642, allocations: 2.252 MB / 0.6159 GB, free: 30.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/1.669, allocations: 9.503 MB / 0.6252 GB, free: 22.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.669, allocations: 51.88 kB / 0.6252 GB, free: 22.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.943e-06/1.669, allocations: 0 / 0.6252 GB, free: 22.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.07266/1.741, allocations: 15.83 MB / 0.6407 GB, free: 7.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/1.742, allocations: 201.2 kB / 0.6409 GB, free: 7.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/1.752, allocations: 4.188 MB / 0.645 GB, free: 3.531 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005163/1.752, allocations: 53.7 kB / 0.645 GB, free: 3.473 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003441/1.756, allocations: 3.76 MB / 0.6487 GB, free: 15.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.757, allocations: 0.8092 MB / 0.6495 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008754/1.758, allocations: 132 kB / 0.6496 GB, free: 14.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000622/1.759, allocations: 0.5828 MB / 0.6502 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006322/1.765, allocations: 2.156 MB / 0.6523 GB, free: 12.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/1.776, allocations: 6.083 MB / 0.6582 GB, free: 3.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0094/1.785, allocations: 3.623 MB / 0.6618 GB, free: 384 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.785, allocations: 40 kB / 0.6618 GB, free: 344 kB / 442.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.3478/2.133, allocations: 8.718 MB / 0.6703 GB, free: 94.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/2.133, allocations: 65 kB / 0.6704 GB, free: 94.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002805/2.134, allocations: 139.5 kB / 0.6705 GB, free: 94.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004897/2.139, allocations: 0.9182 MB / 0.6714 GB, free: 94.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/2.149, allocations: 1.494 MB / 0.6729 GB, free: 94.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/2.164, allocations: 7.215 MB / 0.6799 GB, free: 91.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/2.172, allocations: 355.4 kB / 0.6802 GB, free: 91.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/2.174, allocations: 395.4 kB / 0.6806 GB, free: 91.81 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.002568/2.177, allocations: 0.6122 MB / 0.6812 GB, free: 91.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/2.178, allocations: 427.2 kB / 0.6816 GB, free: 91.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/2.188, allocations: 3.464 MB / 0.685 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-05/2.188, allocations: 23.47 kB / 0.685 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/2.188, allocations: 7.781 kB / 0.685 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.267e-05/2.189, allocations: 11.44 kB / 0.6851 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/2.216, allocations: 9.05 MB / 0.6939 GB, free: 90.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/2.216, allocations: 3.938 kB / 0.6939 GB, free: 90.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/2.22, allocations: 339.2 kB / 0.6942 GB, free: 90.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003816/2.223, allocations: 0.6886 MB / 0.6949 GB, free: 90.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004502/2.224, allocations: 45.44 kB / 0.6949 GB, free: 90.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.235, allocations: 6.55 MB / 0.7013 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.236, allocations: 0 / 0.7013 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/2.249, allocations: 6.138 MB / 0.7073 GB, free: 84.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002852/2.252, allocations: 0.7335 MB / 0.708 GB, free: 84.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/2.253, allocations: 37.31 kB / 0.7081 GB, free: 84.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/2.256, allocations: 111.1 kB / 0.7082 GB, free: 84.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005878/2.257, allocations: 126.6 kB / 0.7083 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/2.257, allocations: 64.03 kB / 0.7084 GB, free: 84.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006611/2.264, allocations: 2.955 MB / 0.7112 GB, free: 83.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.264, allocations: 0 / 0.7112 GB, free: 83.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00781/2.272, allocations: 1.178 MB / 0.7124 GB, free: 83.07 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.01464/2.286, allocations: 6.939 MB / 0.7192 GB, free: 79.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01371/2.3, allocations: 5.555 MB / 0.7246 GB, free: 77.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/2.3, allocations: 3.5 kB / 0.7246 GB, free: 77.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005043/2.305, allocations: 1.91 MB / 0.7265 GB, free: 76.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/2.31, allocations: 0.5364 MB / 0.727 GB, free: 76.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/2.346, allocations: 10.97 MB / 0.7377 GB, free: 72.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009453/2.356, allocations: 4.106 MB / 0.7417 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01003/2.366, allocations: 2.092 MB / 0.7438 GB, free: 69.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006245/2.372, allocations: 2.453 MB / 0.7462 GB, free: 66.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.974e-06/2.372, allocations: 0 / 0.7462 GB, free: 66.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5496/2.922, allocations: 91.86 MB / 0.8359 GB, free: 85.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/2.922, allocations: 175 kB / 0.836 GB, free: 85.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.046/8.968, allocations: 0.5 kB / 0.836 GB, free: 85.52 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