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.968/1.968, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.382e-05, allocations: 4 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 44.5 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5481, allocations: 92.29 MB / 392.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5485, allocations: 92.28 kB / 392.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3393/0.8878, allocations: 83.79 MB / 476.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8878, allocations: 0 / 476.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002734/0.8881, allocations: 76 kB / 476.2 MB, free: 12.12 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.02669/0.9148, allocations: 4.482 MB / 480.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.9149, allocations: 12.03 kB / 480.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003844/0.9188, allocations: 0.7667 MB / 481.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.9374, allocations: 2.221 MB / 483.7 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/0.9559, allocations: 4.453 MB / 488.1 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.9564, allocations: 316.5 kB / 488.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.9594, allocations: 431.7 kB / 488.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/0.9971, allocations: 10.64 MB / 499.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000292/0.9975, allocations: 63.39 kB / 499.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001954/0.9995, allocations: 203.9 kB / 499.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/1.002, allocations: 0.9984 MB / 0.489 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03193/1.034, allocations: 8.655 MB / 0.4975 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3941/1.429, allocations: 48.88 MB / 0.5452 GB, free: 40.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/1.447, allocations: 3.473 MB / 0.5486 GB, free: 39.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003584/1.45, allocations: 1.766 MB / 0.5503 GB, free: 39.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.461, allocations: 4.368 MB / 0.5546 GB, free: 38.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.461, allocations: 49.91 kB / 0.5546 GB, free: 38.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.209e-06/1.461, allocations: 0 / 0.5546 GB, free: 38.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.03508/1.496, allocations: 9.727 MB / 0.5641 GB, free: 35.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.497, allocations: 143.9 kB / 0.5643 GB, free: 35.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007279/1.504, allocations: 3.665 MB / 0.5679 GB, free: 35.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003863/1.504, allocations: 48.7 kB / 0.5679 GB, free: 34.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.507, allocations: 3.11 MB / 0.5709 GB, free: 33.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000892/1.508, allocations: 0.583 MB / 0.5715 GB, free: 32.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/1.508, allocations: 116.6 kB / 0.5716 GB, free: 32.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003422/1.508, allocations: 0.5648 MB / 0.5722 GB, free: 32.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004187/1.513, allocations: 1.917 MB / 0.574 GB, free: 32.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00637/1.519, allocations: 5.669 MB / 0.5796 GB, free: 27.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007208/1.526, allocations: 3.282 MB / 0.5828 GB, free: 26.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.526, allocations: 40.81 kB / 0.5828 GB, free: 26.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02186/1.548, allocations: 7.575 MB / 0.5902 GB, free: 24.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.548, allocations: 62.94 kB / 0.5903 GB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/1.549, allocations: 141.8 kB / 0.5904 GB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/1.553, allocations: 0.9055 MB / 0.5913 GB, free: 24.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008823/1.562, allocations: 1.39 MB / 0.5927 GB, free: 24.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009325/1.571, allocations: 4.768 MB / 0.5973 GB, free: 21.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00675/1.578, allocations: 333.9 kB / 0.5976 GB, free: 21.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.579, allocations: 374.7 kB / 0.598 GB, free: 21.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (729): * Single equations (assignments): 725 * 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.001265/1.581, allocations: 0.5683 MB / 0.5986 GB, free: 21.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000919/1.582, allocations: 348.6 kB / 0.5989 GB, free: 20.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/1.59, allocations: 2.806 MB / 0.6016 GB, free: 19.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/1.59, allocations: 18.16 kB / 0.6016 GB, free: 19.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.59, allocations: 3.938 kB / 0.6016 GB, free: 19.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/1.59, allocations: 7.078 kB / 0.6017 GB, free: 19.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/1.611, allocations: 6.944 MB / 0.6084 GB, free: 17.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/1.611, allocations: 3.281 kB / 0.6084 GB, free: 17.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.613, allocations: 243.5 kB / 0.6087 GB, free: 17.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/1.617, allocations: 0.7003 MB / 0.6094 GB, free: 17.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003517/1.617, allocations: 25.59 kB / 0.6094 GB, free: 17.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008437/1.626, allocations: 4.347 MB / 0.6136 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.626, allocations: 7.219 kB / 0.6136 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.638, allocations: 5.079 MB / 0.6186 GB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.64, allocations: 0.6122 MB / 0.6192 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008012/1.641, allocations: 31.69 kB / 0.6192 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.644, allocations: 87.83 kB / 0.6193 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/1.644, allocations: 84.12 kB / 0.6194 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.644, allocations: 44.42 kB / 0.6194 GB, free: 27.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006026/1.65, allocations: 2.547 MB / 0.6219 GB, free: 25.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.65, allocations: 0 / 0.6219 GB, free: 25.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007344/1.658, allocations: 0.962 MB / 0.6229 GB, free: 24.59 MB / 410.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 (114): * Single equations (assignments): 110 * 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.0128/1.67, allocations: 5.895 MB / 0.6286 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.681, allocations: 4.461 MB / 0.633 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.681, allocations: 0 / 0.633 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002788/1.684, allocations: 1.311 MB / 0.6342 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.687, allocations: 397.8 kB / 0.6346 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/1.718, allocations: 8.997 MB / 0.6434 GB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006641/1.725, allocations: 3.313 MB / 0.6466 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00505/1.73, allocations: 1.883 MB / 0.6485 GB, free: 1.781 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/1.73, allocations: 0 / 0.6485 GB, free: 1.781 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.4/6.129, allocations: 96.38 MB / 0.7426 GB, free: 74.87 MB / 426.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