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.174/2.174, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.008e-05, allocations: 0 / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5472, allocations: 95.69 MB / 417.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5476, allocations: 79.95 kB / 417.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9437/1.491, allocations: 147.5 MB / 0.5519 GB, free: 89.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.491, allocations: 0 / 0.5519 GB, free: 89.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006701/1.492, allocations: 143.5 kB / 0.5521 GB, free: 89.55 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.05589/1.548, allocations: 8.571 MB / 0.5604 GB, free: 86.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.548, allocations: 9.344 kB / 0.5604 GB, free: 86.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006037/1.554, allocations: 1.155 MB / 0.5616 GB, free: 85.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1149/1.669, allocations: 16.69 MB / 0.5779 GB, free: 78.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04612/1.715, allocations: 13.3 MB / 0.5909 GB, free: 65.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/1.716, allocations: 499 kB / 0.5913 GB, free: 64.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003471/1.719, allocations: 0.6642 MB / 0.592 GB, free: 63.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05331/1.773, allocations: 16.78 MB / 0.6084 GB, free: 45.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000601/1.773, allocations: 107 kB / 0.6085 GB, free: 45.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/1.777, allocations: 319.8 kB / 0.6088 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003459/1.78, allocations: 1.473 MB / 0.6102 GB, free: 43.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0469/1.827, allocations: 13.47 MB / 0.6234 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4737/2.301, allocations: 76.73 MB / 0.6983 GB, free: 29.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04827/2.349, allocations: 8.551 MB / 0.7067 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008423/2.358, allocations: 4.091 MB / 0.7107 GB, free: 28.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002757/2.36, allocations: 1.344 MB / 0.712 GB, free: 27.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/2.361, allocations: 57.47 kB / 0.712 GB, free: 27.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 7.854e-06/2.361, allocations: 13.44 kB / 0.712 GB, free: 27.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.2534/2.614, allocations: 44.89 MB / 0.7559 GB, free: 18.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002661/2.617, allocations: 3.23 MB / 0.759 GB, free: 15.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01818/2.635, allocations: 6.501 MB / 0.7654 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001253/2.636, allocations: 77.84 kB / 0.7655 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005792/2.642, allocations: 5.199 MB / 0.7705 GB, free: 9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002549/2.645, allocations: 1.344 MB / 0.7718 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/2.646, allocations: 186.6 kB / 0.772 GB, free: 7.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007461/2.647, allocations: 0.713 MB / 0.7727 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01151/2.659, allocations: 4.476 MB / 0.7771 GB, free: 5.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01671/2.675, allocations: 9.751 MB / 0.7866 GB, free: 9.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0169/2.692, allocations: 6.522 MB / 0.793 GB, free: 4.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002553/2.693, allocations: 52 kB / 0.793 GB, free: 4.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.1357/2.828, allocations: 31.42 MB / 0.8237 GB, free: 8.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/2.829, allocations: 84 kB / 0.8238 GB, free: 8.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4397/3.268, allocations: 20.58 MB / 0.8439 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08915/3.357, allocations: 16.59 MB / 0.8601 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01417/3.372, allocations: 2.116 MB / 0.8622 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0905/3.462, allocations: 33.32 MB / 0.8947 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02041/3.483, allocations: 0.7724 MB / 0.8954 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003223/3.486, allocations: 0.5599 MB / 0.896 GB, free: 105.5 MB / 474.7 MB 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.00513/3.491, allocations: 0.8231 MB / 0.8968 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002905/3.494, allocations: 0.6774 MB / 0.8975 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03752/3.532, allocations: 10.15 MB / 0.9074 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03081/3.563, allocations: 8.859 MB / 0.916 GB, free: 97.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/3.563, allocations: 15.5 kB / 0.916 GB, free: 97.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.953e-05/3.563, allocations: 15.94 kB / 0.916 GB, free: 97.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07473/3.637, allocations: 23.37 MB / 0.9389 GB, free: 75.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-05/3.638, allocations: 0 / 0.9389 GB, free: 75.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005842/3.643, allocations: 0.5616 MB / 0.9394 GB, free: 74.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02415/3.668, allocations: 4.008 MB / 0.9433 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001445/3.669, allocations: 105 kB / 0.9434 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04651/3.716, allocations: 23.99 MB / 0.9669 GB, free: 46.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00236/3.718, allocations: 2.994 MB / 0.9698 GB, free: 42.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04266/3.761, allocations: 15.47 MB / 0.9849 GB, free: 27.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006572/3.767, allocations: 1.387 MB / 0.9862 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002942/3.77, allocations: 88.52 kB / 0.9863 GB, free: 25.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00853/3.779, allocations: 358.4 kB / 0.9867 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001851/3.781, allocations: 244.6 kB / 0.9869 GB, free: 25.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008579/3.782, allocations: 95.95 kB / 0.987 GB, free: 25.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01296/3.795, allocations: 4.639 MB / 0.9915 GB, free: 20.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.252e-06/3.795, allocations: 0 / 0.9915 GB, free: 20.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01404/3.809, allocations: 2.122 MB / 0.9936 GB, free: 18.44 MB / 474.7 MB 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.3872/4.196, allocations: 16.46 MB / 1.01 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03186/4.228, allocations: 11.81 MB / 1.021 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/4.228, allocations: 0 / 1.021 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01356/4.242, allocations: 5.161 MB / 1.026 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009113/4.251, allocations: 0.9406 MB / 1.027 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06973/4.321, allocations: 18.75 MB / 1.045 GB, free: 102.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01414/4.335, allocations: 5.502 MB / 1.051 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01589/4.351, allocations: 3.17 MB / 1.054 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009791/4.361, allocations: 3.669 MB / 1.058 GB, free: 97.94 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/4.361, allocations: 4 kB / 1.058 GB, free: 97.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7851/5.146, allocations: 176.1 MB / 1.23 GB, free: 90.89 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/5.146, allocations: 197.6 kB / 1.23 GB, free: 90.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.886/14.03, allocations: 0 / 1.23 GB, free: 90.66 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