Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.459e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4325, allocations: 61.86 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.6327, allocations: 109.6 MB / 0.5077 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.6331, allocations: 83.95 kB / 0.5078 GB, free: 12.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6847/1.318, allocations: 81.99 MB / 0.5879 GB, free: 54.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.318, allocations: 3.938 kB / 0.5879 GB, free: 54.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003162/1.318, allocations: 76 kB / 0.5879 GB, free: 54.15 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.03317/1.351, allocations: 4.352 MB / 0.5922 GB, free: 49.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/1.351, allocations: 8.031 kB / 0.5922 GB, free: 49.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004247/1.356, allocations: 0.7255 MB / 0.5929 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/1.38, allocations: 2.186 MB / 0.595 GB, free: 46.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02327/1.403, allocations: 4.278 MB / 0.5992 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005466/1.404, allocations: 304 kB / 0.5995 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/1.407, allocations: 399.8 kB / 0.5999 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03478/1.442, allocations: 10.17 MB / 0.6098 GB, free: 30.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/1.442, allocations: 55.47 kB / 0.6099 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/1.444, allocations: 199.9 kB / 0.6101 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/1.447, allocations: 0.9552 MB / 0.611 GB, free: 29.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/1.478, allocations: 8.316 MB / 0.6191 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09263/1.571, allocations: 45.88 MB / 0.6639 GB, free: 5.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/1.591, allocations: 3.352 MB / 0.6672 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004114/1.595, allocations: 1.631 MB / 0.6688 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/1.607, allocations: 4.442 MB / 0.6731 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/1.607, allocations: 55.02 kB / 0.6732 GB, free: 11.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.17e-06/1.607, allocations: 0 / 0.6732 GB, free: 11.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.04247/1.65, allocations: 9.021 MB / 0.682 GB, free: 2.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/1.65, allocations: 137.3 kB / 0.6821 GB, free: 2.559 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009528/1.66, allocations: 3.525 MB / 0.6856 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004361/1.66, allocations: 41.7 kB / 0.6856 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004082/1.664, allocations: 3.036 MB / 0.6886 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00142/1.666, allocations: 0.521 MB / 0.6891 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009778/1.667, allocations: 108 kB / 0.6892 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008288/1.668, allocations: 0.5335 MB / 0.6897 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007313/1.675, allocations: 1.737 MB / 0.6914 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/1.687, allocations: 5.277 MB / 0.6966 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00921/1.696, allocations: 3.001 MB / 0.6995 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/1.697, allocations: 43.94 kB / 0.6995 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.03121/1.728, allocations: 7.135 MB / 0.7065 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/1.728, allocations: 60 kB / 0.7066 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003378/1.729, allocations: 128 kB / 0.7067 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007784/1.736, allocations: 0.9061 MB / 0.7076 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01274/1.749, allocations: 1.283 MB / 0.7088 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/1.765, allocations: 4.759 MB / 0.7135 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/1.772, allocations: 299.7 kB / 0.7137 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4219/2.194, allocations: 347.8 kB / 0.7141 GB, free: 129.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (676): * Single equations (assignments): 672 * 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.002006/2.196, allocations: 0.5454 MB / 0.7146 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/2.197, allocations: 326.5 kB / 0.7149 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/2.206, allocations: 2.473 MB / 0.7173 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/2.206, allocations: 15.58 kB / 0.7173 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/2.206, allocations: 6.734 kB / 0.7174 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/2.206, allocations: 7.484 kB / 0.7174 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/2.227, allocations: 6.406 MB / 0.7236 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/2.227, allocations: 3.438 kB / 0.7236 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/2.229, allocations: 206.5 kB / 0.7238 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003934/2.233, allocations: 0.6962 MB / 0.7245 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/2.234, allocations: 24.25 kB / 0.7245 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008507/2.242, allocations: 4.331 MB / 0.7288 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.242, allocations: 3.953 kB / 0.7288 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/2.254, allocations: 4.565 MB / 0.7332 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/2.255, allocations: 396.3 kB / 0.7336 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/2.256, allocations: 22.66 kB / 0.7336 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/2.259, allocations: 79.59 kB / 0.7337 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/2.259, allocations: 74.64 kB / 0.7338 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/2.259, allocations: 37.47 kB / 0.7338 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006556/2.266, allocations: 2.45 MB / 0.7362 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/2.266, allocations: 2.125 kB / 0.7362 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007228/2.273, allocations: 0.8942 MB / 0.7371 GB, free: 126.4 MB / 0.5105 GB 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 (95): * Single equations (assignments): 91 * 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.01222/2.286, allocations: 5.365 MB / 0.7423 GB, free: 125 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01019/2.296, allocations: 4.041 MB / 0.7462 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/2.296, allocations: 3.625 kB / 0.7463 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/2.298, allocations: 1.153 MB / 0.7474 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/2.302, allocations: 387.1 kB / 0.7477 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/2.327, allocations: 8.006 MB / 0.7556 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006434/2.334, allocations: 3.184 MB / 0.7587 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008248/2.342, allocations: 1.734 MB / 0.7604 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00416/2.346, allocations: 1.754 MB / 0.7621 GB, free: 118 MB / 0.5105 GB Notification: Performance of SimCode: time 1.843e-06/2.346, allocations: 0 / 0.7621 GB, free: 118 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1615/2.508, allocations: 70.03 MB / 0.8305 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/2.508, allocations: 170.3 kB / 0.8306 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.384/7.892, allocations: 3.062 kB / 0.8306 GB, free: 63.13 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat