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 2.023/2.023, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.98e-05, allocations: 0 / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 44.52 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5403, allocations: 92.29 MB / 392.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.5406, allocations: 91.62 kB / 392.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3338/0.8744, allocations: 83.77 MB / 476.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.8745, allocations: 0 / 476.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.8748, allocations: 80 kB / 476.2 MB, free: 7.664 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.03171/0.9065, allocations: 4.487 MB / 480.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.9066, allocations: 8.031 kB / 480.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004144/0.9107, allocations: 0.7656 MB / 481.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02545/0.9362, allocations: 2.217 MB / 483.6 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02419/0.9605, allocations: 4.462 MB / 488.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005697/0.9611, allocations: 319.7 kB / 488.4 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002863/0.964, allocations: 430.8 kB / 488.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/1.002, allocations: 10.69 MB / 499.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002728/1.002, allocations: 67.41 kB / 499.6 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/1.004, allocations: 204.5 kB / 499.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/1.007, allocations: 0.993 MB / 0.489 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03066/1.038, allocations: 8.838 MB / 0.4977 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3599/1.398, allocations: 48.88 MB / 0.5454 GB, free: 55.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.417, allocations: 3.486 MB / 0.5488 GB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003629/1.42, allocations: 1.775 MB / 0.5506 GB, free: 54.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/1.431, allocations: 4.359 MB / 0.5548 GB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/1.431, allocations: 50.62 kB / 0.5549 GB, free: 53.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.189e-06/1.431, allocations: 0 / 0.5549 GB, free: 53.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.03503/1.466, allocations: 9.731 MB / 0.5644 GB, free: 50.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.466, allocations: 146.8 kB / 0.5645 GB, free: 50.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007605/1.474, allocations: 3.671 MB / 0.5681 GB, free: 50.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003929/1.474, allocations: 53.34 kB / 0.5681 GB, free: 50.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/1.477, allocations: 3.102 MB / 0.5712 GB, free: 48.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008702/1.478, allocations: 0.581 MB / 0.5717 GB, free: 48.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/1.478, allocations: 118.7 kB / 0.5718 GB, free: 48.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003384/1.478, allocations: 0.5591 MB / 0.5724 GB, free: 47.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.483, allocations: 1.914 MB / 0.5743 GB, free: 47.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006857/1.49, allocations: 5.709 MB / 0.5798 GB, free: 42.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007319/1.497, allocations: 3.293 MB / 0.5831 GB, free: 42.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/1.497, allocations: 38.5 kB / 0.5831 GB, free: 42.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.0221/1.519, allocations: 7.941 MB / 0.5908 GB, free: 41.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.52, allocations: 68.7 kB / 0.5909 GB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/1.52, allocations: 136.5 kB / 0.591 GB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/1.524, allocations: 0.9108 MB / 0.5919 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008803/1.533, allocations: 1.387 MB / 0.5933 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009506/1.543, allocations: 4.765 MB / 0.5979 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007175/1.55, allocations: 340 kB / 0.5983 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.552, allocations: 370.4 kB / 0.5986 GB, free: 38.73 MB / 410.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.002036/1.554, allocations: 0.5595 MB / 0.5992 GB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009537/1.555, allocations: 346.3 kB / 0.5995 GB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009222/1.564, allocations: 2.807 MB / 0.6022 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-05/1.564, allocations: 17.59 kB / 0.6022 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.564, allocations: 3.344 kB / 0.6023 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-05/1.564, allocations: 14.41 kB / 0.6023 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/1.586, allocations: 6.936 MB / 0.609 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.586, allocations: 7.562 kB / 0.609 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/1.588, allocations: 243.3 kB / 0.6093 GB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003604/1.592, allocations: 0.6967 MB / 0.61 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.592, allocations: 31.58 kB / 0.61 GB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008208/1.6, allocations: 4.339 MB / 0.6142 GB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.601, allocations: 3.906 kB / 0.6142 GB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.613, allocations: 5.092 MB / 0.6192 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.615, allocations: 0.6109 MB / 0.6198 GB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006163/1.616, allocations: 26.42 kB / 0.6198 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.618, allocations: 84.47 kB / 0.6199 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/1.619, allocations: 79.41 kB / 0.62 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.619, allocations: 47.69 kB / 0.62 GB, free: 29.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006569/1.625, allocations: 2.551 MB / 0.6225 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.184e-06/1.625, allocations: 0 / 0.6225 GB, free: 28.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006828/1.632, allocations: 0.9645 MB / 0.6235 GB, free: 27.14 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.01256/1.645, allocations: 5.909 MB / 0.6292 GB, free: 21.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01041/1.655, allocations: 4.656 MB / 0.6338 GB, free: 17.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.655, allocations: 0.8125 kB / 0.6338 GB, free: 17.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/1.658, allocations: 1.325 MB / 0.6351 GB, free: 16.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.662, allocations: 391.4 kB / 0.6354 GB, free: 16.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/1.694, allocations: 9.011 MB / 0.6442 GB, free: 8.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009751/1.704, allocations: 3.308 MB / 0.6475 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006262/1.711, allocations: 1.889 MB / 0.6493 GB, free: 4.098 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/1.711, allocations: 0 / 0.6493 GB, free: 4.098 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.701/6.411, allocations: 97.27 MB / 0.7443 GB, free: 75.73 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