Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.853/2.853, allocations: 235.2 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.809e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3967, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.5803, allocations: 87.01 MB / 441.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5807, allocations: 75.91 kB / 441.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7456/1.326, allocations: 88.26 MB / 0.5174 GB, free: 47.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.326, allocations: 3.938 kB / 0.5174 GB, free: 47.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004102/1.327, allocations: 96 kB / 0.5175 GB, free: 47.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1356/1.462, allocations: 9.648 MB / 0.5269 GB, free: 37.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.462, allocations: 8.031 kB / 0.5269 GB, free: 37.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/1.48, allocations: 2.076 MB / 0.5289 GB, free: 35.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.493, allocations: 3.395 MB / 0.5322 GB, free: 31.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/1.494, allocations: 148 kB / 0.5324 GB, free: 31.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003938/1.498, allocations: 291.7 kB / 0.5327 GB, free: 31.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02745/1.525, allocations: 9.677 MB / 0.5421 GB, free: 21.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05122/1.576, allocations: 13.15 MB / 0.555 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005473/1.577, allocations: 67.39 kB / 0.555 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00455/1.581, allocations: 32 kB / 0.555 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007074/1.589, allocations: 1.109 MB / 0.5561 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1626/1.751, allocations: 53.37 MB / 0.6082 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/1.772, allocations: 6.567 MB / 0.6147 GB, free: 8.664 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00908/1.781, allocations: 2.756 MB / 0.6174 GB, free: 5.898 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3955/2.177, allocations: 6.431 MB / 0.6236 GB, free: 107.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/2.177, allocations: 53.33 kB / 0.6237 GB, free: 107.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.893e-06/2.177, allocations: 0.6875 kB / 0.6237 GB, free: 107.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.008616/2.185, allocations: 2.6 MB / 0.6262 GB, free: 107.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/2.186, allocations: 148.5 kB / 0.6264 GB, free: 107.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.196, allocations: 3.72 MB / 0.63 GB, free: 107.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/2.197, allocations: 25.7 kB / 0.63 GB, free: 107.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003473/2.2, allocations: 3.626 MB / 0.6336 GB, free: 105.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001382/2.202, allocations: 0.7118 MB / 0.6343 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009431/2.202, allocations: 0 / 0.6343 GB, free: 105.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005741/2.203, allocations: 0.5959 MB / 0.6348 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005662/2.209, allocations: 2.066 MB / 0.6369 GB, free: 104.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008652/2.217, allocations: 6.412 MB / 0.6431 GB, free: 99.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008941/2.226, allocations: 3.625 MB / 0.6467 GB, free: 99.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001991/2.227, allocations: 43.41 kB / 0.6467 GB, free: 99.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02215/2.249, allocations: 7.565 MB / 0.6541 GB, free: 98.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/2.249, allocations: 75.72 kB / 0.6542 GB, free: 98.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002437/2.249, allocations: 158.1 kB / 0.6543 GB, free: 98.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/2.25, allocations: 228.8 kB / 0.6545 GB, free: 98.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/2.261, allocations: 1.659 MB / 0.6562 GB, free: 98.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002946/2.262, allocations: 303.7 kB / 0.6564 GB, free: 98.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009073/2.271, allocations: 0.7742 MB / 0.6572 GB, free: 97.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/2.273, allocations: 453.3 kB / 0.6576 GB, free: 97.76 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 867 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0023/2.275, allocations: 497.4 kB / 0.6581 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006745/2.282, allocations: 2.603 MB / 0.6606 GB, free: 97.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/2.283, allocations: 368.9 kB / 0.661 GB, free: 96.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006524/2.29, allocations: 2.383 MB / 0.6633 GB, free: 96.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/2.29, allocations: 23.56 kB / 0.6633 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/2.29, allocations: 7.25 kB / 0.6634 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/2.29, allocations: 13.09 kB / 0.6634 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/2.3, allocations: 3.193 MB / 0.6665 GB, free: 94.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/2.3, allocations: 0 / 0.6665 GB, free: 94.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004422/2.304, allocations: 344.7 kB / 0.6668 GB, free: 94.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.415e-05/2.304, allocations: 7.375 kB / 0.6668 GB, free: 94.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003994/2.305, allocations: 13.44 kB / 0.6668 GB, free: 94.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/2.305, allocations: 6.938 kB / 0.6668 GB, free: 94.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/2.305, allocations: 6.656 kB / 0.6668 GB, free: 94.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/2.315, allocations: 4.701 MB / 0.6714 GB, free: 92.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/2.316, allocations: 466.4 kB / 0.6719 GB, free: 92.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/2.318, allocations: 8.312 kB / 0.6719 GB, free: 92.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/2.321, allocations: 47.88 kB / 0.6719 GB, free: 92.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/2.322, allocations: 88.58 kB / 0.672 GB, free: 92.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/2.322, allocations: 52.64 kB / 0.6721 GB, free: 92.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007297/2.33, allocations: 2.489 MB / 0.6745 GB, free: 91.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.573e-06/2.33, allocations: 0 / 0.6745 GB, free: 91.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01412/2.344, allocations: 1.226 MB / 0.6757 GB, free: 91.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/2.358, allocations: 5.491 MB / 0.6811 GB, free: 87.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/2.37, allocations: 4.654 MB / 0.6856 GB, free: 83.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/2.371, allocations: 4.25 kB / 0.6856 GB, free: 83.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002885/2.373, allocations: 1.216 MB / 0.6868 GB, free: 82.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/2.377, allocations: 389.4 kB / 0.6872 GB, free: 82.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/2.411, allocations: 10.04 MB / 0.697 GB, free: 73.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008633/2.42, allocations: 3.665 MB / 0.7006 GB, free: 70.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01174/2.432, allocations: 2.077 MB / 0.7026 GB, free: 69.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006131/2.438, allocations: 2.18 MB / 0.7047 GB, free: 67.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.714e-06/2.438, allocations: 0 / 0.7047 GB, free: 67.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/2.717, allocations: 79.93 MB / 0.7828 GB, free: 9.691 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003715/2.717, allocations: 152.8 kB / 0.7829 GB, free: 9.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.134/8.851, allocations: 4 kB / 0.7829 GB, free: 9.496 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat