Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.665/2.665, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.396e-05, allocations: 0 / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4192, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.6536, allocations: 101.2 MB / 455.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.6539, allocations: 87.94 kB / 455.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7469/1.401, allocations: 82.34 MB / 0.5255 GB, free: 99.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.401, allocations: 0 / 0.5255 GB, free: 99.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002509/1.401, allocations: 83.31 kB / 0.5256 GB, free: 99.06 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02771/1.429, allocations: 4.491 MB / 0.5299 GB, free: 96.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.429, allocations: 10 kB / 0.53 GB, free: 96.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/1.448, allocations: 2.209 MB / 0.5321 GB, free: 95.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.467, allocations: 4.502 MB / 0.5365 GB, free: 90.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/1.467, allocations: 137.2 kB / 0.5366 GB, free: 90.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/1.469, allocations: 251.9 kB / 0.5369 GB, free: 90.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02075/1.489, allocations: 6.403 MB / 0.5431 GB, free: 84.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03003/1.519, allocations: 9.62 MB / 0.5525 GB, free: 73.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/1.52, allocations: 59.47 kB / 0.5526 GB, free: 73.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001318/1.521, allocations: 32 kB / 0.5526 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003419/1.525, allocations: 1.005 MB / 0.5536 GB, free: 72.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09486/1.619, allocations: 45.43 MB / 0.598 GB, free: 25.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00701/1.627, allocations: 3.228 MB / 0.6011 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.631, allocations: 1.752 MB / 0.6028 GB, free: 20.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/1.643, allocations: 4.614 MB / 0.6073 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/1.643, allocations: 55.27 kB / 0.6074 GB, free: 15.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.881e-06/1.643, allocations: 0 / 0.6074 GB, free: 15.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.03795/1.681, allocations: 11.06 MB / 0.6182 GB, free: 4.746 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.681, allocations: 145.6 kB / 0.6183 GB, free: 4.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/1.688, allocations: 3.064 MB / 0.6213 GB, free: 1.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004571/1.688, allocations: 25.7 kB / 0.6213 GB, free: 1.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003621/1.692, allocations: 3.199 MB / 0.6245 GB, free: 14.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.693, allocations: 0.5864 MB / 0.625 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006544/1.694, allocations: 3.938 kB / 0.625 GB, free: 13.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005872/1.695, allocations: 0.5542 MB / 0.6256 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005454/1.7, allocations: 1.823 MB / 0.6274 GB, free: 11.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009703/1.71, allocations: 5.643 MB / 0.6329 GB, free: 3.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/1.719, allocations: 3.169 MB / 0.636 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/1.719, allocations: 40 kB / 0.636 GB, free: 468 kB / 442.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02778/1.747, allocations: 7.28 MB / 0.6431 GB, free: 9.168 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.747, allocations: 65 kB / 0.6432 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002562/1.748, allocations: 136 kB / 0.6433 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005401/1.753, allocations: 0.9148 MB / 0.6442 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/1.764, allocations: 1.407 MB / 0.6456 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.776, allocations: 4.612 MB / 0.6501 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00723/1.783, allocations: 219.6 kB / 0.6503 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.785, allocations: 380 kB / 0.6506 GB, free: 1.328 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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 (741): * Single equations (assignments): 737 * 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.001393/1.786, allocations: 442.8 kB / 0.6511 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01144/1.798, allocations: 2.994 MB / 0.654 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.799, allocations: 308.1 kB / 0.6543 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.81, allocations: 2.73 MB / 0.657 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-05/1.81, allocations: 24 kB / 0.657 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.81, allocations: 4 kB / 0.657 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/1.81, allocations: 11.91 kB / 0.657 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.833, allocations: 6.206 MB / 0.6631 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.833, allocations: 8 kB / 0.6631 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/1.836, allocations: 239.7 kB / 0.6633 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004523/1.84, allocations: 0.7107 MB / 0.664 GB, free: 3.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003088/1.841, allocations: 7.984 kB / 0.664 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3805/2.221, allocations: 4.184 MB / 0.6681 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/2.221, allocations: 1.062 kB / 0.6681 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/2.238, allocations: 5 MB / 0.673 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/2.24, allocations: 0.5642 MB / 0.6735 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/2.241, allocations: 5.922 kB / 0.6735 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/2.244, allocations: 70.47 kB / 0.6736 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/2.245, allocations: 88.47 kB / 0.6737 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/2.245, allocations: 40.31 kB / 0.6737 GB, free: 127.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006482/2.252, allocations: 2.036 MB / 0.6757 GB, free: 127.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.252, allocations: 0 / 0.6757 GB, free: 127.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008512/2.26, allocations: 0.8194 MB / 0.6765 GB, free: 127.6 MB / 474.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.01499/2.275, allocations: 5.79 MB / 0.6821 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0111/2.286, allocations: 4.385 MB / 0.6864 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/2.287, allocations: 0 / 0.6864 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003135/2.29, allocations: 1.309 MB / 0.6877 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/2.293, allocations: 317.9 kB / 0.688 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/2.323, allocations: 8.33 MB / 0.6961 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007636/2.331, allocations: 3.31 MB / 0.6994 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01013/2.341, allocations: 1.854 MB / 0.7012 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004975/2.346, allocations: 1.828 MB / 0.703 GB, free: 120.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.154e-06/2.346, allocations: 0 / 0.703 GB, free: 120.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/2.545, allocations: 67.18 MB / 0.7686 GB, free: 67.38 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000296/2.546, allocations: 153.4 kB / 0.7687 GB, free: 67.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.325/7.871, allocations: 3.938 kB / 0.7687 GB, free: 67.18 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat