Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.667/2.667, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.146e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.38, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.5825, allocations: 101.9 MB / 456.3 MB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.5829, allocations: 83.89 kB / 456.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032/1.615, allocations: 144.6 MB / 0.5869 GB, free: 8.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.185e-06/1.615, allocations: 4 kB / 0.5869 GB, free: 8.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007797/1.616, allocations: 144 kB / 0.5871 GB, free: 8.27 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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.06795/1.684, allocations: 8.553 MB / 0.5954 GB, free: 15.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.684, allocations: 8.031 kB / 0.5954 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1451/1.829, allocations: 16.69 MB / 0.6117 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05928/1.889, allocations: 13.29 MB / 0.6247 GB, free: 1.535 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004864/1.889, allocations: 212 kB / 0.6249 GB, free: 1.328 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/1.893, allocations: 415.6 kB / 0.6253 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7889/2.682, allocations: 9.002 MB / 0.6341 GB, free: 69.72 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03821/2.72, allocations: 14.14 MB / 0.6479 GB, free: 65.68 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005312/2.721, allocations: 113 kB / 0.648 GB, free: 65.68 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002801/2.723, allocations: 47.59 kB / 0.6481 GB, free: 65.68 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003892/2.727, allocations: 1.466 MB / 0.6495 GB, free: 65.66 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1244/2.852, allocations: 74.52 MB / 0.7223 GB, free: 18.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/2.863, allocations: 5.338 MB / 0.7275 GB, free: 16.11 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008368/2.871, allocations: 4.019 MB / 0.7314 GB, free: 14.38 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003087/2.874, allocations: 1.353 MB / 0.7327 GB, free: 13.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/2.874, allocations: 63.69 kB / 0.7328 GB, free: 13.14 MB / 458.8 MB Notification: Performance of pre-optimization done (n=268): time 7.895e-06/2.874, allocations: 0 / 0.7328 GB, free: 13.14 MB / 458.8 MB Notification: Performance of matching and sorting (n=350): time 0.2281/3.103, allocations: 43.62 MB / 0.7754 GB, free: 3.508 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/3.103, allocations: 272.5 kB / 0.7756 GB, free: 3.188 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01837/3.121, allocations: 5.652 MB / 0.7811 GB, free: 14.39 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00125/3.123, allocations: 25.7 kB / 0.7812 GB, free: 14.36 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007316/3.13, allocations: 5.257 MB / 0.7863 GB, free: 9.785 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002979/3.133, allocations: 1.295 MB / 0.7876 GB, free: 8.621 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/3.134, allocations: 0 / 0.7876 GB, free: 8.621 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009203/3.135, allocations: 0.7181 MB / 0.7883 GB, free: 8.012 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01287/3.148, allocations: 4.317 MB / 0.7925 GB, free: 4.156 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01951/3.168, allocations: 9.683 MB / 0.8019 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/3.186, allocations: 6.353 MB / 0.8082 GB, free: 3.391 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000241/3.186, allocations: 52 kB / 0.8082 GB, free: 3.34 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.5772/3.763, allocations: 30.22 MB / 0.8377 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/3.763, allocations: 88.03 kB / 0.8378 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1025/3.866, allocations: 20.32 MB / 0.8576 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1054/3.971, allocations: 16.52 MB / 0.8738 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01605/3.988, allocations: 2.154 MB / 0.8759 GB, free: 102.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08647/4.074, allocations: 31.49 MB / 0.9066 GB, free: 89.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01638/4.091, allocations: 0.598 MB / 0.9072 GB, free: 88.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002982/4.094, allocations: 0.5741 MB / 0.9078 GB, free: 88.22 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1111): * Single equations (assignments): 1098 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004189/4.098, allocations: 0.5788 MB / 0.9083 GB, free: 87.76 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03677/4.135, allocations: 9.721 MB / 0.9178 GB, free: 78.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002907/4.138, allocations: 0.6258 MB / 0.9185 GB, free: 77.95 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03828/4.176, allocations: 9.805 MB / 0.928 GB, free: 68.07 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03335/4.209, allocations: 8.606 MB / 0.9364 GB, free: 59.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-05/4.209, allocations: 26.61 kB / 0.9365 GB, free: 59.36 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001239/4.21, allocations: 18.8 kB / 0.9365 GB, free: 59.34 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07806/4.288, allocations: 22.27 MB / 0.9582 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.394e-05/4.288, allocations: 4 kB / 0.9582 GB, free: 37.01 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006769/4.294, allocations: 0.5607 MB / 0.9588 GB, free: 36.45 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0276/4.322, allocations: 3.955 MB / 0.9626 GB, free: 32.52 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001213/4.323, allocations: 55 kB / 0.9627 GB, free: 32.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0522/4.376, allocations: 22.73 MB / 0.9849 GB, free: 9.129 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002558/4.378, allocations: 2.879 MB / 0.9877 GB, free: 6.016 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4622/4.84, allocations: 15.07 MB / 1.002 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005793/4.846, allocations: 1.315 MB / 1.004 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003202/4.85, allocations: 34.62 kB / 1.004 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008695/4.858, allocations: 306.8 kB / 1.004 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/4.86, allocations: 241.8 kB / 1.004 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000931/4.861, allocations: 104.2 kB / 1.004 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01127/4.873, allocations: 3.891 MB / 1.008 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.92e-07/4.873, allocations: 3.75 kB / 1.008 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01479/4.887, allocations: 1.901 MB / 1.01 GB, free: 107.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET6007730569.x[3],$STATESET6007730569.x[2],$STATESET6007730569.x[1],$STATESET6007730568.x[3],$STATESET6007730568.x[2],$STATESET6007730568.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04778/4.935, allocations: 16.02 MB / 1.026 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03136/4.967, allocations: 11.37 MB / 1.037 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/4.967, allocations: 0 / 1.037 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01434/4.981, allocations: 4.996 MB / 1.042 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009126/4.99, allocations: 0.7921 MB / 1.042 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07576/5.066, allocations: 18.22 MB / 1.06 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/5.082, allocations: 5.502 MB / 1.066 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01964/5.102, allocations: 3.159 MB / 1.069 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01138/5.113, allocations: 3.641 MB / 1.072 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/5.113, allocations: 0 / 1.072 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.853/5.966, allocations: 164.4 MB / 1.233 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000286/5.967, allocations: 145 kB / 1.233 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.745/15.71, allocations: 0 / 1.233 GB, free: 87.48 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat