Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.248e-05/5.273e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.6383, allocations: 95.1 MB / 417 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.6387, allocations: 79.95 kB / 417.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3932/1.032, allocations: 83.97 MB / 0.4893 GB, free: 5.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.837e-06/1.032, allocations: 0 / 0.4893 GB, free: 5.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002886/1.032, allocations: 83.94 kB / 0.4894 GB, free: 5.648 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02649/1.059, allocations: 4.486 MB / 0.4938 GB, free: 1.098 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.059, allocations: 16.03 kB / 0.4938 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003742/1.063, allocations: 0.7667 MB / 0.4945 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3068/1.369, allocations: 2.205 MB / 0.4967 GB, free: 95.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01813/1.388, allocations: 4.502 MB / 0.5011 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005479/1.388, allocations: 326.4 kB / 0.5014 GB, free: 95.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/1.391, allocations: 423.7 kB / 0.5018 GB, free: 95.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/1.426, allocations: 10.61 MB / 0.5122 GB, free: 92.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003625/1.427, allocations: 57.97 kB / 0.5122 GB, free: 92.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002374/1.429, allocations: 206.8 kB / 0.5124 GB, free: 92.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/1.432, allocations: 1.006 MB / 0.5134 GB, free: 92.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/1.462, allocations: 8.726 MB / 0.5219 GB, free: 92.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07205/1.534, allocations: 47.41 MB / 0.5682 GB, free: 59.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02498/1.559, allocations: 3.556 MB / 0.5717 GB, free: 57.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005118/1.564, allocations: 1.789 MB / 0.5734 GB, free: 56.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.58, allocations: 4.748 MB / 0.5781 GB, free: 54.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/1.58, allocations: 46.22 kB / 0.5781 GB, free: 54.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 7.454e-06/1.58, allocations: 0 / 0.5781 GB, free: 54.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.04761/1.627, allocations: 9.893 MB / 0.5878 GB, free: 49.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.627, allocations: 144.2 kB / 0.5879 GB, free: 49.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008018/1.635, allocations: 3.598 MB / 0.5914 GB, free: 48.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004159/1.636, allocations: 45.61 kB / 0.5915 GB, free: 48.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.639, allocations: 3.138 MB / 0.5945 GB, free: 45.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.64, allocations: 0.5953 MB / 0.5951 GB, free: 45.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006973/1.641, allocations: 115.1 kB / 0.5952 GB, free: 45.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003625/1.641, allocations: 0.5441 MB / 0.5958 GB, free: 45.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/1.646, allocations: 1.887 MB / 0.5976 GB, free: 44.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006852/1.652, allocations: 5.526 MB / 0.603 GB, free: 37.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/1.659, allocations: 3.208 MB / 0.6061 GB, free: 34.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.659, allocations: 40 kB / 0.6062 GB, free: 34.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02077/1.68, allocations: 7.553 MB / 0.6135 GB, free: 28.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/1.68, allocations: 67.88 kB / 0.6136 GB, free: 28.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/1.681, allocations: 136.1 kB / 0.6137 GB, free: 28.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004036/1.685, allocations: 0.9063 MB / 0.6146 GB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007875/1.692, allocations: 1.348 MB / 0.6159 GB, free: 26.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008646/1.701, allocations: 4.765 MB / 0.6206 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00662/1.708, allocations: 327.5 kB / 0.6209 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.709, allocations: 360.1 kB / 0.6212 GB, free: 21.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001237/1.71, allocations: 0.5475 MB / 0.6218 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.711, allocations: 347 kB / 0.6221 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008936/1.72, allocations: 2.834 MB / 0.6249 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/1.72, allocations: 20.73 kB / 0.6249 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.72, allocations: 4 kB / 0.6249 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.829e-05/1.721, allocations: 7.453 kB / 0.6249 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/1.741, allocations: 7.096 MB / 0.6318 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.741, allocations: 4 kB / 0.6318 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.744, allocations: 254.3 kB / 0.6321 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/1.748, allocations: 0.6973 MB / 0.6328 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/1.748, allocations: 27.28 kB / 0.6328 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008025/1.756, allocations: 4.329 MB / 0.637 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.756, allocations: 8.094 kB / 0.637 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.768, allocations: 5.126 MB / 0.642 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.771, allocations: 0.6174 MB / 0.6426 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009397/1.772, allocations: 24 kB / 0.6427 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/1.775, allocations: 99.83 kB / 0.6428 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/1.775, allocations: 82.44 kB / 0.6428 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.775, allocations: 47.98 kB / 0.6429 GB, free: 1.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006533/1.782, allocations: 2.504 MB / 0.6453 GB, free: 15.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.782, allocations: 0 / 0.6453 GB, free: 15.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007693/1.79, allocations: 0.9442 MB / 0.6462 GB, free: 14.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01497/1.805, allocations: 5.937 MB / 0.652 GB, free: 8.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01222/1.817, allocations: 4.417 MB / 0.6564 GB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.817, allocations: 0 / 0.6564 GB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/1.82, allocations: 1.328 MB / 0.6577 GB, free: 2.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.824, allocations: 389.3 kB / 0.658 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3271/2.151, allocations: 8.542 MB / 0.6664 GB, free: 99.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008378/2.16, allocations: 3.312 MB / 0.6696 GB, free: 98.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009393/2.169, allocations: 1.828 MB / 0.6714 GB, free: 98.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005117/2.174, allocations: 1.846 MB / 0.6732 GB, free: 98.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.964e-06/2.174, allocations: 1.406 kB / 0.6732 GB, free: 98.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1912/2.366, allocations: 73.18 MB / 0.7447 GB, free: 73.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/2.366, allocations: 178.1 kB / 0.7448 GB, free: 73.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.243/7.609, allocations: 0 / 0.7448 GB, free: 73.02 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat