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.026/2.026, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.947e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5564, allocations: 95.1 MB / 417 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5568, allocations: 83.94 kB / 417 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3886/0.9454, allocations: 83.96 MB / 0.4893 GB, free: 5.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.9455, allocations: 4 kB / 0.4893 GB, free: 5.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004008/0.9459, allocations: 88.06 kB / 0.4893 GB, free: 5.785 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.03483/0.9808, allocations: 4.486 MB / 0.4937 GB, free: 1.234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.085e-05/0.9809, allocations: 12.03 kB / 0.4937 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004389/0.9853, allocations: 0.7706 MB / 0.4945 GB, free: 452 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3048/1.29, allocations: 2.203 MB / 0.4966 GB, free: 95.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/1.309, allocations: 4.499 MB / 0.501 GB, free: 95.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/1.309, allocations: 320.9 kB / 0.5013 GB, free: 95.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/1.312, allocations: 428.6 kB / 0.5018 GB, free: 95.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04553/1.357, allocations: 10.67 MB / 0.5122 GB, free: 92.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000332/1.358, allocations: 61.7 kB / 0.5122 GB, free: 92.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/1.359, allocations: 205.2 kB / 0.5124 GB, free: 92.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/1.363, allocations: 1.005 MB / 0.5134 GB, free: 92.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03876/1.402, allocations: 8.902 MB / 0.5221 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06959/1.471, allocations: 47.41 MB / 0.5684 GB, free: 58.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/1.49, allocations: 3.573 MB / 0.5719 GB, free: 57.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003597/1.494, allocations: 1.787 MB / 0.5736 GB, free: 56.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/1.505, allocations: 4.74 MB / 0.5783 GB, free: 54.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/1.505, allocations: 50.81 kB / 0.5783 GB, free: 53.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.28e-06/1.505, allocations: 0 / 0.5783 GB, free: 53.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.03636/1.542, allocations: 9.893 MB / 0.588 GB, free: 49.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/1.542, allocations: 147.4 kB / 0.5881 GB, free: 49.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007776/1.55, allocations: 3.595 MB / 0.5916 GB, free: 48.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/1.55, allocations: 50.36 kB / 0.5917 GB, free: 48.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/1.553, allocations: 3.14 MB / 0.5947 GB, free: 45.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009507/1.554, allocations: 0.5913 MB / 0.5953 GB, free: 45.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006405/1.554, allocations: 110.9 kB / 0.5954 GB, free: 45.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003733/1.555, allocations: 0.5461 MB / 0.596 GB, free: 44.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/1.559, allocations: 1.889 MB / 0.5978 GB, free: 44.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006627/1.566, allocations: 5.558 MB / 0.6032 GB, free: 37.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006809/1.573, allocations: 3.215 MB / 0.6064 GB, free: 34.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.972e-05/1.573, allocations: 40 kB / 0.6064 GB, free: 34.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02189/1.595, allocations: 7.912 MB / 0.6141 GB, free: 27.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.595, allocations: 67.47 kB / 0.6142 GB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/1.595, allocations: 128 kB / 0.6143 GB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004315/1.6, allocations: 0.9086 MB / 0.6152 GB, free: 27.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008303/1.608, allocations: 1.354 MB / 0.6165 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009149/1.617, allocations: 4.778 MB / 0.6212 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006687/1.624, allocations: 310.1 kB / 0.6215 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.625, allocations: 371.4 kB / 0.6218 GB, free: 20.96 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.00111/1.626, allocations: 0.552 MB / 0.6224 GB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/1.627, allocations: 343.5 kB / 0.6227 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00852/1.636, allocations: 2.83 MB / 0.6255 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/1.636, allocations: 23.95 kB / 0.6255 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.636, allocations: 8 kB / 0.6255 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/1.636, allocations: 10.27 kB / 0.6255 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/1.656, allocations: 7.083 MB / 0.6324 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.656, allocations: 4 kB / 0.6324 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/1.658, allocations: 253.3 kB / 0.6327 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.662, allocations: 0.699 MB / 0.6334 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.662, allocations: 24 kB / 0.6334 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00787/1.67, allocations: 4.34 MB / 0.6376 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.67, allocations: 0 / 0.6376 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.682, allocations: 5.138 MB / 0.6426 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/1.684, allocations: 0.6136 MB / 0.6432 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/1.684, allocations: 24 kB / 0.6433 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.687, allocations: 95.83 kB / 0.6434 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000377/1.687, allocations: 85.67 kB / 0.6434 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.687, allocations: 43.98 kB / 0.6435 GB, free: 1.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006107/1.693, allocations: 2.508 MB / 0.6459 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.694, allocations: 0 / 0.6459 GB, free: 14.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006948/1.701, allocations: 0.9487 MB / 0.6469 GB, free: 13.99 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.01995/1.721, allocations: 5.935 MB / 0.6526 GB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0146/1.735, allocations: 4.602 MB / 0.6571 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.735, allocations: 0 / 0.6571 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.739, allocations: 1.347 MB / 0.6585 GB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.742, allocations: 391.4 kB / 0.6588 GB, free: 1.691 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3464/2.088, allocations: 8.538 MB / 0.6672 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007968/2.096, allocations: 3.319 MB / 0.6704 GB, free: 99.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009677/2.106, allocations: 1.822 MB / 0.6722 GB, free: 99.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006115/2.112, allocations: 1.851 MB / 0.674 GB, free: 99.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/2.112, allocations: 2.625 kB / 0.674 GB, free: 99.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/2.292, allocations: 73.74 MB / 0.746 GB, free: 72.83 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/2.292, allocations: 167.5 kB / 0.7462 GB, free: 72.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.153/7.445, allocations: 0 / 0.7462 GB, free: 72.61 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