Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.156e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5447/0.6864, allocations: 110.4 MB / 0.5085 GB, free: 9.543 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.6868, allocations: 88.89 kB / 0.5086 GB, free: 9.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057/1.743, allocations: 150.3 MB / 0.6554 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/1.743, allocations: 0 / 0.6554 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006626/1.744, allocations: 154.3 kB / 0.6555 GB, free: 109.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.05766/1.802, allocations: 8.544 MB / 0.6639 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.802, allocations: 7.906 kB / 0.6639 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0061/1.808, allocations: 1.162 MB / 0.665 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1157/1.924, allocations: 16.68 MB / 0.6813 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04688/1.971, allocations: 12.7 MB / 0.6937 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006494/1.971, allocations: 495.3 kB / 0.6942 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003807/1.975, allocations: 0.6682 MB / 0.6948 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05468/2.03, allocations: 16.71 MB / 0.7112 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006615/2.031, allocations: 103.1 kB / 0.7113 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003608/2.034, allocations: 317.2 kB / 0.7116 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003536/2.038, allocations: 1.486 MB / 0.713 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04823/2.086, allocations: 13.21 MB / 0.7259 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/2.215, allocations: 76.74 MB / 0.8008 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05011/2.265, allocations: 8.532 MB / 0.8092 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4274/2.692, allocations: 4.088 MB / 0.8132 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002881/2.695, allocations: 1.348 MB / 0.8145 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.852e-05/2.695, allocations: 71 kB / 0.8146 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=268): time 9.027e-06/2.695, allocations: 0.7812 kB / 0.8146 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=352): time 0.2621/2.957, allocations: 44.69 MB / 0.8582 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002792/2.96, allocations: 3.221 MB / 0.8613 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/2.979, allocations: 6.463 MB / 0.8677 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/2.98, allocations: 76.19 kB / 0.8677 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00642/2.987, allocations: 5.195 MB / 0.8728 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002655/2.99, allocations: 1.35 MB / 0.8741 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/2.991, allocations: 187.2 kB / 0.8743 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009396/2.992, allocations: 0.7094 MB / 0.875 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01181/3.004, allocations: 4.479 MB / 0.8794 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/3.02, allocations: 9.724 MB / 0.8889 GB, free: 90.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/3.036, allocations: 6.525 MB / 0.8952 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002514/3.036, allocations: 53.78 kB / 0.8953 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1496/3.185, allocations: 30.92 MB / 0.9255 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/3.186, allocations: 84 kB / 0.9256 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08993/3.276, allocations: 20.58 MB / 0.9457 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08857/3.364, allocations: 16.59 MB / 0.9619 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/3.378, allocations: 2.113 MB / 0.9639 GB, free: 35.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08288/3.461, allocations: 33.34 MB / 0.9965 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/3.476, allocations: 0.7772 MB / 0.9972 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/3.479, allocations: 0.5635 MB / 0.9978 GB, free: 428 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1092): * Single equations (assignments): 1079 * 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.004822/3.484, allocations: 0.8072 MB / 0.9986 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003056/3.487, allocations: 0.6749 MB / 0.9992 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04151/3.529, allocations: 10.15 MB / 1.009 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4561/3.985, allocations: 8.835 MB / 1.018 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.771e-05/3.985, allocations: 19.22 kB / 1.018 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/3.985, allocations: 16.95 kB / 1.018 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1051/4.09, allocations: 23.35 MB / 1.041 GB, free: 115 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.058e-05/4.09, allocations: 6.375 kB / 1.041 GB, free: 115 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005892/4.096, allocations: 0.5564 MB / 1.041 GB, free: 115 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02464/4.121, allocations: 4.008 MB / 1.045 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001383/4.122, allocations: 101.4 kB / 1.045 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04822/4.171, allocations: 23.97 MB / 1.069 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002474/4.173, allocations: 2.99 MB / 1.072 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04539/4.219, allocations: 15.47 MB / 1.087 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00301/4.222, allocations: 0.6976 MB / 1.087 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00325/4.225, allocations: 88.92 kB / 1.087 GB, free: 91.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00875/4.234, allocations: 367.9 kB / 1.088 GB, free: 91.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001803/4.236, allocations: 247 kB / 1.088 GB, free: 91.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001009/4.237, allocations: 96.16 kB / 1.088 GB, free: 91.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01321/4.25, allocations: 4.607 MB / 1.093 GB, free: 90.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.804e-06/4.25, allocations: 2.688 kB / 1.093 GB, free: 90.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01606/4.266, allocations: 2.133 MB / 1.095 GB, free: 89.82 MB / 0.5417 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.04772/4.314, allocations: 16.45 MB / 1.111 GB, free: 82.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02903/4.343, allocations: 11.5 MB / 1.122 GB, free: 74.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/4.343, allocations: 4 kB / 1.122 GB, free: 74.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/4.356, allocations: 5.086 MB / 1.127 GB, free: 70.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009646/4.366, allocations: 0.9324 MB / 1.128 GB, free: 69.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07135/4.438, allocations: 18.7 MB / 1.146 GB, free: 53.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01434/4.452, allocations: 5.5 MB / 1.151 GB, free: 49.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01643/4.468, allocations: 3.162 MB / 1.155 GB, free: 47.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/4.479, allocations: 3.671 MB / 1.158 GB, free: 44.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.332e-06/4.479, allocations: 4 kB / 1.158 GB, free: 44.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8601/5.339, allocations: 174.9 MB / 1.329 GB, free: 76.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/5.339, allocations: 181.4 kB / 1.329 GB, free: 76.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.576/14.92, allocations: 3.938 kB / 1.329 GB, free: 76.62 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat