Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.517e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2624, allocations: 38.76 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.4169, allocations: 85.89 MB / 344.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.4173, allocations: 87.94 kB / 344.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5534/0.9707, allocations: 82.11 MB / 426.4 MB, free: 49.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.9708, allocations: 0 / 426.4 MB, free: 49.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002609/0.9711, allocations: 80 kB / 426.5 MB, free: 49.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02495/0.996, allocations: 4.495 MB / 431 MB, free: 44.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.9961, allocations: 8.031 kB / 431 MB, free: 44.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/1.013, allocations: 2.214 MB / 433.2 MB, free: 42.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/1.029, allocations: 4.45 MB / 437.6 MB, free: 38.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/1.029, allocations: 140 kB / 437.8 MB, free: 37.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/1.031, allocations: 251.9 kB / 438 MB, free: 37.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01546/1.047, allocations: 6.338 MB / 444.4 MB, free: 31.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/1.069, allocations: 9.673 MB / 454 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/1.069, allocations: 63.39 kB / 454.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/1.07, allocations: 32 kB / 454.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/1.072, allocations: 0.9945 MB / 455.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07236/1.145, allocations: 46.91 MB / 0.4903 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2423/1.387, allocations: 3.21 MB / 0.4934 GB, free: 81.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004015/1.391, allocations: 1.736 MB / 0.4951 GB, free: 81.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/1.402, allocations: 4.232 MB / 0.4992 GB, free: 80.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.402, allocations: 51.56 kB / 0.4993 GB, free: 80.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.833e-06/1.402, allocations: 1.312 kB / 0.4993 GB, free: 80.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.03495/1.437, allocations: 12.04 MB / 0.511 GB, free: 78.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.437, allocations: 153.8 kB / 0.5112 GB, free: 78.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006959/1.444, allocations: 3.147 MB / 0.5143 GB, free: 77.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/1.445, allocations: 25.7 kB / 0.5143 GB, free: 77.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/1.448, allocations: 3.224 MB / 0.5174 GB, free: 75.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009772/1.449, allocations: 0.5772 MB / 0.518 GB, free: 75.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007376/1.449, allocations: 0 / 0.518 GB, free: 75.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004831/1.45, allocations: 0.5691 MB / 0.5186 GB, free: 75.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004658/1.455, allocations: 1.855 MB / 0.5204 GB, free: 75.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007113/1.462, allocations: 5.794 MB / 0.526 GB, free: 69.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/1.469, allocations: 3.247 MB / 0.5292 GB, free: 68.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/1.469, allocations: 40.84 kB / 0.5292 GB, free: 68.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02156/1.491, allocations: 7.346 MB / 0.5364 GB, free: 66.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.491, allocations: 67.06 kB / 0.5365 GB, free: 66.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/1.491, allocations: 143 kB / 0.5366 GB, free: 66.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/1.495, allocations: 0.9243 MB / 0.5375 GB, free: 65.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00869/1.504, allocations: 1.44 MB / 0.5389 GB, free: 65.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008677/1.513, allocations: 4.618 MB / 0.5434 GB, free: 63.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/1.52, allocations: 221.4 kB / 0.5436 GB, free: 63.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.521, allocations: 388.1 kB / 0.544 GB, free: 63.2 MB / 346.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.002025/1.523, allocations: 467.9 kB / 0.5445 GB, free: 62.82 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009617/1.533, allocations: 2.996 MB / 0.5474 GB, free: 61.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.534, allocations: 310.5 kB / 0.5477 GB, free: 61.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.546, allocations: 2.716 MB / 0.5503 GB, free: 59.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/1.546, allocations: 25.02 kB / 0.5504 GB, free: 59.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.546, allocations: 4 kB / 0.5504 GB, free: 59.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/1.546, allocations: 3.797 kB / 0.5504 GB, free: 59.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.57, allocations: 6.108 MB / 0.5563 GB, free: 54.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.571, allocations: 4 kB / 0.5563 GB, free: 54.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.573, allocations: 244.7 kB / 0.5566 GB, free: 54.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003705/1.577, allocations: 0.7001 MB / 0.5572 GB, free: 54.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.577, allocations: 11.94 kB / 0.5573 GB, free: 54.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007831/1.585, allocations: 4.188 MB / 0.5613 GB, free: 50.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/1.585, allocations: 0 / 0.5613 GB, free: 50.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.597, allocations: 4.986 MB / 0.5662 GB, free: 46.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/1.599, allocations: 0.5673 MB / 0.5668 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.6, allocations: 4 kB / 0.5668 GB, free: 45.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.603, allocations: 66.75 kB / 0.5668 GB, free: 45.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005406/1.603, allocations: 91.48 kB / 0.5669 GB, free: 45.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.604, allocations: 38.77 kB / 0.567 GB, free: 45.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004909/1.608, allocations: 2.086 MB / 0.569 GB, free: 43.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.609, allocations: 0 / 0.569 GB, free: 43.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007566/1.616, allocations: 0.8314 MB / 0.5698 GB, free: 42.8 MB / 346.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.01219/1.628, allocations: 5.786 MB / 0.5755 GB, free: 37.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009763/1.638, allocations: 4.45 MB / 0.5798 GB, free: 33.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.638, allocations: 0 / 0.5798 GB, free: 33.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.641, allocations: 1.297 MB / 0.5811 GB, free: 32.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.644, allocations: 326.1 kB / 0.5814 GB, free: 32.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/1.674, allocations: 8.802 MB / 0.59 GB, free: 24.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006614/1.681, allocations: 3.322 MB / 0.5932 GB, free: 22.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004386/1.685, allocations: 1.876 MB / 0.5951 GB, free: 20.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/1.685, allocations: 0 / 0.5951 GB, free: 20.39 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.557/6.242, allocations: 94.36 MB / 0.6872 GB, free: 52.73 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat