Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.324/2.324, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.841e-05, allocations: 2.219 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5252/0.6354, allocations: 91.63 MB / 385.9 MB, free: 4.312 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.6357, allocations: 83.52 kB / 386 MB, free: 4.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5288/1.165, allocations: 82.13 MB / 468.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.165, allocations: 0 / 468.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000339/1.165, allocations: 79.98 kB / 468.2 MB, free: 3.266 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.03098/1.196, allocations: 4.482 MB / 472.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.196, allocations: 8.031 kB / 472.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02143/1.217, allocations: 2.209 MB / 474.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/1.238, allocations: 4.457 MB / 479.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/1.239, allocations: 136 kB / 479.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/1.241, allocations: 247.9 kB / 479.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02102/1.263, allocations: 6.345 MB / 486.1 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/1.294, allocations: 9.671 MB / 495.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000317/1.295, allocations: 59.47 kB / 495.8 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.297, allocations: 39.94 kB / 495.9 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003272/1.3, allocations: 0.9945 MB / 496.9 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4004/1.7, allocations: 46.92 MB / 0.531 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006914/1.707, allocations: 3.217 MB / 0.5342 GB, free: 52.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/1.711, allocations: 1.741 MB / 0.5359 GB, free: 52.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/1.724, allocations: 4.243 MB / 0.54 GB, free: 51.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.724, allocations: 53 kB / 0.5401 GB, free: 51.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 6.802e-06/1.724, allocations: 0 / 0.5401 GB, free: 51.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.04058/1.764, allocations: 12.04 MB / 0.5518 GB, free: 48.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.765, allocations: 143.1 kB / 0.552 GB, free: 48.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/1.772, allocations: 3.137 MB / 0.555 GB, free: 47.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004414/1.772, allocations: 25.7 kB / 0.555 GB, free: 47.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002953/1.775, allocations: 3.241 MB / 0.5582 GB, free: 45.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.776, allocations: 0.585 MB / 0.5588 GB, free: 44.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005981/1.777, allocations: 0 / 0.5588 GB, free: 44.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004563/1.777, allocations: 0.5701 MB / 0.5593 GB, free: 44.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.782, allocations: 1.857 MB / 0.5611 GB, free: 43.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007632/1.79, allocations: 5.791 MB / 0.5668 GB, free: 37.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008273/1.798, allocations: 3.255 MB / 0.57 GB, free: 36.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/1.798, allocations: 41.72 kB / 0.57 GB, free: 36.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0253/1.824, allocations: 7.414 MB / 0.5773 GB, free: 34.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.824, allocations: 67.78 kB / 0.5773 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/1.824, allocations: 143.2 kB / 0.5775 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/1.829, allocations: 0.9188 MB / 0.5784 GB, free: 34.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/1.84, allocations: 1.444 MB / 0.5798 GB, free: 34.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.851, allocations: 4.614 MB / 0.5843 GB, free: 31.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008055/1.859, allocations: 218.3 kB / 0.5845 GB, free: 31.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.861, allocations: 389.9 kB / 0.5849 GB, free: 31.64 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.001598/1.862, allocations: 455 kB / 0.5853 GB, free: 31.27 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01073/1.873, allocations: 2.999 MB / 0.5882 GB, free: 30.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.874, allocations: 310.2 kB / 0.5885 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.884, allocations: 2.713 MB / 0.5912 GB, free: 28.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/1.884, allocations: 20 kB / 0.5912 GB, free: 28.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.884, allocations: 4 kB / 0.5912 GB, free: 28.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/1.884, allocations: 14.92 kB / 0.5912 GB, free: 28.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/1.906, allocations: 6.114 MB / 0.5972 GB, free: 23.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.906, allocations: 0 / 0.5972 GB, free: 23.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003019/1.909, allocations: 260.4 kB / 0.5974 GB, free: 23.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004599/1.914, allocations: 0.6882 MB / 0.5981 GB, free: 22.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003865/1.914, allocations: 7.891 kB / 0.5981 GB, free: 22.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009388/1.923, allocations: 4.173 MB / 0.6022 GB, free: 19.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.924, allocations: 3.953 kB / 0.6022 GB, free: 19.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.937, allocations: 5.003 MB / 0.6071 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.94, allocations: 0.5674 MB / 0.6076 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.941, allocations: 7.516 kB / 0.6076 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/1.944, allocations: 65.44 kB / 0.6077 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/1.945, allocations: 88.33 kB / 0.6078 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002063/1.945, allocations: 36.94 kB / 0.6078 GB, free: 14.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005576/1.95, allocations: 2.081 MB / 0.6098 GB, free: 12.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.375e-06/1.95, allocations: 0 / 0.6098 GB, free: 12.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008609/1.959, allocations: 0.825 MB / 0.6106 GB, free: 11.59 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.01491/1.974, allocations: 5.785 MB / 0.6163 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01172/1.986, allocations: 4.452 MB / 0.6206 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.986, allocations: 0 / 0.6206 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/1.989, allocations: 1.308 MB / 0.6219 GB, free: 1.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.993, allocations: 321.4 kB / 0.6222 GB, free: 1.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04764/2.04, allocations: 8.338 MB / 0.6304 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01353/2.054, allocations: 3.314 MB / 0.6336 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01368/2.068, allocations: 1.911 MB / 0.6355 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005853/2.074, allocations: 1.828 MB / 0.6373 GB, free: 4.465 MB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/2.074, allocations: 0 / 0.6373 GB, free: 4.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5273/2.601, allocations: 67.78 MB / 0.7034 GB, free: 77.31 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002869/2.601, allocations: 172.3 kB / 0.7036 GB, free: 77.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.236/8.837, allocations: 8 kB / 0.7036 GB, free: 77.11 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat