Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.524e-05, allocations: 0 / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3897, allocations: 54.85 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.583, allocations: 102.7 MB / 462.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.5834, allocations: 86.06 kB / 462.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8049/1.388, allocations: 97.2 MB / 0.5467 GB, free: 101.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.388, allocations: 4 kB / 0.5467 GB, free: 101.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003751/1.389, allocations: 98.88 kB / 0.5468 GB, free: 101.8 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.03451/1.423, allocations: 5.511 MB / 0.5522 GB, free: 99.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/1.423, allocations: 10.97 kB / 0.5522 GB, free: 99.79 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005798/1.429, allocations: 0.9205 MB / 0.5531 GB, free: 99.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01848/1.448, allocations: 2.322 MB / 0.5553 GB, free: 99.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.467, allocations: 4.968 MB / 0.5602 GB, free: 98.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005361/1.468, allocations: 393.9 kB / 0.5606 GB, free: 98.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003304/1.471, allocations: 0.5138 MB / 0.5611 GB, free: 98.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04091/1.512, allocations: 12.8 MB / 0.5736 GB, free: 94.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003437/1.512, allocations: 64.66 kB / 0.5736 GB, free: 94.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002833/1.515, allocations: 247.2 kB / 0.5739 GB, free: 94.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/1.518, allocations: 1.212 MB / 0.575 GB, free: 93.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03508/1.553, allocations: 10.88 MB / 0.5857 GB, free: 90.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09385/1.647, allocations: 55.77 MB / 0.6401 GB, free: 43.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02671/1.674, allocations: 5.25 MB / 0.6453 GB, free: 37.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006441/1.681, allocations: 3.278 MB / 0.6485 GB, free: 34.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002327/1.683, allocations: 1.01 MB / 0.6495 GB, free: 33.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/1.683, allocations: 55.88 kB / 0.6495 GB, free: 33.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 6.752e-06/1.683, allocations: 3.938 kB / 0.6495 GB, free: 33.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.1023/1.785, allocations: 21.92 MB / 0.6709 GB, free: 11.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/1.785, allocations: 154.5 kB / 0.6711 GB, free: 11.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008998/1.794, allocations: 3.964 MB / 0.6749 GB, free: 7.238 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008147/1.795, allocations: 61.7 kB / 0.675 GB, free: 7.172 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.798, allocations: 3.424 MB / 0.6783 GB, free: 3.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.8, allocations: 0.9662 MB / 0.6793 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/1.802, allocations: 143.2 kB / 0.6794 GB, free: 2.656 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007141/1.802, allocations: 0.6 MB / 0.68 GB, free: 2.047 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008138/1.81, allocations: 2.965 MB / 0.6829 GB, free: 15.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/1.823, allocations: 6.831 MB / 0.6896 GB, free: 6.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/1.835, allocations: 4.468 MB / 0.6939 GB, free: 1.844 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/1.835, allocations: 40 kB / 0.694 GB, free: 1.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03346/1.869, allocations: 10.18 MB / 0.7039 GB, free: 7.613 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.869, allocations: 66.5 kB / 0.704 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/1.869, allocations: 136 kB / 0.7041 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/1.875, allocations: 1.142 MB / 0.7052 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/1.887, allocations: 1.7 MB / 0.7069 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3616/2.249, allocations: 5.922 MB / 0.7127 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009496/2.259, allocations: 422.6 kB / 0.7131 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/2.261, allocations: 422.7 kB / 0.7135 GB, free: 115.4 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.003395/2.264, allocations: 0.6203 MB / 0.7141 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/2.266, allocations: 408.1 kB / 0.7145 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02108/2.287, allocations: 5.577 MB / 0.7199 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.584e-05/2.287, allocations: 29.05 kB / 0.7199 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/2.287, allocations: 2.656 kB / 0.7199 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-05/2.287, allocations: 12.55 kB / 0.72 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04057/2.328, allocations: 12.26 MB / 0.7319 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.505e-05/2.328, allocations: 6.828 kB / 0.7319 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00552/2.333, allocations: 0.5181 MB / 0.7324 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/2.338, allocations: 0.9327 MB / 0.7334 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008106/2.339, allocations: 50.06 kB / 0.7334 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/2.35, allocations: 5.642 MB / 0.7389 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/2.35, allocations: 10.8 kB / 0.7389 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02372/2.374, allocations: 9.831 MB / 0.7485 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003854/2.378, allocations: 0.9094 MB / 0.7494 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/2.379, allocations: 47.58 kB / 0.7495 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005177/2.385, allocations: 194.6 kB / 0.7496 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/2.386, allocations: 149.6 kB / 0.7498 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003331/2.386, allocations: 68.36 kB / 0.7498 GB, free: 107.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007197/2.393, allocations: 2.774 MB / 0.7526 GB, free: 106.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.242e-06/2.393, allocations: 0 / 0.7526 GB, free: 106.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009385/2.403, allocations: 1.26 MB / 0.7538 GB, free: 106.7 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.02433/2.427, allocations: 11.18 MB / 0.7647 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01717/2.444, allocations: 6.961 MB / 0.7715 GB, free: 99.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/2.444, allocations: 2 kB / 0.7715 GB, free: 99.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006838/2.451, allocations: 2.697 MB / 0.7741 GB, free: 98.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/2.456, allocations: 461.1 kB / 0.7746 GB, free: 97.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/2.496, allocations: 12.32 MB / 0.7866 GB, free: 93.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00824/2.504, allocations: 3.91 MB / 0.7904 GB, free: 91.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006398/2.51, allocations: 2.371 MB / 0.7927 GB, free: 89.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.793e-06/2.51, allocations: 0 / 0.7927 GB, free: 89.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.061/7.571, allocations: 120.2 MB / 0.9101 GB, free: 125.5 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat