Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.068e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.323, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.4939, allocations: 91.63 MB / 385.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4943, allocations: 87.94 kB / 385.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6037/1.098, allocations: 82.13 MB / 468.1 MB, free: 80.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.098, allocations: 0 / 468.1 MB, free: 80.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002658/1.098, allocations: 76 kB / 468.1 MB, free: 80.28 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02531/1.124, allocations: 4.482 MB / 472.6 MB, free: 75.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.124, allocations: 12.03 kB / 472.6 MB, free: 75.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/1.141, allocations: 2.213 MB / 474.8 MB, free: 73.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/1.158, allocations: 4.454 MB / 479.3 MB, free: 69.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.158, allocations: 136 kB / 479.4 MB, free: 68.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/1.161, allocations: 247.9 kB / 479.7 MB, free: 68.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01611/1.177, allocations: 6.334 MB / 486 MB, free: 62.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/1.202, allocations: 9.673 MB / 495.7 MB, free: 51.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003289/1.202, allocations: 67.34 kB / 495.7 MB, free: 51.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.204, allocations: 32 kB / 495.8 MB, free: 51.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002545/1.207, allocations: 1.002 MB / 496.8 MB, free: 50.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06838/1.275, allocations: 46.93 MB / 0.531 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006157/1.281, allocations: 3.217 MB / 0.5341 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/1.285, allocations: 1.735 MB / 0.5358 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/1.298, allocations: 4.231 MB / 0.5399 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/1.298, allocations: 47.34 kB / 0.54 GB, free: 8.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=139): time 5.42e-06/1.298, allocations: 0 / 0.54 GB, free: 8.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.04124/1.339, allocations: 12.04 MB / 0.5517 GB, free: 12.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/1.339, allocations: 145.3 kB / 0.5519 GB, free: 12.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00856/1.348, allocations: 3.134 MB / 0.5549 GB, free: 9.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.348, allocations: 25.7 kB / 0.555 GB, free: 9.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003716/1.352, allocations: 3.253 MB / 0.5581 GB, free: 6.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.353, allocations: 0.5709 MB / 0.5587 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.354, allocations: 4 kB / 0.5587 GB, free: 5.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005239/1.354, allocations: 0.5623 MB / 0.5592 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/1.359, allocations: 1.863 MB / 0.5611 GB, free: 3.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2901/1.65, allocations: 5.788 MB / 0.5667 GB, free: 96.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008134/1.658, allocations: 3.248 MB / 0.5699 GB, free: 96.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002316/1.658, allocations: 43.34 kB / 0.5699 GB, free: 96.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0236/1.682, allocations: 7.435 MB / 0.5772 GB, free: 96.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/1.682, allocations: 69.72 kB / 0.5773 GB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/1.682, allocations: 143.2 kB / 0.5774 GB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/1.686, allocations: 0.9195 MB / 0.5783 GB, free: 96.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00881/1.695, allocations: 1.432 MB / 0.5797 GB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008595/1.704, allocations: 4.617 MB / 0.5842 GB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006614/1.71, allocations: 219.6 kB / 0.5844 GB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.712, allocations: 388.1 kB / 0.5848 GB, free: 94.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (760): * Single equations (assignments): 756 * 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.001399/1.713, allocations: 464.7 kB / 0.5852 GB, free: 94.61 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008571/1.722, allocations: 2.999 MB / 0.5882 GB, free: 94.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008645/1.723, allocations: 313 kB / 0.5885 GB, free: 94.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008308/1.731, allocations: 2.714 MB / 0.5911 GB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.166e-05/1.731, allocations: 16 kB / 0.5911 GB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.731, allocations: 3.812 kB / 0.5911 GB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.731, allocations: 10.95 kB / 0.5911 GB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.749, allocations: 6.112 MB / 0.5971 GB, free: 92.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/1.749, allocations: 1.938 kB / 0.5971 GB, free: 92.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.751, allocations: 244.2 kB / 0.5973 GB, free: 92.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/1.755, allocations: 0.7011 MB / 0.598 GB, free: 92.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002875/1.755, allocations: 12.81 kB / 0.598 GB, free: 92.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007702/1.763, allocations: 4.178 MB / 0.6021 GB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.763, allocations: 0 / 0.6021 GB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.775, allocations: 4.995 MB / 0.607 GB, free: 87.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.777, allocations: 0.5665 MB / 0.6075 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007725/1.778, allocations: 4.25 kB / 0.6075 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.78, allocations: 66.62 kB / 0.6076 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003999/1.78, allocations: 95.67 kB / 0.6077 GB, free: 87.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.78, allocations: 37.62 kB / 0.6077 GB, free: 87.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004325/1.785, allocations: 2.083 MB / 0.6098 GB, free: 86.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.785, allocations: 0 / 0.6098 GB, free: 86.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007158/1.792, allocations: 0.8207 MB / 0.6106 GB, free: 86.48 MB / 394.7 MB 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 (115): * Single equations (assignments): 111 * 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.01155/1.804, allocations: 5.784 MB / 0.6162 GB, free: 81.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009562/1.813, allocations: 4.455 MB / 0.6206 GB, free: 77.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.813, allocations: 3.938 kB / 0.6206 GB, free: 77.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/1.816, allocations: 1.297 MB / 0.6218 GB, free: 76.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/1.818, allocations: 322.5 kB / 0.6222 GB, free: 76.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/1.844, allocations: 8.326 MB / 0.6303 GB, free: 69.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005941/1.85, allocations: 3.315 MB / 0.6335 GB, free: 66.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008562/1.859, allocations: 1.899 MB / 0.6354 GB, free: 65.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003984/1.863, allocations: 1.838 MB / 0.6372 GB, free: 63.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/1.863, allocations: 0 / 0.6372 GB, free: 63.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/2.034, allocations: 67.77 MB / 0.7033 GB, free: 14.42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003506/2.034, allocations: 174 kB / 0.7035 GB, free: 14.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.96/6.994, allocations: 4 kB / 0.7035 GB, free: 14.21 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat