Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.664/2.664, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.695e-05/4.708e-05, allocations: 8 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5229, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.7229, allocations: 87.68 MB / 447.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.7233, allocations: 71.97 kB / 447.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7984/1.522, allocations: 89.74 MB / 0.5248 GB, free: 94.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.522, allocations: 2.969 kB / 0.5248 GB, free: 94.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000681/1.523, allocations: 97.34 kB / 0.5248 GB, free: 94.79 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.168/1.691, allocations: 9.651 MB / 0.5343 GB, free: 94.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.691, allocations: 9.344 kB / 0.5343 GB, free: 94.05 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004983/1.696, allocations: 0.8483 MB / 0.5351 GB, free: 93.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/1.712, allocations: 2.077 MB / 0.5371 GB, free: 93.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.726, allocations: 3.394 MB / 0.5405 GB, free: 93.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006647/1.727, allocations: 346 kB / 0.5408 GB, free: 93.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004295/1.731, allocations: 476.9 kB / 0.5412 GB, free: 93.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07031/1.801, allocations: 15.32 MB / 0.5562 GB, free: 90.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003829/1.802, allocations: 71.95 kB / 0.5563 GB, free: 90.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003504/1.805, allocations: 215.5 kB / 0.5565 GB, free: 90.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00432/1.81, allocations: 1.118 MB / 0.5576 GB, free: 90.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06423/1.874, allocations: 15.18 MB / 0.5724 GB, free: 88.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.992, allocations: 55.53 MB / 0.6266 GB, free: 49.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1142/2.106, allocations: 7.215 MB / 0.6337 GB, free: 42.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006529/2.113, allocations: 2.814 MB / 0.6364 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/2.126, allocations: 6.571 MB / 0.6428 GB, free: 33.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/2.127, allocations: 47.56 kB / 0.6429 GB, free: 32.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.282e-06/2.127, allocations: 4 kB / 0.6429 GB, free: 32.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.007156/2.134, allocations: 2.692 MB / 0.6455 GB, free: 30.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/2.134, allocations: 149.5 kB / 0.6456 GB, free: 30.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/2.146, allocations: 4.214 MB / 0.6498 GB, free: 25.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004083/2.146, allocations: 57.45 kB / 0.6498 GB, free: 25.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003506/2.15, allocations: 3.567 MB / 0.6533 GB, free: 22.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001311/2.151, allocations: 0.7301 MB / 0.654 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009122/2.152, allocations: 132 kB / 0.6541 GB, free: 21.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005271/2.153, allocations: 0.5871 MB / 0.6547 GB, free: 20.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00599/2.159, allocations: 2.157 MB / 0.6568 GB, free: 18.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008945/2.168, allocations: 6.404 MB / 0.6631 GB, free: 10.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008808/2.176, allocations: 3.702 MB / 0.6667 GB, free: 6.398 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/2.177, allocations: 44 kB / 0.6667 GB, free: 6.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02533/2.202, allocations: 8.375 MB / 0.6749 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/2.202, allocations: 72 kB / 0.675 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002837/2.202, allocations: 148 kB / 0.6751 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/2.203, allocations: 224.8 kB / 0.6753 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/2.214, allocations: 1.614 MB / 0.6769 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004304/2.215, allocations: 298.8 kB / 0.6772 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009349/2.224, allocations: 0.9277 MB / 0.6781 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/2.226, allocations: 439.3 kB / 0.6785 GB, free: 10.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * 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 (846): * Single equations (assignments): 843 * 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.002331/2.228, allocations: 0.6272 MB / 0.6791 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/2.23, allocations: 398.8 kB / 0.6795 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007997/2.238, allocations: 2.525 MB / 0.682 GB, free: 6.703 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/2.238, allocations: 20 kB / 0.682 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/2.238, allocations: 4 kB / 0.682 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/2.238, allocations: 7.969 kB / 0.682 GB, free: 6.672 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/2.252, allocations: 4.277 MB / 0.6862 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/2.252, allocations: 0 / 0.6862 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004122/2.256, allocations: 343.5 kB / 0.6865 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.485e-05/2.256, allocations: 8 kB / 0.6865 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003256/2.257, allocations: 47.89 kB / 0.6866 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/2.257, allocations: 4 kB / 0.6866 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/2.257, allocations: 11.92 kB / 0.6866 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/2.269, allocations: 4.845 MB / 0.6913 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/2.271, allocations: 499.3 kB / 0.6918 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.272, allocations: 35.98 kB / 0.6918 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003417/2.275, allocations: 67.84 kB / 0.6919 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/2.276, allocations: 101.2 kB / 0.692 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/2.276, allocations: 54.06 kB / 0.692 GB, free: 12.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009254/2.286, allocations: 2.929 MB / 0.6949 GB, free: 9.398 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.286, allocations: 0 / 0.6949 GB, free: 9.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008959/2.295, allocations: 1.349 MB / 0.6962 GB, free: 8.051 MB / 490.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.013/2.308, allocations: 5.654 MB / 0.7017 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.361/2.669, allocations: 4.928 MB / 0.7065 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/2.669, allocations: 1.906 kB / 0.7066 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004579/2.673, allocations: 1.259 MB / 0.7078 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/2.679, allocations: 478.8 kB / 0.7082 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04965/2.728, allocations: 10.29 MB / 0.7183 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.74, allocations: 3.667 MB / 0.7219 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01154/2.751, allocations: 2.047 MB / 0.7239 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006289/2.757, allocations: 2.201 MB / 0.726 GB, free: 112.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.074e-06/2.758, allocations: 4 kB / 0.726 GB, free: 112.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/2.974, allocations: 87.85 MB / 0.8118 GB, free: 66.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/2.974, allocations: 166 kB / 0.812 GB, free: 66.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.953/8.927, allocations: 0 / 0.812 GB, free: 66.31 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat