Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.619/2.619, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.988e-05, allocations: 4 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4765, allocations: 54.86 MB / 354.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.6825, allocations: 102 MB / 456.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.6829, allocations: 87.94 kB / 456.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8673/1.55, allocations: 95.19 MB / 0.5388 GB, free: 89.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.55, allocations: 0 / 0.5388 GB, free: 89.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003213/1.551, allocations: 100 kB / 0.5389 GB, free: 89.16 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03429/1.585, allocations: 5.505 MB / 0.5442 GB, free: 83.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.585, allocations: 12.03 kB / 0.5443 GB, free: 83.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02083/1.606, allocations: 2.313 MB / 0.5465 GB, free: 81.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/1.626, allocations: 4.962 MB / 0.5514 GB, free: 76.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/1.627, allocations: 168 kB / 0.5515 GB, free: 76.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/1.63, allocations: 299.9 kB / 0.5518 GB, free: 75.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0216/1.651, allocations: 7.825 MB / 0.5594 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/1.684, allocations: 11.47 MB / 0.5706 GB, free: 55.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/1.685, allocations: 59.47 kB / 0.5707 GB, free: 55.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002387/1.687, allocations: 36 kB / 0.5707 GB, free: 55.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003215/1.691, allocations: 1.215 MB / 0.5719 GB, free: 54.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09761/1.788, allocations: 53.55 MB / 0.6242 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/1.799, allocations: 4.457 MB / 0.6286 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008065/1.807, allocations: 3.22 MB / 0.6317 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/1.81, allocations: 1.018 MB / 0.6327 GB, free: 6.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/1.81, allocations: 51.88 kB / 0.6328 GB, free: 6.457 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 6.723e-06/1.81, allocations: 0 / 0.6328 GB, free: 6.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=255): time 0.103/1.913, allocations: 22.92 MB / 0.6551 GB, free: 15.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.914, allocations: 154.5 kB / 0.6553 GB, free: 15.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.924, allocations: 3.28 MB / 0.6585 GB, free: 11.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008584/1.925, allocations: 25.7 kB / 0.6585 GB, free: 11.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004593/1.929, allocations: 3.604 MB / 0.662 GB, free: 8.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00233/1.932, allocations: 0.925 MB / 0.6629 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/1.933, allocations: 0 / 0.6629 GB, free: 7.363 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009598/1.934, allocations: 0.6035 MB / 0.6635 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009237/1.943, allocations: 2.888 MB / 0.6663 GB, free: 3.863 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4068/2.35, allocations: 6.923 MB / 0.6731 GB, free: 120.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/2.364, allocations: 4.402 MB / 0.6774 GB, free: 120 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004307/2.364, allocations: 45.09 kB / 0.6774 GB, free: 120 MB / 474.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.0361/2.4, allocations: 9.97 MB / 0.6872 GB, free: 119.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/2.401, allocations: 67.69 kB / 0.6873 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/2.401, allocations: 143.1 kB / 0.6874 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/2.407, allocations: 1.137 MB / 0.6885 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.421, allocations: 1.755 MB / 0.6902 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/2.434, allocations: 5.629 MB / 0.6957 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/2.445, allocations: 293.3 kB / 0.696 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/2.447, allocations: 438.3 kB / 0.6964 GB, free: 118.1 MB / 474.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.003711/2.451, allocations: 482.6 kB / 0.6969 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01899/2.47, allocations: 5.48 MB / 0.7022 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/2.472, allocations: 371.8 kB / 0.7026 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01961/2.491, allocations: 5.359 MB / 0.7078 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-05/2.491, allocations: 31.77 kB / 0.7078 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/2.491, allocations: 5.938 kB / 0.7078 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-05/2.492, allocations: 11.2 kB / 0.7079 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04535/2.537, allocations: 11.16 MB / 0.7188 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.687e-05/2.537, allocations: 5.703 kB / 0.7188 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006789/2.544, allocations: 0.5123 MB / 0.7193 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/2.549, allocations: 0.9331 MB / 0.7202 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000887/2.55, allocations: 15.08 kB / 0.7202 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/2.562, allocations: 5.328 MB / 0.7254 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/2.562, allocations: 13.25 kB / 0.7254 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02456/2.586, allocations: 9.571 MB / 0.7347 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003576/2.59, allocations: 0.8532 MB / 0.7356 GB, free: 99.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/2.592, allocations: 11 kB / 0.7356 GB, free: 99.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005051/2.597, allocations: 160.6 kB / 0.7357 GB, free: 99.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/2.598, allocations: 149.5 kB / 0.7359 GB, free: 99.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006602/2.599, allocations: 67.84 kB / 0.736 GB, free: 98.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006091/2.605, allocations: 2.178 MB / 0.7381 GB, free: 97.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.605, allocations: 0 / 0.7381 GB, free: 97.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01018/2.616, allocations: 1.096 MB / 0.7391 GB, free: 96.01 MB / 474.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.02569/2.641, allocations: 10.92 MB / 0.7498 GB, free: 86.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01816/2.659, allocations: 6.887 MB / 0.7565 GB, free: 80.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.66, allocations: 4 kB / 0.7565 GB, free: 80.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007136/2.667, allocations: 2.657 MB / 0.7591 GB, free: 77.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/2.671, allocations: 347.6 kB / 0.7595 GB, free: 77.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04562/2.717, allocations: 11.45 MB / 0.7707 GB, free: 67.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.727, allocations: 3.902 MB / 0.7745 GB, free: 64.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01387/2.741, allocations: 2.307 MB / 0.7767 GB, free: 61.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007566/2.749, allocations: 2.299 MB / 0.779 GB, free: 59.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.344e-06/2.749, allocations: 0 / 0.779 GB, free: 59.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6442/3.393, allocations: 87.47 MB / 0.8644 GB, free: 123.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002913/3.393, allocations: 155.5 kB / 0.8645 GB, free: 123 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.199/9.592, allocations: 0 / 0.8645 GB, free: 123 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat