Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.704e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3871, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.5698, allocations: 101.2 MB / 455.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5701, allocations: 83.95 kB / 455.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7087/1.279, allocations: 82.34 MB / 0.5254 GB, free: 99.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.279, allocations: 0 / 0.5254 GB, free: 99.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003172/1.279, allocations: 76.03 kB / 0.5255 GB, free: 99.06 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02555/1.305, allocations: 4.494 MB / 0.5298 GB, free: 96.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.305, allocations: 10.81 kB / 0.5299 GB, free: 96.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/1.322, allocations: 2.215 MB / 0.532 GB, free: 95.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/1.337, allocations: 4.5 MB / 0.5364 GB, free: 90.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/1.337, allocations: 137.2 kB / 0.5365 GB, free: 90.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/1.339, allocations: 247.9 kB / 0.5368 GB, free: 90.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01447/1.354, allocations: 6.404 MB / 0.543 GB, free: 84.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/1.381, allocations: 9.625 MB / 0.5524 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003127/1.381, allocations: 58.58 kB / 0.5525 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001814/1.383, allocations: 32 kB / 0.5525 GB, free: 73.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003396/1.387, allocations: 1.006 MB / 0.5535 GB, free: 72.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09249/1.479, allocations: 45.42 MB / 0.5979 GB, free: 25.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005596/1.485, allocations: 3.228 MB / 0.601 GB, free: 22.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/1.488, allocations: 1.761 MB / 0.6027 GB, free: 20.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/1.499, allocations: 4.608 MB / 0.6072 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.499, allocations: 43.34 kB / 0.6073 GB, free: 15.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.49e-06/1.499, allocations: 0 / 0.6073 GB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.03307/1.532, allocations: 11.06 MB / 0.6181 GB, free: 4.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.532, allocations: 149.2 kB / 0.6182 GB, free: 4.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006229/1.538, allocations: 3.06 MB / 0.6212 GB, free: 1.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005096/1.539, allocations: 25.7 kB / 0.6212 GB, free: 1.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003504/1.543, allocations: 3.21 MB / 0.6244 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.544, allocations: 0.5786 MB / 0.6249 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007407/1.545, allocations: 0 / 0.6249 GB, free: 13.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006167/1.545, allocations: 0.5581 MB / 0.6255 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.55, allocations: 1.827 MB / 0.6273 GB, free: 11.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009428/1.56, allocations: 5.639 MB / 0.6328 GB, free: 3.641 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008494/1.568, allocations: 3.172 MB / 0.6359 GB, free: 480 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.569, allocations: 39.94 kB / 0.6359 GB, free: 440 kB / 442.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02474/1.593, allocations: 7.281 MB / 0.643 GB, free: 9.141 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.594, allocations: 64.97 kB / 0.6431 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.594, allocations: 136 kB / 0.6432 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/1.599, allocations: 0.9146 MB / 0.6441 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0133/1.612, allocations: 1.404 MB / 0.6455 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/1.627, allocations: 4.621 MB / 0.65 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.637, allocations: 219.7 kB / 0.6502 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/1.639, allocations: 380 kB / 0.6506 GB, free: 1.297 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 737 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002381/1.642, allocations: 442.7 kB / 0.651 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01444/1.656, allocations: 2.998 MB / 0.6539 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/1.658, allocations: 308 kB / 0.6542 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.671, allocations: 2.722 MB / 0.6569 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/1.671, allocations: 23.94 kB / 0.6569 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/1.671, allocations: 4 kB / 0.6569 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/1.672, allocations: 7.969 kB / 0.6569 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/1.701, allocations: 6.212 MB / 0.663 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/1.701, allocations: 7.984 kB / 0.663 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.703, allocations: 247.6 kB / 0.6632 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004039/1.707, allocations: 0.6998 MB / 0.6639 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/1.708, allocations: 4 kB / 0.6639 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3579/2.066, allocations: 4.179 MB / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/2.066, allocations: 1.125 kB / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/2.079, allocations: 5.005 MB / 0.6729 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/2.081, allocations: 0.5612 MB / 0.6734 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007548/2.082, allocations: 7.625 kB / 0.6734 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/2.084, allocations: 73.67 kB / 0.6735 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/2.084, allocations: 84.02 kB / 0.6736 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/2.084, allocations: 43.95 kB / 0.6736 GB, free: 127.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004802/2.089, allocations: 2.037 MB / 0.6756 GB, free: 127.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.164e-06/2.089, allocations: 1.219 kB / 0.6756 GB, free: 127.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00719/2.096, allocations: 0.8197 MB / 0.6764 GB, free: 127.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01185/2.108, allocations: 5.791 MB / 0.6821 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009407/2.118, allocations: 4.387 MB / 0.6863 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.118, allocations: 0 / 0.6863 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/2.12, allocations: 1.308 MB / 0.6876 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/2.123, allocations: 315.5 kB / 0.6879 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/2.15, allocations: 8.322 MB / 0.696 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007191/2.157, allocations: 3.311 MB / 0.6993 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008326/2.166, allocations: 1.857 MB / 0.7011 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00436/2.17, allocations: 1.825 MB / 0.7029 GB, free: 120.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.954e-06/2.17, allocations: 0 / 0.7029 GB, free: 120.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/2.345, allocations: 67.17 MB / 0.7685 GB, free: 67.43 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/2.345, allocations: 140.2 kB / 0.7686 GB, free: 67.24 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.861/7.206, allocations: 4.031 kB / 0.7686 GB, free: 67.24 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat