Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.38e-05/4.397e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4197, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.6185, allocations: 102.7 MB / 462.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.6188, allocations: 82.08 kB / 462.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7618/1.381, allocations: 97.2 MB / 0.5467 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.381, allocations: 1.156 kB / 0.5467 GB, free: 102.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003772/1.381, allocations: 100.1 kB / 0.5468 GB, free: 102.2 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03374/1.415, allocations: 5.514 MB / 0.5522 GB, free: 100.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.415, allocations: 7.781 kB / 0.5522 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004841/1.42, allocations: 0.9188 MB / 0.5531 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/1.439, allocations: 2.323 MB / 0.5553 GB, free: 99.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/1.459, allocations: 4.962 MB / 0.5602 GB, free: 99.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005629/1.46, allocations: 390.6 kB / 0.5605 GB, free: 99.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003764/1.464, allocations: 0.5207 MB / 0.5611 GB, free: 99.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/1.51, allocations: 12.86 MB / 0.5736 GB, free: 94.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004383/1.51, allocations: 58.81 kB / 0.5737 GB, free: 94.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003223/1.513, allocations: 266.2 kB / 0.5739 GB, free: 94.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003326/1.517, allocations: 1.202 MB / 0.5751 GB, free: 94.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03784/1.555, allocations: 11.09 MB / 0.5859 GB, free: 90.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1017/1.656, allocations: 55.77 MB / 0.6404 GB, free: 42.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02773/1.684, allocations: 5.263 MB / 0.6455 GB, free: 37.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007352/1.692, allocations: 3.278 MB / 0.6487 GB, free: 34.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002607/1.694, allocations: 1.014 MB / 0.6497 GB, free: 33.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/1.695, allocations: 66.86 kB / 0.6498 GB, free: 33.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 7.053e-06/1.695, allocations: 0 / 0.6498 GB, free: 33.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.106/1.801, allocations: 21.92 MB / 0.6712 GB, free: 11.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/1.801, allocations: 158.5 kB / 0.6713 GB, free: 10.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.811, allocations: 3.967 MB / 0.6752 GB, free: 6.848 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000852/1.812, allocations: 69.06 kB / 0.6753 GB, free: 6.777 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003269/1.815, allocations: 3.528 MB / 0.6787 GB, free: 3.246 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001842/1.817, allocations: 0.9586 MB / 0.6797 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/1.818, allocations: 136 kB / 0.6798 GB, free: 2.164 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000593/1.819, allocations: 0.5952 MB / 0.6804 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008817/1.828, allocations: 2.969 MB / 0.6833 GB, free: 14.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/1.841, allocations: 6.876 MB / 0.69 GB, free: 5.777 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.854, allocations: 4.468 MB / 0.6944 GB, free: 1.309 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001712/1.854, allocations: 40 kB / 0.6944 GB, free: 1.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03581/1.89, allocations: 10.71 MB / 0.7049 GB, free: 6.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.89, allocations: 66.5 kB / 0.7049 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.89, allocations: 136 kB / 0.705 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005461/1.896, allocations: 1.137 MB / 0.7062 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01286/1.908, allocations: 1.708 MB / 0.7078 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3877/2.296, allocations: 5.907 MB / 0.7136 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.306, allocations: 425.4 kB / 0.714 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/2.309, allocations: 425 kB / 0.7144 GB, free: 115.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (852): * Single equations (assignments): 848 * 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.003833/2.313, allocations: 0.6213 MB / 0.715 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/2.314, allocations: 411.5 kB / 0.7154 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02313/2.338, allocations: 5.575 MB / 0.7208 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.585e-05/2.338, allocations: 27.97 kB / 0.7209 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.292e-05/2.338, allocations: 9.375 kB / 0.7209 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.002e-05/2.338, allocations: 11.44 kB / 0.7209 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/2.384, allocations: 12.27 MB / 0.7329 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.355e-05/2.384, allocations: 3.906 kB / 0.7329 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007682/2.392, allocations: 0.5091 MB / 0.7334 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006866/2.399, allocations: 0.9323 MB / 0.7343 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001375/2.4, allocations: 54.36 kB / 0.7343 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/2.417, allocations: 5.642 MB / 0.7398 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/2.417, allocations: 3 kB / 0.7399 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03326/2.45, allocations: 9.833 MB / 0.7495 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004062/2.454, allocations: 0.9149 MB / 0.7503 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/2.456, allocations: 45.02 kB / 0.7504 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005088/2.461, allocations: 189.8 kB / 0.7506 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/2.463, allocations: 158.2 kB / 0.7507 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003573/2.463, allocations: 70.12 kB / 0.7508 GB, free: 107.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007803/2.471, allocations: 2.774 MB / 0.7535 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.563e-06/2.471, allocations: 5 kB / 0.7535 GB, free: 106.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01013/2.481, allocations: 1.265 MB / 0.7547 GB, free: 106.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.02593/2.507, allocations: 11.18 MB / 0.7657 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01798/2.525, allocations: 7.155 MB / 0.7726 GB, free: 99.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/2.525, allocations: 3.906 kB / 0.7726 GB, free: 99.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007573/2.533, allocations: 2.726 MB / 0.7753 GB, free: 98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/2.538, allocations: 463 kB / 0.7758 GB, free: 97.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04485/2.583, allocations: 11.77 MB / 0.7872 GB, free: 93.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/2.593, allocations: 3.907 MB / 0.7911 GB, free: 91.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01407/2.607, allocations: 2.297 MB / 0.7933 GB, free: 90.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009453/2.617, allocations: 2.316 MB / 0.7956 GB, free: 88.07 MB / 490.7 MB Notification: Performance of SimCode: time 3.116e-06/2.617, allocations: 3.828 kB / 0.7956 GB, free: 88.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/2.875, allocations: 96.47 MB / 0.8898 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004027/2.875, allocations: 175.5 kB / 0.8899 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.312/9.187, allocations: 8.062 kB / 0.8899 GB, free: 12.78 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat