Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.355e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09384, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5193, allocations: 92.98 MB / 392.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5196, allocations: 87.91 kB / 393 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3938/0.9134, allocations: 97 MB / 490 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.9135, allocations: 4 kB / 490 MB, free: 10.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003544/0.9139, allocations: 104 kB / 490.1 MB, free: 9.934 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03141/0.9453, allocations: 5.491 MB / 495.6 MB, free: 4.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.9454, allocations: 8.031 kB / 495.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003907/0.9493, allocations: 0.9271 MB / 496.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.9679, allocations: 2.317 MB / 498.9 MB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.987, allocations: 4.925 MB / 0.492 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004692/0.9876, allocations: 398.3 kB / 0.4924 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.9901, allocations: 0.5115 MB / 0.4929 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/1.03, allocations: 12.89 MB / 0.5055 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/1.03, allocations: 67.41 kB / 0.5055 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/1.031, allocations: 247.9 kB / 0.5058 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002942/1.034, allocations: 1.204 MB / 0.5069 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/1.073, allocations: 11.02 MB / 0.5177 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4525/1.525, allocations: 57.07 MB / 0.5734 GB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02568/1.551, allocations: 5.135 MB / 0.5784 GB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006233/1.557, allocations: 3.163 MB / 0.5815 GB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/1.559, allocations: 0.6928 MB / 0.5822 GB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.559, allocations: 57.5 kB / 0.5823 GB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 6.442e-06/1.559, allocations: 0 / 0.5823 GB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.09858/1.658, allocations: 21.51 MB / 0.6033 GB, free: 35.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.658, allocations: 150.6 kB / 0.6034 GB, free: 35.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009706/1.668, allocations: 4.043 MB / 0.6074 GB, free: 33.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007831/1.668, allocations: 61.19 kB / 0.6074 GB, free: 33.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003296/1.672, allocations: 3.581 MB / 0.6109 GB, free: 31.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001673/1.673, allocations: 0.9516 MB / 0.6118 GB, free: 30.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/1.675, allocations: 134.4 kB / 0.612 GB, free: 30.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000678/1.675, allocations: 0.6117 MB / 0.6126 GB, free: 29.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007845/1.683, allocations: 2.968 MB / 0.6155 GB, free: 28.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.694, allocations: 6.998 MB / 0.6223 GB, free: 22.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.704, allocations: 4.505 MB / 0.6267 GB, free: 21.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/1.704, allocations: 40.38 kB / 0.6267 GB, free: 21.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03063/1.735, allocations: 10.82 MB / 0.6373 GB, free: 16.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.735, allocations: 75.97 kB / 0.6374 GB, free: 16.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.735, allocations: 140 kB / 0.6375 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004811/1.74, allocations: 1.137 MB / 0.6386 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/1.752, allocations: 1.735 MB / 0.6403 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.763, allocations: 5.925 MB / 0.6461 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009008/1.772, allocations: 429 kB / 0.6465 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/1.774, allocations: 432.3 kB / 0.6469 GB, free: 8.215 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (870): * Single equations (assignments): 866 * 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.002717/1.777, allocations: 0.6338 MB / 0.6475 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001853/1.778, allocations: 414.6 kB / 0.6479 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/1.795, allocations: 5.493 MB / 0.6533 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/1.796, allocations: 29.17 kB / 0.6533 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.796, allocations: 4 kB / 0.6533 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-05/1.796, allocations: 10.78 kB / 0.6533 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.834, allocations: 12.14 MB / 0.6652 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.852e-05/1.834, allocations: 4.5 kB / 0.6652 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005565/1.84, allocations: 0.5028 MB / 0.6657 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004685/1.845, allocations: 0.9381 MB / 0.6666 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006759/1.845, allocations: 51.66 kB / 0.6667 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.858, allocations: 5.634 MB / 0.6722 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.858, allocations: 4 kB / 0.6722 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3414/2.199, allocations: 9.695 MB / 0.6816 GB, free: 87.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003841/2.203, allocations: 0.9033 MB / 0.6825 GB, free: 87.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/2.205, allocations: 43 kB / 0.6826 GB, free: 87.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0049/2.21, allocations: 179.3 kB / 0.6827 GB, free: 87.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/2.211, allocations: 153.9 kB / 0.6829 GB, free: 87.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/2.211, allocations: 68.94 kB / 0.6829 GB, free: 87.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008602/2.22, allocations: 2.827 MB / 0.6857 GB, free: 87.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.22, allocations: 0 / 0.6857 GB, free: 87.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009038/2.229, allocations: 1.262 MB / 0.6869 GB, free: 87.69 MB / 426.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.02572/2.255, allocations: 11.06 MB / 0.6977 GB, free: 85.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01711/2.272, allocations: 7.166 MB / 0.7047 GB, free: 85.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.272, allocations: 0 / 0.7047 GB, free: 85.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006685/2.279, allocations: 2.691 MB / 0.7074 GB, free: 85.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/2.283, allocations: 460.8 kB / 0.7078 GB, free: 85.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/2.322, allocations: 11.73 MB / 0.7192 GB, free: 83.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008031/2.33, allocations: 3.899 MB / 0.7231 GB, free: 82.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01068/2.341, allocations: 2.319 MB / 0.7253 GB, free: 82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005969/2.347, allocations: 2.335 MB / 0.7276 GB, free: 80.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/2.347, allocations: 0 / 0.7276 GB, free: 80.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2453/2.593, allocations: 96.84 MB / 0.8222 GB, free: 9.484 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/2.593, allocations: 213.1 kB / 0.8224 GB, free: 9.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.19/8.783, allocations: 0 / 0.8224 GB, free: 9.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat