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.029/2.029, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.649e-05, allocations: 4 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5718, allocations: 94.65 MB / 411 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5722, allocations: 82.77 kB / 411.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6703/1.242, allocations: 82.31 MB / 493.4 MB, free: 85.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.243, allocations: 0.5469 kB / 493.4 MB, free: 85.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002963/1.243, allocations: 83.34 kB / 493.5 MB, free: 85.58 MB / 410.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.02761/1.27, allocations: 4.493 MB / 498 MB, free: 84.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.271, allocations: 11.91 kB / 498 MB, free: 84.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/1.289, allocations: 2.209 MB / 0.4885 GB, free: 84.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/1.308, allocations: 4.502 MB / 0.4928 GB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/1.308, allocations: 136.2 kB / 0.493 GB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/1.311, allocations: 250.2 kB / 0.4932 GB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01787/1.329, allocations: 6.403 MB / 0.4995 GB, free: 84.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02484/1.354, allocations: 9.615 MB / 0.5089 GB, free: 81.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003436/1.354, allocations: 61.95 kB / 0.5089 GB, free: 81.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/1.356, allocations: 29.47 kB / 0.5089 GB, free: 81.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/1.359, allocations: 1.01 MB / 0.5099 GB, free: 81.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06999/1.429, allocations: 45.43 MB / 0.5543 GB, free: 50.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005895/1.435, allocations: 3.225 MB / 0.5574 GB, free: 48.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/1.438, allocations: 1.754 MB / 0.5592 GB, free: 48.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/1.45, allocations: 4.614 MB / 0.5637 GB, free: 45.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.45, allocations: 50.16 kB / 0.5637 GB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 5.02e-06/1.45, allocations: 0 / 0.5637 GB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.03314/1.483, allocations: 11.07 MB / 0.5745 GB, free: 40.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/1.483, allocations: 144.6 kB / 0.5747 GB, free: 40.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/1.49, allocations: 3.058 MB / 0.5777 GB, free: 38.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000419/1.491, allocations: 29.64 kB / 0.5777 GB, free: 38.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002759/1.494, allocations: 3.205 MB / 0.5808 GB, free: 36.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.495, allocations: 0.5755 MB / 0.5814 GB, free: 35.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006081/1.495, allocations: 5.562 kB / 0.5814 GB, free: 35.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003758/1.496, allocations: 0.5612 MB / 0.5819 GB, free: 35.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/1.5, allocations: 1.824 MB / 0.5837 GB, free: 34.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007114/1.507, allocations: 5.637 MB / 0.5892 GB, free: 26.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007158/1.514, allocations: 3.176 MB / 0.5923 GB, free: 24.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/1.514, allocations: 40 kB / 0.5924 GB, free: 24.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02142/1.536, allocations: 7.278 MB / 0.5995 GB, free: 17.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.536, allocations: 71.69 kB / 0.5995 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/1.536, allocations: 136 kB / 0.5997 GB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/1.54, allocations: 0.9178 MB / 0.6006 GB, free: 16.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00852/1.549, allocations: 1.399 MB / 0.6019 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008706/1.558, allocations: 4.611 MB / 0.6064 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00662/1.564, allocations: 210.7 kB / 0.6066 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/1.566, allocations: 382.7 kB / 0.607 GB, free: 11.12 MB / 410.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.001444/1.567, allocations: 453.8 kB / 0.6074 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008885/1.576, allocations: 2.998 MB / 0.6103 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.577, allocations: 308 kB / 0.6106 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008608/1.586, allocations: 2.72 MB / 0.6133 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.655e-05/1.586, allocations: 16 kB / 0.6133 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.586, allocations: 4 kB / 0.6133 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/1.586, allocations: 11.02 kB / 0.6133 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.605, allocations: 6.22 MB / 0.6194 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.605, allocations: 0 / 0.6194 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/1.607, allocations: 251.6 kB / 0.6196 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/1.611, allocations: 0.694 MB / 0.6203 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/1.612, allocations: 7.984 kB / 0.6203 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00932/1.621, allocations: 4.19 MB / 0.6244 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.621, allocations: 3.938 kB / 0.6244 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.636, allocations: 5.001 MB / 0.6293 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.638, allocations: 0.5671 MB / 0.6299 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.639, allocations: 4 kB / 0.6299 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.642, allocations: 79.25 kB / 0.6299 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005549/1.642, allocations: 89.12 kB / 0.63 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.643, allocations: 43.98 kB / 0.6301 GB, free: 5.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005538/1.648, allocations: 2.036 MB / 0.6321 GB, free: 3.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.648, allocations: 0 / 0.6321 GB, free: 3.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007634/1.656, allocations: 0.8138 MB / 0.6329 GB, free: 2.695 MB / 426.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.346/2.002, allocations: 5.785 MB / 0.6385 GB, free: 90.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/2.013, allocations: 4.386 MB / 0.6428 GB, free: 90.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/2.013, allocations: 0 / 0.6428 GB, free: 90.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/2.016, allocations: 1.315 MB / 0.6441 GB, free: 90.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/2.019, allocations: 312.9 kB / 0.6444 GB, free: 90.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/2.052, allocations: 8.338 MB / 0.6525 GB, free: 88.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008037/2.061, allocations: 3.313 MB / 0.6557 GB, free: 88.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008831/2.069, allocations: 1.863 MB / 0.6576 GB, free: 88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004509/2.074, allocations: 1.824 MB / 0.6593 GB, free: 87.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.605e-06/2.074, allocations: 2.438 kB / 0.6593 GB, free: 87.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/2.25, allocations: 67.15 MB / 0.7249 GB, free: 58.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/2.25, allocations: 145.4 kB / 0.7251 GB, free: 57.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.833/7.083, allocations: 3.938 kB / 0.7251 GB, free: 57.84 MB / 426.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