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.841/1.841, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.38e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 38.77 MB / 258.4 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4261, allocations: 86.6 MB / 345 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.4265, allocations: 83.95 kB / 345 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5888/1.015, allocations: 94.94 MB / 440 MB, free: 35.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.015, allocations: 4 kB / 440 MB, free: 35.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002846/1.016, allocations: 100 kB / 440.1 MB, free: 35.55 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.02883/1.044, allocations: 5.495 MB / 445.6 MB, free: 29.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.045, allocations: 8.031 kB / 445.6 MB, free: 29.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/1.062, allocations: 2.325 MB / 447.9 MB, free: 27.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/1.08, allocations: 4.921 MB / 452.8 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/1.08, allocations: 164 kB / 453 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/1.083, allocations: 303.9 kB / 453.3 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/1.103, allocations: 7.752 MB / 461 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/1.133, allocations: 11.53 MB / 472.6 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004685/1.134, allocations: 75.25 kB / 472.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002756/1.136, allocations: 36 kB / 472.7 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00289/1.139, allocations: 1.196 MB / 473.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3703/1.51, allocations: 54.84 MB / 0.5163 GB, free: 39.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/1.518, allocations: 4.366 MB / 0.5206 GB, free: 38.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00577/1.523, allocations: 3.105 MB / 0.5236 GB, free: 38.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/1.526, allocations: 0.6832 MB / 0.5243 GB, free: 38.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.534e-05/1.526, allocations: 57.94 kB / 0.5243 GB, free: 38.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 7.373e-06/1.526, allocations: 2.953 kB / 0.5243 GB, free: 38.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.08198/1.608, allocations: 22.3 MB / 0.5461 GB, free: 33.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.608, allocations: 159.9 kB / 0.5463 GB, free: 33.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008684/1.616, allocations: 3.36 MB / 0.5495 GB, free: 32.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007979/1.617, allocations: 29.3 kB / 0.5496 GB, free: 32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00347/1.621, allocations: 3.645 MB / 0.5531 GB, free: 29.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.623, allocations: 0.9205 MB / 0.554 GB, free: 28.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.624, allocations: 0 / 0.554 GB, free: 28.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006576/1.625, allocations: 0.6083 MB / 0.5546 GB, free: 28.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007099/1.632, allocations: 2.88 MB / 0.5574 GB, free: 27.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009504/1.641, allocations: 7.049 MB / 0.5643 GB, free: 20.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.651, allocations: 4.444 MB / 0.5687 GB, free: 19.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/1.652, allocations: 45.03 kB / 0.5687 GB, free: 19.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02836/1.68, allocations: 10.05 MB / 0.5785 GB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.68, allocations: 71.8 kB / 0.5786 GB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/1.68, allocations: 148.9 kB / 0.5787 GB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004788/1.685, allocations: 1.137 MB / 0.5798 GB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/1.697, allocations: 1.793 MB / 0.5816 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/1.708, allocations: 5.623 MB / 0.5871 GB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008726/1.717, allocations: 299.1 kB / 0.5874 GB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/1.719, allocations: 449.7 kB / 0.5878 GB, free: 4.324 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 (900): * Single equations (assignments): 896 * 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.002886/1.722, allocations: 489.3 kB / 0.5883 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01538/1.737, allocations: 5.415 MB / 0.5936 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/1.739, allocations: 375.1 kB / 0.5939 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/1.756, allocations: 5.286 MB / 0.5991 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-05/1.756, allocations: 24 kB / 0.5991 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.756, allocations: 7.953 kB / 0.5991 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-05/1.756, allocations: 16.38 kB / 0.5991 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03619/1.793, allocations: 11.01 MB / 0.6099 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/1.793, allocations: 4 kB / 0.6099 GB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00568/1.798, allocations: 0.5086 MB / 0.6104 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004869/1.803, allocations: 0.932 MB / 0.6113 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007952/1.804, allocations: 11.52 kB / 0.6113 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/1.816, allocations: 5.344 MB / 0.6165 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.816, allocations: 4 kB / 0.6165 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02586/1.842, allocations: 9.449 MB / 0.6257 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003683/1.846, allocations: 0.8396 MB / 0.6266 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/1.848, allocations: 15.48 kB / 0.6266 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004775/1.853, allocations: 147.5 kB / 0.6267 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.854, allocations: 145.8 kB / 0.6269 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004039/1.854, allocations: 72.53 kB / 0.6269 GB, free: 2.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006719/1.861, allocations: 2.241 MB / 0.6291 GB, free: 15.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.861, allocations: 0 / 0.6291 GB, free: 15.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009985/1.871, allocations: 1.09 MB / 0.6302 GB, free: 14.77 MB / 394.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.02693/1.898, allocations: 10.79 MB / 0.6407 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2801/2.178, allocations: 6.87 MB / 0.6474 GB, free: 114.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.178, allocations: 4.562 kB / 0.6474 GB, free: 114.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006986/2.185, allocations: 2.622 MB / 0.65 GB, free: 114.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/2.189, allocations: 349.7 kB / 0.6503 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04191/2.231, allocations: 11.4 MB / 0.6615 GB, free: 112.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009323/2.241, allocations: 3.91 MB / 0.6653 GB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01195/2.253, allocations: 2.336 MB / 0.6676 GB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006993/2.26, allocations: 2.323 MB / 0.6698 GB, free: 111.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.595e-06/2.26, allocations: 0 / 0.6698 GB, free: 111.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/2.482, allocations: 87.83 MB / 0.7556 GB, free: 49.55 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/2.482, allocations: 170.8 kB / 0.7558 GB, free: 49.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.828/8.31, allocations: 0 / 0.7558 GB, free: 49.36 MB / 394.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