Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.561/2.561, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.647e-05/4.662e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4073, allocations: 54.85 MB / 359.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.6048, allocations: 102.7 MB / 462.6 MB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.6052, allocations: 79.95 kB / 462.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7946/1.4, allocations: 97.19 MB / 0.5467 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.4, allocations: 0 / 0.5467 GB, free: 102.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004136/1.4, allocations: 102.5 kB / 0.5468 GB, free: 102.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03471/1.435, allocations: 5.507 MB / 0.5522 GB, free: 100.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.435, allocations: 7.875 kB / 0.5522 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004756/1.44, allocations: 0.9291 MB / 0.5531 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01853/1.458, allocations: 2.316 MB / 0.5554 GB, free: 99.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/1.478, allocations: 4.96 MB / 0.5602 GB, free: 99.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000541/1.478, allocations: 393.2 kB / 0.5606 GB, free: 99.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003397/1.482, allocations: 0.5169 MB / 0.5611 GB, free: 99.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0444/1.526, allocations: 12.8 MB / 0.5736 GB, free: 94.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004428/1.527, allocations: 69.81 kB / 0.5736 GB, free: 94.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003348/1.53, allocations: 247.1 kB / 0.5739 GB, free: 94.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003097/1.533, allocations: 1.212 MB / 0.5751 GB, free: 94.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03631/1.57, allocations: 10.88 MB / 0.5857 GB, free: 90.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0995/1.669, allocations: 55.78 MB / 0.6402 GB, free: 43.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02684/1.696, allocations: 5.241 MB / 0.6453 GB, free: 37.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006582/1.703, allocations: 3.278 MB / 0.6485 GB, free: 34.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002409/1.705, allocations: 1.011 MB / 0.6495 GB, free: 33.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/1.705, allocations: 59.88 kB / 0.6495 GB, free: 33.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 6.683e-06/1.705, allocations: 3.938 kB / 0.6495 GB, free: 33.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.1038/1.809, allocations: 21.92 MB / 0.6709 GB, free: 11.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/1.809, allocations: 158.5 kB / 0.6711 GB, free: 11.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.82, allocations: 3.96 MB / 0.675 GB, free: 7.137 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008611/1.821, allocations: 65.7 kB / 0.675 GB, free: 7.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003294/1.824, allocations: 3.536 MB / 0.6785 GB, free: 3.531 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001785/1.826, allocations: 0.9595 MB / 0.6794 GB, free: 2.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.827, allocations: 136 kB / 0.6795 GB, free: 2.445 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005882/1.828, allocations: 0.5954 MB / 0.6801 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008417/1.836, allocations: 2.971 MB / 0.683 GB, free: 14.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/1.849, allocations: 6.835 MB / 0.6897 GB, free: 6.102 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.862, allocations: 4.472 MB / 0.6941 GB, free: 1.629 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/1.862, allocations: 40 kB / 0.6941 GB, free: 1.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03595/1.898, allocations: 10.33 MB / 0.7042 GB, free: 7.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/1.898, allocations: 66.34 kB / 0.7043 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/1.898, allocations: 140 kB / 0.7044 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/1.904, allocations: 1.129 MB / 0.7055 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/1.917, allocations: 1.704 MB / 0.7072 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3838/2.301, allocations: 5.912 MB / 0.7129 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009574/2.31, allocations: 428.4 kB / 0.7133 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/2.313, allocations: 424.2 kB / 0.7137 GB, free: 115.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (852): * Single equations (assignments): 848 * 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.003448/2.316, allocations: 0.6239 MB / 0.7144 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/2.318, allocations: 407.1 kB / 0.7147 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.021/2.339, allocations: 5.573 MB / 0.7202 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.362e-05/2.339, allocations: 27.55 kB / 0.7202 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/2.339, allocations: 8.688 kB / 0.7202 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.424e-05/2.339, allocations: 13.08 kB / 0.7202 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04465/2.384, allocations: 12.26 MB / 0.7322 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-05/2.384, allocations: 5.219 kB / 0.7322 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005806/2.39, allocations: 0.5174 MB / 0.7327 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004748/2.395, allocations: 0.9364 MB / 0.7336 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009379/2.396, allocations: 51.67 kB / 0.7337 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/2.408, allocations: 5.643 MB / 0.7392 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/2.408, allocations: 3.844 kB / 0.7392 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/2.434, allocations: 9.824 MB / 0.7488 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004202/2.438, allocations: 0.9192 MB / 0.7497 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002192/2.441, allocations: 54.62 kB / 0.7497 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005593/2.446, allocations: 188.5 kB / 0.7499 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.447, allocations: 151.3 kB / 0.7501 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008717/2.448, allocations: 78.05 kB / 0.7501 GB, free: 108 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008342/2.457, allocations: 2.771 MB / 0.7528 GB, free: 107 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.393e-06/2.457, allocations: 0 / 0.7528 GB, free: 107 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01186/2.469, allocations: 1.257 MB / 0.7541 GB, free: 106.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.02716/2.496, allocations: 11.18 MB / 0.765 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01844/2.514, allocations: 6.962 MB / 0.7718 GB, free: 99.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.515, allocations: 0 / 0.7718 GB, free: 99.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007328/2.522, allocations: 2.706 MB / 0.7744 GB, free: 98.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/2.527, allocations: 450 kB / 0.7749 GB, free: 98.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04488/2.572, allocations: 11.77 MB / 0.7863 GB, free: 93.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.582, allocations: 3.906 MB / 0.7902 GB, free: 92.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01212/2.594, allocations: 2.291 MB / 0.7924 GB, free: 90.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007266/2.602, allocations: 2.323 MB / 0.7947 GB, free: 88.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/2.602, allocations: 0 / 0.7947 GB, free: 88.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.223/2.825, allocations: 95.79 MB / 0.8882 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/2.825, allocations: 182 kB / 0.8884 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.083/8.909, allocations: 4 kB / 0.8884 GB, free: 14.22 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat