Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.073e-05, allocations: 0 / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.5751, allocations: 95.24 MB / 411.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5755, allocations: 85.62 kB / 411.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8782/1.454, allocations: 144.6 MB / 0.5433 GB, free: 80.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.454, allocations: 0 / 0.5433 GB, free: 80.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000723/1.454, allocations: 146.7 kB / 0.5434 GB, free: 80.18 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.05959/1.514, allocations: 8.561 MB / 0.5518 GB, free: 75.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/1.514, allocations: 10.91 kB / 0.5518 GB, free: 75.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1156/1.63, allocations: 16.69 MB / 0.5681 GB, free: 61.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04687/1.677, allocations: 13.27 MB / 0.581 GB, free: 48.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004126/1.677, allocations: 212 kB / 0.5812 GB, free: 47.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003612/1.681, allocations: 407.7 kB / 0.5816 GB, free: 47.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02937/1.71, allocations: 9.003 MB / 0.5904 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04053/1.751, allocations: 14.14 MB / 0.6042 GB, free: 22.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007314/1.752, allocations: 110.9 kB / 0.6043 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003337/1.755, allocations: 51.95 kB / 0.6044 GB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/1.759, allocations: 1.478 MB / 0.6058 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5306/2.289, allocations: 74.49 MB / 0.6786 GB, free: 42.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/2.301, allocations: 5.343 MB / 0.6838 GB, free: 42.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008412/2.309, allocations: 4.012 MB / 0.6877 GB, free: 42.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002793/2.312, allocations: 1.347 MB / 0.689 GB, free: 40.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.55e-05/2.312, allocations: 64.45 kB / 0.6891 GB, free: 40.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 6.623e-06/2.312, allocations: 2.781 kB / 0.6891 GB, free: 40.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=350): time 0.1948/2.507, allocations: 43.21 MB / 0.7313 GB, free: 29.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/2.507, allocations: 266.4 kB / 0.7315 GB, free: 29.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01708/2.524, allocations: 5.646 MB / 0.737 GB, free: 27.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00129/2.526, allocations: 28.33 kB / 0.7371 GB, free: 27.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005743/2.531, allocations: 5.258 MB / 0.7422 GB, free: 23.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002681/2.534, allocations: 1.297 MB / 0.7435 GB, free: 22.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/2.536, allocations: 2.281 kB / 0.7435 GB, free: 22.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009471/2.537, allocations: 0.7198 MB / 0.7442 GB, free: 21.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01102/2.548, allocations: 4.317 MB / 0.7484 GB, free: 18.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01484/2.563, allocations: 9.691 MB / 0.7579 GB, free: 7.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/2.577, allocations: 6.348 MB / 0.7641 GB, free: 2.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002333/2.578, allocations: 52 kB / 0.7641 GB, free: 2.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.1415/2.719, allocations: 30.53 MB / 0.7939 GB, free: 11.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/2.719, allocations: 92.03 kB / 0.794 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1165/2.836, allocations: 20.32 MB / 0.8139 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4394/3.275, allocations: 16.52 MB / 0.83 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01534/3.291, allocations: 2.153 MB / 0.8321 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1116/3.402, allocations: 31.48 MB / 0.8628 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/3.418, allocations: 0.5863 MB / 0.8634 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003162/3.421, allocations: 0.5738 MB / 0.864 GB, free: 113.6 MB / 474.7 MB 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.004637/3.426, allocations: 0.5862 MB / 0.8645 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03377/3.46, allocations: 9.731 MB / 0.874 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002788/3.462, allocations: 0.6234 MB / 0.8747 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03758/3.5, allocations: 9.801 MB / 0.8842 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02999/3.53, allocations: 8.61 MB / 0.8926 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.976e-05/3.53, allocations: 20.59 kB / 0.8927 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/3.53, allocations: 12.8 kB / 0.8927 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07108/3.601, allocations: 22.28 MB / 0.9144 GB, free: 91.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.483e-05/3.602, allocations: 0 / 0.9144 GB, free: 91.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005914/3.607, allocations: 0.5463 MB / 0.915 GB, free: 91.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02325/3.631, allocations: 3.972 MB / 0.9188 GB, free: 88.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/3.632, allocations: 61.16 kB / 0.9189 GB, free: 88.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04222/3.674, allocations: 22.74 MB / 0.9411 GB, free: 65.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002237/3.677, allocations: 2.879 MB / 0.9439 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04054/3.717, allocations: 15.07 MB / 0.9586 GB, free: 46.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005502/3.723, allocations: 1.315 MB / 0.9599 GB, free: 45.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003115/3.726, allocations: 39.97 kB / 0.96 GB, free: 45.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0084/3.734, allocations: 299.4 kB / 0.9602 GB, free: 45.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001952/3.736, allocations: 252.9 kB / 0.9605 GB, free: 44.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009767/3.737, allocations: 95.95 kB / 0.9606 GB, free: 44.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.011/3.748, allocations: 3.898 MB / 0.9644 GB, free: 40.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.202e-06/3.748, allocations: 0 / 0.9644 GB, free: 40.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01607/3.765, allocations: 1.897 MB / 0.9662 GB, free: 39.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET140494203502985.x[3],$STATESET140494203502985.x[2],$STATESET140494203502985.x[1],$STATESET140494203502984.x[3],$STATESET140494203502984.x[2],$STATESET140494203502984.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.04824/3.813, allocations: 16.03 MB / 0.9819 GB, free: 22.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3699/4.183, allocations: 11.36 MB / 0.993 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/4.183, allocations: 1.562 kB / 0.993 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01395/4.197, allocations: 4.994 MB / 0.9979 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008604/4.206, allocations: 0.806 MB / 0.9986 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0704/4.276, allocations: 18.22 MB / 1.016 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/4.289, allocations: 5.503 MB / 1.022 GB, free: 119 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01603/4.306, allocations: 3.169 MB / 1.025 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009866/4.315, allocations: 3.636 MB / 1.028 GB, free: 117.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/4.316, allocations: 0 / 1.028 GB, free: 117.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8015/5.117, allocations: 164.4 MB / 1.189 GB, free: 110.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/5.117, allocations: 133.3 kB / 1.189 GB, free: 110.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.934/14.05, allocations: 0 / 1.189 GB, free: 110.2 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat