Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.6/2.6, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.704e-05, allocations: 0 / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4321, allocations: 54.85 MB / 359.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.6515, allocations: 102.5 MB / 462.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004718/0.652, allocations: 79.95 kB / 462.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9731/1.625, allocations: 147.6 MB / 0.5958 GB, free: 92.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.625, allocations: 0 / 0.5958 GB, free: 92.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006712/1.626, allocations: 148.7 kB / 0.5959 GB, free: 92.37 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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.05827/1.684, allocations: 8.566 MB / 0.6043 GB, free: 85.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/1.684, allocations: 8.031 kB / 0.6043 GB, free: 85.35 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006909/1.691, allocations: 1.159 MB / 0.6054 GB, free: 84.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1176/1.809, allocations: 16.68 MB / 0.6217 GB, free: 67.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04668/1.856, allocations: 13.3 MB / 0.6347 GB, free: 54.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/1.856, allocations: 497 kB / 0.6352 GB, free: 53.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003878/1.86, allocations: 0.6714 MB / 0.6358 GB, free: 52.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05601/1.916, allocations: 16.69 MB / 0.6521 GB, free: 34.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006888/1.917, allocations: 111 kB / 0.6522 GB, free: 34.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003769/1.921, allocations: 323.8 kB / 0.6525 GB, free: 34.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/1.925, allocations: 1.471 MB / 0.654 GB, free: 32.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04745/1.972, allocations: 13.21 MB / 0.6669 GB, free: 19.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5442/2.516, allocations: 76.73 MB / 0.7418 GB, free: 47.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04979/2.566, allocations: 8.523 MB / 0.7501 GB, free: 46.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008797/2.575, allocations: 4.098 MB / 0.7541 GB, free: 46.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002892/2.578, allocations: 1.341 MB / 0.7555 GB, free: 45.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.664e-05/2.578, allocations: 65.62 kB / 0.7555 GB, free: 45.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=268): time 8.145e-06/2.578, allocations: 0 / 0.7555 GB, free: 45.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=352): time 0.2648/2.843, allocations: 44.9 MB / 0.7994 GB, free: 37.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002863/2.846, allocations: 3.222 MB / 0.8025 GB, free: 34.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02029/2.866, allocations: 6.489 MB / 0.8088 GB, free: 32.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001345/2.868, allocations: 79.2 kB / 0.8089 GB, free: 32.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006397/2.874, allocations: 5.207 MB / 0.814 GB, free: 28.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002843/2.877, allocations: 1.34 MB / 0.8153 GB, free: 27.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/2.879, allocations: 186.3 kB / 0.8155 GB, free: 27.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009839/2.88, allocations: 0.7109 MB / 0.8162 GB, free: 26.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01254/2.893, allocations: 4.471 MB / 0.8206 GB, free: 23.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01644/2.909, allocations: 9.707 MB / 0.83 GB, free: 11.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/2.925, allocations: 6.514 MB / 0.8364 GB, free: 6.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002374/2.925, allocations: 52 kB / 0.8364 GB, free: 6.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.1368/3.062, allocations: 30.91 MB / 0.8666 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/3.062, allocations: 87.94 kB / 0.8667 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09814/3.16, allocations: 20.58 MB / 0.8868 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4911/3.652, allocations: 16.59 MB / 0.903 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/3.666, allocations: 2.114 MB / 0.9051 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07903/3.745, allocations: 33.32 MB / 0.9376 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/3.76, allocations: 0.7682 MB / 0.9384 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/3.763, allocations: 0.557 MB / 0.9389 GB, free: 124.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * 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 (1089): * Single equations (assignments): 1076 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003602/3.767, allocations: 0.8214 MB / 0.9397 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/3.769, allocations: 0.6721 MB / 0.9404 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03438/3.804, allocations: 10.15 MB / 0.9503 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.031/3.835, allocations: 8.85 MB / 0.9589 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.176e-05/3.835, allocations: 16.31 kB / 0.9589 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/3.835, allocations: 15.19 kB / 0.9589 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07771/3.913, allocations: 23.36 MB / 0.9818 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.067e-05/3.913, allocations: 4 kB / 0.9818 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005985/3.919, allocations: 0.557 MB / 0.9823 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0245/3.943, allocations: 4.013 MB / 0.9862 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001233/3.945, allocations: 99.31 kB / 0.9863 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04621/3.991, allocations: 23.99 MB / 1.01 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002414/3.993, allocations: 2.99 MB / 1.013 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04366/4.037, allocations: 15.47 MB / 1.028 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006233/4.043, allocations: 1.383 MB / 1.029 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003031/4.046, allocations: 83.97 kB / 1.029 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008578/4.055, allocations: 363.5 kB / 1.03 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/4.057, allocations: 242.5 kB / 1.03 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008736/4.058, allocations: 100.8 kB / 1.03 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01317/4.071, allocations: 4.634 MB / 1.034 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.766e-06/4.071, allocations: 0 / 1.034 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01575/4.087, allocations: 2.131 MB / 1.036 GB, free: 56.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (244): * Single equations (assignments): 233 * 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.04546/4.132, allocations: 16.46 MB / 1.053 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02816/4.161, allocations: 11.47 MB / 1.064 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/4.161, allocations: 4 kB / 1.064 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01342/4.174, allocations: 5.093 MB / 1.069 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009318/4.183, allocations: 0.9427 MB / 1.07 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4926/4.676, allocations: 18.71 MB / 1.088 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01733/4.693, allocations: 5.509 MB / 1.093 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01765/4.711, allocations: 3.168 MB / 1.096 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01049/4.722, allocations: 3.67 MB / 1.1 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.094e-06/4.722, allocations: 0 / 1.1 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.802/5.524, allocations: 175.1 MB / 1.271 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/5.524, allocations: 188.6 kB / 1.271 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.972/14.5, allocations: 3 kB / 1.271 GB, free: 87.84 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat