Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.831e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5808, allocations: 98.9 MB / 415.9 MB, free: 5.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.5812, allocations: 90.75 kB / 416 MB, free: 4.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4119/0.9931, allocations: 98.17 MB / 0.5021 GB, free: 9.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9932, allocations: 0 / 0.5021 GB, free: 9.629 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003421/0.9935, allocations: 96 kB / 0.5022 GB, free: 9.535 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03235/1.026, allocations: 5.515 MB / 0.5076 GB, free: 3.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/1.026, allocations: 12.03 kB / 0.5076 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004162/1.03, allocations: 0.9234 MB / 0.5085 GB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/1.049, allocations: 2.317 MB / 0.5108 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3118/1.361, allocations: 4.928 MB / 0.5156 GB, free: 87.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000577/1.361, allocations: 395.5 kB / 0.516 GB, free: 87.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/1.364, allocations: 0.51 MB / 0.5165 GB, free: 87.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04171/1.406, allocations: 12.85 MB / 0.529 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/1.406, allocations: 65.03 kB / 0.5291 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002097/1.409, allocations: 248.8 kB / 0.5293 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00277/1.411, allocations: 1.205 MB / 0.5305 GB, free: 84.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03387/1.445, allocations: 10.82 MB / 0.5411 GB, free: 84.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08974/1.535, allocations: 57.19 MB / 0.5969 GB, free: 46.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/1.561, allocations: 5.127 MB / 0.6019 GB, free: 44.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006383/1.568, allocations: 3.159 MB / 0.605 GB, free: 43.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/1.57, allocations: 0.6845 MB / 0.6057 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/1.57, allocations: 62.34 kB / 0.6057 GB, free: 42.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=221): time 5.751e-06/1.57, allocations: 0 / 0.6057 GB, free: 42.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.09854/1.668, allocations: 21.51 MB / 0.6267 GB, free: 29.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/1.668, allocations: 150.5 kB / 0.6269 GB, free: 29.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009292/1.678, allocations: 4.064 MB / 0.6309 GB, free: 26.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007765/1.678, allocations: 65.39 kB / 0.6309 GB, free: 26.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003158/1.682, allocations: 3.6 MB / 0.6344 GB, free: 22.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.683, allocations: 0.9442 MB / 0.6354 GB, free: 21.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/1.684, allocations: 140 kB / 0.6355 GB, free: 21.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005073/1.685, allocations: 0.5975 MB / 0.6361 GB, free: 21.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007359/1.692, allocations: 2.969 MB / 0.639 GB, free: 18.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.702, allocations: 6.987 MB / 0.6458 GB, free: 10.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009987/1.712, allocations: 4.52 MB / 0.6502 GB, free: 6.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/1.713, allocations: 44 kB / 0.6503 GB, free: 6.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.03262/1.745, allocations: 10.56 MB / 0.6606 GB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.745, allocations: 68 kB / 0.6606 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002556/1.746, allocations: 144 kB / 0.6608 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/1.751, allocations: 1.141 MB / 0.6619 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/1.764, allocations: 1.741 MB / 0.6636 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.777, allocations: 5.929 MB / 0.6694 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009097/1.786, allocations: 430.1 kB / 0.6698 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/1.788, allocations: 434.4 kB / 0.6702 GB, free: 5.164 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 653 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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.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 (873): * Single equations (assignments): 869 * 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.001831/1.79, allocations: 0.6458 MB / 0.6708 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.792, allocations: 414.7 kB / 0.6712 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3276/2.119, allocations: 5.495 MB / 0.6766 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.57e-05/2.119, allocations: 27.38 kB / 0.6766 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/2.119, allocations: 4.031 kB / 0.6766 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.464e-05/2.119, allocations: 12.17 kB / 0.6766 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03652/2.156, allocations: 12.1 MB / 0.6884 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/2.156, allocations: 2.531 kB / 0.6884 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005408/2.162, allocations: 0.5078 MB / 0.6889 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004433/2.166, allocations: 0.9281 MB / 0.6898 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005186/2.166, allocations: 51.86 kB / 0.6899 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/2.177, allocations: 5.648 MB / 0.6954 GB, free: 89.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/2.177, allocations: 6.75 kB / 0.6954 GB, free: 89.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/2.198, allocations: 9.696 MB / 0.7049 GB, free: 88.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003184/2.201, allocations: 0.909 MB / 0.7058 GB, free: 88.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000908/2.202, allocations: 42.94 kB / 0.7058 GB, free: 88.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/2.206, allocations: 183.3 kB / 0.706 GB, free: 88.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005759/2.206, allocations: 150 kB / 0.7061 GB, free: 88.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/2.207, allocations: 67.81 kB / 0.7062 GB, free: 88.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005944/2.213, allocations: 2.843 MB / 0.709 GB, free: 88.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.213, allocations: 0 / 0.709 GB, free: 88.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008777/2.222, allocations: 1.264 MB / 0.7102 GB, free: 88.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.02281/2.244, allocations: 11.06 MB / 0.721 GB, free: 84.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01607/2.261, allocations: 6.961 MB / 0.7278 GB, free: 82.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.261, allocations: 0 / 0.7278 GB, free: 82.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006306/2.267, allocations: 2.66 MB / 0.7304 GB, free: 81.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004001/2.271, allocations: 456.8 kB / 0.7308 GB, free: 81.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/2.307, allocations: 11.76 MB / 0.7423 GB, free: 77.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007886/2.315, allocations: 3.907 MB / 0.7461 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01132/2.327, allocations: 2.329 MB / 0.7484 GB, free: 75.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006057/2.333, allocations: 2.341 MB / 0.7507 GB, free: 73.91 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/2.333, allocations: 3.062 kB / 0.7507 GB, free: 73.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5174/2.85, allocations: 96.51 MB / 0.845 GB, free: 85.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/2.851, allocations: 208 kB / 0.8452 GB, free: 85.53 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.213/9.063, allocations: 0 / 0.8452 GB, free: 85.53 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat