Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.546e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4123, allocations: 54.86 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.6021, allocations: 101.9 MB / 461.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.6025, allocations: 83.95 kB / 461.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7534/1.356, allocations: 83.98 MB / 0.5331 GB, free: 103 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.356, allocations: 4.438 kB / 0.5331 GB, free: 103 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003029/1.356, allocations: 81.31 kB / 0.5331 GB, free: 103 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02894/1.385, allocations: 4.491 MB / 0.5375 GB, free: 101.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.385, allocations: 11.91 kB / 0.5375 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004094/1.39, allocations: 0.7712 MB / 0.5383 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/1.408, allocations: 2.215 MB / 0.5404 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/1.428, allocations: 4.508 MB / 0.5448 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/1.429, allocations: 321.8 kB / 0.5452 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/1.432, allocations: 422.8 kB / 0.5456 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/1.467, allocations: 10.62 MB / 0.5559 GB, free: 97.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003381/1.468, allocations: 63.84 kB / 0.556 GB, free: 97.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002251/1.47, allocations: 200.8 kB / 0.5562 GB, free: 97.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/1.473, allocations: 1.01 MB / 0.5572 GB, free: 97.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03085/1.504, allocations: 8.73 MB / 0.5657 GB, free: 96.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07107/1.575, allocations: 47.4 MB / 0.612 GB, free: 60.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.594, allocations: 3.564 MB / 0.6155 GB, free: 59.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/1.598, allocations: 1.793 MB / 0.6172 GB, free: 58.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/1.611, allocations: 4.75 MB / 0.6219 GB, free: 55.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.611, allocations: 47.12 kB / 0.6219 GB, free: 55.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 6.071e-06/1.611, allocations: 0 / 0.6219 GB, free: 55.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.04128/1.652, allocations: 9.881 MB / 0.6315 GB, free: 47.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/1.653, allocations: 145.3 kB / 0.6317 GB, free: 47.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009006/1.662, allocations: 3.596 MB / 0.6352 GB, free: 44.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000457/1.662, allocations: 49.7 kB / 0.6352 GB, free: 44.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002912/1.665, allocations: 3.14 MB / 0.6383 GB, free: 41.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.666, allocations: 0.5893 MB / 0.6389 GB, free: 41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000758/1.667, allocations: 116 kB / 0.639 GB, free: 40.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004325/1.667, allocations: 0.5416 MB / 0.6395 GB, free: 40.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005102/1.672, allocations: 1.897 MB / 0.6414 GB, free: 38.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007608/1.68, allocations: 5.523 MB / 0.6468 GB, free: 31.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007352/1.688, allocations: 3.212 MB / 0.6499 GB, free: 28.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.688, allocations: 36 kB / 0.6499 GB, free: 28.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02319/1.711, allocations: 7.547 MB / 0.6573 GB, free: 22.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.711, allocations: 64 kB / 0.6574 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.711, allocations: 128 kB / 0.6575 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/1.716, allocations: 0.9153 MB / 0.6584 GB, free: 21.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008494/1.724, allocations: 1.353 MB / 0.6597 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00931/1.734, allocations: 4.778 MB / 0.6644 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006997/1.741, allocations: 319.7 kB / 0.6647 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.742, allocations: 364 kB / 0.665 GB, free: 14.24 MB / 458.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.001907/1.744, allocations: 0.5639 MB / 0.6656 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009569/1.745, allocations: 343.5 kB / 0.6659 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009204/1.754, allocations: 2.823 MB / 0.6687 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/1.754, allocations: 16 kB / 0.6687 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.755, allocations: 4 kB / 0.6687 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/1.755, allocations: 7.922 kB / 0.6687 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/1.777, allocations: 7.092 MB / 0.6756 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/1.777, allocations: 4 kB / 0.6756 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.78, allocations: 243.6 kB / 0.6759 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003864/1.784, allocations: 0.6952 MB / 0.6765 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/1.784, allocations: 28 kB / 0.6766 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009273/1.794, allocations: 4.335 MB / 0.6808 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.794, allocations: 7.969 kB / 0.6808 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.809, allocations: 5.139 MB / 0.6858 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/1.812, allocations: 0.6059 MB / 0.6864 GB, free: 8.074 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.813, allocations: 31.98 kB / 0.6864 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/1.817, allocations: 91.88 kB / 0.6865 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007257/1.818, allocations: 80.83 kB / 0.6866 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.818, allocations: 39.98 kB / 0.6866 GB, free: 7.836 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007982/1.826, allocations: 2.5 MB / 0.6891 GB, free: 5.316 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.637e-06/1.826, allocations: 0 / 0.6891 GB, free: 5.316 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008091/1.834, allocations: 0.9606 MB / 0.69 GB, free: 4.359 MB / 474.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.0162/1.85, allocations: 5.93 MB / 0.6958 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01272/1.863, allocations: 4.412 MB / 0.7001 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.863, allocations: 0 / 0.7001 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003821/1.867, allocations: 1.337 MB / 0.7014 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/1.871, allocations: 405.7 kB / 0.7018 GB, free: 8.262 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3861/2.257, allocations: 8.521 MB / 0.7101 GB, free: 119.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008911/2.266, allocations: 3.309 MB / 0.7134 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009736/2.276, allocations: 1.827 MB / 0.7152 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004818/2.281, allocations: 1.845 MB / 0.717 GB, free: 118.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.784e-06/2.281, allocations: 3.906 kB / 0.717 GB, free: 118.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1973/2.478, allocations: 73.18 MB / 0.7884 GB, free: 96.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/2.479, allocations: 176 kB / 0.7886 GB, free: 96.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.187/7.666, allocations: 4 kB / 0.7886 GB, free: 96.16 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat