Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.17e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3096, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.4794, allocations: 91.63 MB / 385.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.4798, allocations: 83.94 kB / 385.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6624/1.142, allocations: 82.12 MB / 468 MB, free: 80.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.142, allocations: 0 / 468 MB, free: 80.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002944/1.143, allocations: 80 kB / 468.1 MB, free: 80.45 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.02693/1.17, allocations: 4.485 MB / 472.6 MB, free: 75.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.17, allocations: 8.031 kB / 472.6 MB, free: 75.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/1.186, allocations: 2.213 MB / 474.8 MB, free: 73.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/1.202, allocations: 4.454 MB / 479.3 MB, free: 69.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/1.202, allocations: 136 kB / 479.4 MB, free: 69.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/1.204, allocations: 247.9 kB / 479.7 MB, free: 68.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01465/1.219, allocations: 6.338 MB / 486 MB, free: 62.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.239, allocations: 9.673 MB / 495.7 MB, free: 51.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/1.239, allocations: 63.39 kB / 495.7 MB, free: 51.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007834/1.24, allocations: 32 kB / 495.8 MB, free: 51.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/1.242, allocations: 1.002 MB / 496.8 MB, free: 50.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06226/1.304, allocations: 46.93 MB / 0.5309 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00584/1.31, allocations: 3.217 MB / 0.5341 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003852/1.314, allocations: 1.735 MB / 0.5358 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/1.325, allocations: 4.227 MB / 0.5399 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/1.326, allocations: 43.34 kB / 0.5399 GB, free: 9.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=139): time 5.551e-06/1.326, allocations: 0 / 0.5399 GB, free: 9.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.03959/1.365, allocations: 12.05 MB / 0.5517 GB, free: 12.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/1.365, allocations: 145.3 kB / 0.5518 GB, free: 12.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008166/1.373, allocations: 3.134 MB / 0.5549 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004072/1.374, allocations: 25.7 kB / 0.5549 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00364/1.378, allocations: 3.223 MB / 0.5581 GB, free: 6.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.379, allocations: 0.5748 MB / 0.5586 GB, free: 5.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006968/1.379, allocations: 0 / 0.5586 GB, free: 5.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006168/1.38, allocations: 0.5671 MB / 0.5592 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.385, allocations: 1.863 MB / 0.561 GB, free: 3.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2858/1.671, allocations: 5.792 MB / 0.5667 GB, free: 96.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008727/1.68, allocations: 3.248 MB / 0.5698 GB, free: 96.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002937/1.68, allocations: 41.19 kB / 0.5699 GB, free: 96.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02338/1.704, allocations: 7.361 MB / 0.5771 GB, free: 96.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/1.704, allocations: 65.75 kB / 0.5771 GB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/1.704, allocations: 140.7 kB / 0.5773 GB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/1.708, allocations: 0.9167 MB / 0.5782 GB, free: 96.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008806/1.717, allocations: 1.444 MB / 0.5796 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008787/1.726, allocations: 4.612 MB / 0.5841 GB, free: 94.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00683/1.733, allocations: 218.3 kB / 0.5843 GB, free: 94.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/1.735, allocations: 391.3 kB / 0.5847 GB, free: 94.89 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.00211/1.737, allocations: 461.8 kB / 0.5851 GB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008985/1.746, allocations: 3.001 MB / 0.588 GB, free: 94.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.747, allocations: 310.6 kB / 0.5883 GB, free: 94.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008746/1.756, allocations: 2.712 MB / 0.591 GB, free: 94.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-05/1.756, allocations: 17.56 kB / 0.591 GB, free: 94.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.756, allocations: 2.906 kB / 0.591 GB, free: 94.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/1.756, allocations: 6.891 kB / 0.591 GB, free: 94.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.775, allocations: 6.118 MB / 0.597 GB, free: 92.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.775, allocations: 0 / 0.597 GB, free: 92.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.778, allocations: 248.1 kB / 0.5972 GB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003731/1.782, allocations: 0.6995 MB / 0.5979 GB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003565/1.782, allocations: 6.688 kB / 0.5979 GB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/1.79, allocations: 4.176 MB / 0.602 GB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.79, allocations: 0 / 0.602 GB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.802, allocations: 4.998 MB / 0.6069 GB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/1.804, allocations: 0.5745 MB / 0.6074 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009591/1.805, allocations: 3.094 kB / 0.6074 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002552/1.808, allocations: 62.59 kB / 0.6075 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005571/1.808, allocations: 88.55 kB / 0.6076 GB, free: 87.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.808, allocations: 42.75 kB / 0.6076 GB, free: 87.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005154/1.814, allocations: 2.087 MB / 0.6096 GB, free: 86.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.814, allocations: 0 / 0.6096 GB, free: 86.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007506/1.821, allocations: 0.8227 MB / 0.6104 GB, free: 86.61 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.01272/1.834, allocations: 5.784 MB / 0.6161 GB, free: 82.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.844, allocations: 4.451 MB / 0.6204 GB, free: 78.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.844, allocations: 0 / 0.6204 GB, free: 78.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/1.847, allocations: 1.306 MB / 0.6217 GB, free: 76.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.85, allocations: 322.7 kB / 0.622 GB, free: 76.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.88, allocations: 8.801 MB / 0.6306 GB, free: 69.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007449/1.888, allocations: 3.319 MB / 0.6339 GB, free: 66.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00435/1.892, allocations: 1.883 MB / 0.6357 GB, free: 64.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.884e-06/1.892, allocations: 0 / 0.6357 GB, free: 64.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.501/6.393, allocations: 94.37 MB / 0.7279 GB, free: 110.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat