Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.572e-05, allocations: 4 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 48.7 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5659, allocations: 95.43 MB / 411.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.5663, allocations: 78.39 kB / 411.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.702/1.268, allocations: 95.17 MB / 0.4951 GB, free: 84.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.268, allocations: 1.219 kB / 0.4951 GB, free: 84.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003625/1.269, allocations: 103.9 kB / 0.4952 GB, free: 84.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03229/1.301, allocations: 5.507 MB / 0.5006 GB, free: 82.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/1.301, allocations: 8.688 kB / 0.5006 GB, free: 82.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/1.32, allocations: 2.321 MB / 0.5029 GB, free: 81.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/1.339, allocations: 4.956 MB / 0.5077 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/1.339, allocations: 168.4 kB / 0.5079 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002952/1.342, allocations: 312.5 kB / 0.5082 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/1.362, allocations: 7.812 MB / 0.5158 GB, free: 81.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/1.392, allocations: 11.48 MB / 0.527 GB, free: 77.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00033/1.393, allocations: 58.34 kB / 0.5271 GB, free: 77.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002514/1.395, allocations: 30.47 kB / 0.5271 GB, free: 77.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002891/1.398, allocations: 1.214 MB / 0.5283 GB, free: 77.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.5, allocations: 53.55 MB / 0.5806 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.511, allocations: 4.463 MB / 0.5849 GB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007059/1.519, allocations: 3.226 MB / 0.5881 GB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002275/1.521, allocations: 1.011 MB / 0.5891 GB, free: 31.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/1.521, allocations: 55.58 kB / 0.5891 GB, free: 31.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.693e-06/1.521, allocations: 4 kB / 0.5891 GB, free: 31.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.0806/1.602, allocations: 22.91 MB / 0.6115 GB, free: 12.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.602, allocations: 158.3 kB / 0.6117 GB, free: 11.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007741/1.609, allocations: 3.282 MB / 0.6149 GB, free: 8.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008319/1.61, allocations: 25.7 kB / 0.6149 GB, free: 8.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003079/1.613, allocations: 3.608 MB / 0.6184 GB, free: 5.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.615, allocations: 0.9289 MB / 0.6193 GB, free: 4.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.616, allocations: 0 / 0.6193 GB, free: 4.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005183/1.617, allocations: 0.6036 MB / 0.6199 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006872/1.624, allocations: 2.884 MB / 0.6227 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/1.636, allocations: 6.925 MB / 0.6295 GB, free: 7.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.648, allocations: 4.404 MB / 0.6338 GB, free: 3.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/1.648, allocations: 43.95 kB / 0.6338 GB, free: 3.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.3572/2.005, allocations: 9.956 MB / 0.6435 GB, free: 87.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/2.006, allocations: 73.28 kB / 0.6436 GB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003242/2.006, allocations: 145.8 kB / 0.6438 GB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/2.012, allocations: 1.132 MB / 0.6449 GB, free: 87.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01316/2.025, allocations: 1.754 MB / 0.6466 GB, free: 87.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/2.038, allocations: 5.629 MB / 0.6521 GB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009328/2.047, allocations: 290.3 kB / 0.6524 GB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002324/2.049, allocations: 441 kB / 0.6528 GB, free: 86.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (882): * Single equations (assignments): 878 * 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.002674/2.052, allocations: 482.4 kB / 0.6532 GB, free: 85.98 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01489/2.067, allocations: 5.483 MB / 0.6586 GB, free: 85.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/2.069, allocations: 373.7 kB / 0.6589 GB, free: 85.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/2.084, allocations: 5.361 MB / 0.6642 GB, free: 85.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/2.084, allocations: 30.77 kB / 0.6642 GB, free: 85.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/2.084, allocations: 3.531 kB / 0.6642 GB, free: 85.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.7e-05/2.084, allocations: 16.67 kB / 0.6642 GB, free: 85.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03077/2.115, allocations: 11.15 MB / 0.6751 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/2.115, allocations: 0 / 0.6751 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005332/2.12, allocations: 0.5139 MB / 0.6756 GB, free: 83.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004308/2.125, allocations: 0.9362 MB / 0.6765 GB, free: 83.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006712/2.125, allocations: 21.19 kB / 0.6765 GB, free: 83.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009867/2.135, allocations: 5.344 MB / 0.6818 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/2.135, allocations: 5.969 kB / 0.6818 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/2.157, allocations: 9.573 MB / 0.6911 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/2.16, allocations: 0.8566 MB / 0.692 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/2.161, allocations: 3.312 kB / 0.692 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004118/2.166, allocations: 155.6 kB / 0.6921 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/2.167, allocations: 151.7 kB / 0.6923 GB, free: 76.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004358/2.167, allocations: 70.94 kB / 0.6923 GB, free: 76.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006173/2.173, allocations: 2.185 MB / 0.6945 GB, free: 75.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.173, allocations: 3.5 kB / 0.6945 GB, free: 75.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008942/2.182, allocations: 1.086 MB / 0.6955 GB, free: 75.66 MB / 426.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.0252/2.208, allocations: 10.94 MB / 0.7062 GB, free: 70.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0234/2.231, allocations: 6.895 MB / 0.7129 GB, free: 65.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.231, allocations: 0 / 0.7129 GB, free: 65.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006307/2.238, allocations: 2.662 MB / 0.7155 GB, free: 63.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/2.241, allocations: 352.2 kB / 0.7159 GB, free: 63.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05859/2.3, allocations: 11.45 MB / 0.727 GB, free: 53.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008347/2.309, allocations: 3.9 MB / 0.7309 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01085/2.319, allocations: 2.323 MB / 0.7331 GB, free: 49.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006548/2.326, allocations: 2.289 MB / 0.7354 GB, free: 47.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.903e-06/2.326, allocations: 0 / 0.7354 GB, free: 47.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5671/2.893, allocations: 87.44 MB / 0.8207 GB, free: 91.21 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/2.893, allocations: 149.8 kB / 0.8209 GB, free: 91.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.743/8.637, allocations: 1.406 kB / 0.8209 GB, free: 91.02 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat