Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.383e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 48.71 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.6105, allocations: 95.09 MB / 416.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.6109, allocations: 83.95 kB / 417 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3824/0.9932, allocations: 83.96 MB / 0.4892 GB, free: 6.074 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9933, allocations: 4 kB / 0.4892 GB, free: 6.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002767/0.9936, allocations: 80 kB / 0.4893 GB, free: 5.992 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.02591/1.02, allocations: 4.494 MB / 0.4937 GB, free: 1.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.02, allocations: 16.03 kB / 0.4937 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003068/1.023, allocations: 0.7666 MB / 0.4945 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2934/1.316, allocations: 2.203 MB / 0.4966 GB, free: 95.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/1.334, allocations: 4.506 MB / 0.501 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/1.335, allocations: 316.6 kB / 0.5013 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/1.337, allocations: 428.9 kB / 0.5017 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/1.371, allocations: 10.66 MB / 0.5121 GB, free: 92.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003118/1.372, allocations: 61.16 kB / 0.5122 GB, free: 92.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/1.374, allocations: 202.1 kB / 0.5124 GB, free: 92.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/1.376, allocations: 1.005 MB / 0.5134 GB, free: 92.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/1.404, allocations: 8.911 MB / 0.5221 GB, free: 92.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07182/1.476, allocations: 47.41 MB / 0.5684 GB, free: 58.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.495, allocations: 3.575 MB / 0.5719 GB, free: 57.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/1.499, allocations: 1.791 MB / 0.5736 GB, free: 56.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/1.511, allocations: 4.741 MB / 0.5782 GB, free: 53.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.511, allocations: 47.16 kB / 0.5783 GB, free: 53.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 4.789e-06/1.511, allocations: 0 / 0.5783 GB, free: 53.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.03922/1.551, allocations: 9.893 MB / 0.5879 GB, free: 49.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.551, allocations: 142.8 kB / 0.5881 GB, free: 49.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00868/1.559, allocations: 3.598 MB / 0.5916 GB, free: 48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004239/1.56, allocations: 50.08 kB / 0.5916 GB, free: 47.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002673/1.563, allocations: 3.062 MB / 0.5946 GB, free: 45.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.564, allocations: 0.588 MB / 0.5952 GB, free: 45.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007168/1.564, allocations: 115.5 kB / 0.5953 GB, free: 45.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000423/1.565, allocations: 0.5574 MB / 0.5959 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.57, allocations: 1.891 MB / 0.5977 GB, free: 43.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00728/1.577, allocations: 5.555 MB / 0.6031 GB, free: 37.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007028/1.584, allocations: 3.216 MB / 0.6063 GB, free: 34.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/1.584, allocations: 36 kB / 0.6063 GB, free: 34.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02195/1.606, allocations: 7.802 MB / 0.6139 GB, free: 28.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.607, allocations: 63.84 kB / 0.614 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/1.607, allocations: 132 kB / 0.6141 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/1.611, allocations: 0.9041 MB / 0.615 GB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008655/1.62, allocations: 1.348 MB / 0.6163 GB, free: 26.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009222/1.629, allocations: 4.766 MB / 0.621 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006679/1.636, allocations: 325.9 kB / 0.6213 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.637, allocations: 359.6 kB / 0.6216 GB, free: 21.11 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.0016/1.639, allocations: 0.5637 MB / 0.6222 GB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009188/1.64, allocations: 335.6 kB / 0.6225 GB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009171/1.649, allocations: 2.831 MB / 0.6253 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-05/1.649, allocations: 21.12 kB / 0.6253 GB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/1.649, allocations: 4 kB / 0.6253 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/1.649, allocations: 3.891 kB / 0.6253 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/1.672, allocations: 7.095 MB / 0.6322 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/1.672, allocations: 3.703 kB / 0.6322 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.675, allocations: 256.8 kB / 0.6325 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003865/1.678, allocations: 0.6994 MB / 0.6331 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003851/1.679, allocations: 24.7 kB / 0.6332 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008179/1.687, allocations: 4.337 MB / 0.6374 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.687, allocations: 4.031 kB / 0.6374 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.7, allocations: 5.128 MB / 0.6424 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.702, allocations: 0.6136 MB / 0.643 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.704, allocations: 28.55 kB / 0.643 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003156/1.707, allocations: 96.84 kB / 0.6431 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006136/1.708, allocations: 80.88 kB / 0.6432 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.708, allocations: 45.16 kB / 0.6433 GB, free: 1.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006275/1.714, allocations: 2.508 MB / 0.6457 GB, free: 15.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.714, allocations: 0 / 0.6457 GB, free: 15.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007097/1.721, allocations: 0.9515 MB / 0.6466 GB, free: 14.3 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.01524/1.737, allocations: 5.935 MB / 0.6524 GB, free: 8.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01186/1.748, allocations: 4.6 MB / 0.6569 GB, free: 3.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.749, allocations: 0 / 0.6569 GB, free: 3.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/1.752, allocations: 1.349 MB / 0.6582 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.756, allocations: 391.4 kB / 0.6586 GB, free: 2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3211/2.077, allocations: 9.008 MB / 0.6674 GB, free: 99.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009274/2.086, allocations: 3.319 MB / 0.6707 GB, free: 98.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004909/2.091, allocations: 1.891 MB / 0.6725 GB, free: 98.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/2.091, allocations: 3.656 kB / 0.6725 GB, free: 98.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.484/6.575, allocations: 96.33 MB / 0.7666 GB, free: 52.72 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat