Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.67/1.67, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.448e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 38.77 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.4203, allocations: 87.27 MB / 351.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.4207, allocations: 87.94 kB / 351.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6599/1.081, allocations: 96.97 MB / 448.2 MB, free: 25.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.081, allocations: 0 / 448.2 MB, free: 25.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003867/1.081, allocations: 104 kB / 448.3 MB, free: 25.38 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.04805/1.129, allocations: 5.503 MB / 453.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.129, allocations: 12.03 kB / 453.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004197/1.133, allocations: 0.9232 MB / 454.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01824/1.152, allocations: 2.329 MB / 457.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/1.17, allocations: 4.91 MB / 462 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/1.17, allocations: 398.2 kB / 462.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003129/1.174, allocations: 0.5153 MB / 462.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04082/1.214, allocations: 12.83 MB / 475.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003626/1.215, allocations: 67.33 kB / 475.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002569/1.217, allocations: 251.9 kB / 476 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003301/1.221, allocations: 1.2 MB / 477.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03814/1.259, allocations: 10.81 MB / 488 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3586/1.618, allocations: 57.05 MB / 0.5323 GB, free: 25.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02576/1.644, allocations: 5.12 MB / 0.5373 GB, free: 24.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.65, allocations: 3.169 MB / 0.5404 GB, free: 24.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/1.652, allocations: 0.6831 MB / 0.5411 GB, free: 24.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/1.652, allocations: 56.58 kB / 0.5411 GB, free: 23.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 5.741e-06/1.652, allocations: 3.812 kB / 0.5411 GB, free: 23.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.09963/1.751, allocations: 21.49 MB / 0.5621 GB, free: 20.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/1.752, allocations: 158 kB / 0.5623 GB, free: 20.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009346/1.761, allocations: 4.06 MB / 0.5662 GB, free: 18.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000728/1.762, allocations: 61.58 kB / 0.5663 GB, free: 18.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00337/1.765, allocations: 3.579 MB / 0.5698 GB, free: 16.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.767, allocations: 0.9484 MB / 0.5707 GB, free: 15.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009284/1.768, allocations: 141.7 kB / 0.5709 GB, free: 15.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004437/1.768, allocations: 0.5941 MB / 0.5714 GB, free: 15.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007137/1.775, allocations: 2.972 MB / 0.5743 GB, free: 14.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009665/1.785, allocations: 6.953 MB / 0.5811 GB, free: 7.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/1.795, allocations: 4.512 MB / 0.5855 GB, free: 6.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/1.795, allocations: 41.41 kB / 0.5856 GB, free: 6.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02944/1.825, allocations: 10.42 MB / 0.5957 GB, free: 104 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.825, allocations: 67.75 kB / 0.5958 GB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001038/1.826, allocations: 192.4 kB / 0.596 GB, free: 0 / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/1.832, allocations: 1.166 MB / 0.5971 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/1.844, allocations: 1.744 MB / 0.5988 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.857, allocations: 5.92 MB / 0.6046 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009141/1.867, allocations: 430.1 kB / 0.605 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001902/1.868, allocations: 432.3 kB / 0.6054 GB, free: 7.785 MB / 362.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.002153/1.871, allocations: 0.6346 MB / 0.6061 GB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.872, allocations: 410.7 kB / 0.6065 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.889, allocations: 5.497 MB / 0.6118 GB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.664e-05/1.889, allocations: 32 kB / 0.6118 GB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/1.889, allocations: 4 kB / 0.6119 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-05/1.889, allocations: 15.19 kB / 0.6119 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03796/1.927, allocations: 12.13 MB / 0.6237 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/1.927, allocations: 0 / 0.6237 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005713/1.933, allocations: 0.507 MB / 0.6242 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/1.938, allocations: 0.9377 MB / 0.6251 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007937/1.939, allocations: 51.66 kB / 0.6252 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/1.952, allocations: 5.636 MB / 0.6307 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.952, allocations: 7.938 kB / 0.6307 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2915/2.243, allocations: 9.691 MB / 0.6401 GB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/2.247, allocations: 0.9062 MB / 0.641 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/2.249, allocations: 42.81 kB / 0.6411 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004875/2.254, allocations: 187.3 kB / 0.6412 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/2.255, allocations: 152.1 kB / 0.6414 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/2.255, allocations: 68.98 kB / 0.6415 GB, free: 88.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007303/2.263, allocations: 2.833 MB / 0.6442 GB, free: 88.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.263, allocations: 3.844 kB / 0.6442 GB, free: 88.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008896/2.272, allocations: 1.258 MB / 0.6455 GB, free: 88.07 MB / 378.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.02408/2.296, allocations: 11.06 MB / 0.6563 GB, free: 85.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01677/2.312, allocations: 6.949 MB / 0.663 GB, free: 85.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.313, allocations: 0 / 0.663 GB, free: 85.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006659/2.319, allocations: 2.659 MB / 0.6656 GB, free: 84.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/2.324, allocations: 455.8 kB / 0.6661 GB, free: 84.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05175/2.376, allocations: 11.73 MB / 0.6775 GB, free: 80.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/2.387, allocations: 3.905 MB / 0.6813 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01485/2.402, allocations: 2.331 MB / 0.6836 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007097/2.409, allocations: 2.332 MB / 0.6859 GB, free: 77.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/2.409, allocations: 3.875 kB / 0.6859 GB, free: 77.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4821/2.891, allocations: 96.17 MB / 0.7798 GB, free: 71.38 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/2.892, allocations: 195.7 kB / 0.78 GB, free: 71.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.785/8.677, allocations: 0 / 0.78 GB, free: 71.16 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat