Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.428e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5796, allocations: 100.2 MB / 442.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.58, allocations: 85.58 kB / 442.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7497/1.33, allocations: 95.34 MB / 0.5257 GB, free: 74.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.33, allocations: 0 / 0.5257 GB, free: 74.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004136/1.33, allocations: 100.3 kB / 0.5258 GB, free: 74.66 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.03993/1.37, allocations: 5.34 MB / 0.531 GB, free: 73.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.694e-05/1.37, allocations: 12.09 kB / 0.531 GB, free: 73.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005588/1.376, allocations: 0.8885 MB / 0.5319 GB, free: 73.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02562/1.402, allocations: 2.279 MB / 0.5341 GB, free: 73.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02468/1.426, allocations: 4.684 MB / 0.5387 GB, free: 72.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006442/1.427, allocations: 382.8 kB / 0.539 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003104/1.43, allocations: 0.4894 MB / 0.5395 GB, free: 72.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04086/1.471, allocations: 12.39 MB / 0.5516 GB, free: 70.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003389/1.471, allocations: 76.5 kB / 0.5517 GB, free: 70.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/1.474, allocations: 241.8 kB / 0.5519 GB, free: 70.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002605/1.476, allocations: 1.136 MB / 0.553 GB, free: 70 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0327/1.509, allocations: 10.41 MB / 0.5632 GB, free: 69.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08829/1.597, allocations: 55.55 MB / 0.6174 GB, free: 35.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02559/1.623, allocations: 4.917 MB / 0.6222 GB, free: 33.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006065/1.629, allocations: 3.008 MB / 0.6252 GB, free: 32.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/1.631, allocations: 0.6792 MB / 0.6258 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/1.631, allocations: 54.61 kB / 0.6259 GB, free: 31.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.573e-06/1.631, allocations: 0 / 0.6259 GB, free: 31.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.1433/1.774, allocations: 20.5 MB / 0.6459 GB, free: 17.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/1.775, allocations: 154.5 kB / 0.646 GB, free: 16.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/1.783, allocations: 3.978 MB / 0.6499 GB, free: 13.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006862/1.784, allocations: 61.7 kB / 0.65 GB, free: 13.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00278/1.787, allocations: 3.381 MB / 0.6533 GB, free: 10.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.788, allocations: 0.8741 MB / 0.6541 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009316/1.789, allocations: 132 kB / 0.6543 GB, free: 9.277 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004465/1.79, allocations: 0.5884 MB / 0.6548 GB, free: 8.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006775/1.796, allocations: 2.817 MB / 0.6576 GB, free: 6.262 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009849/1.806, allocations: 6.702 MB / 0.6641 GB, free: 14.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.817, allocations: 4.314 MB / 0.6683 GB, free: 10.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/1.817, allocations: 40 kB / 0.6684 GB, free: 10.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.03117/1.849, allocations: 9.867 MB / 0.678 GB, free: 1.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.849, allocations: 64.97 kB / 0.6781 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/1.849, allocations: 140 kB / 0.6782 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/1.854, allocations: 1.134 MB / 0.6793 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/1.866, allocations: 1.674 MB / 0.681 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/1.879, allocations: 5.919 MB / 0.6867 GB, free: 9.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008883/1.888, allocations: 415.5 kB / 0.6871 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.89, allocations: 423.5 kB / 0.6875 GB, free: 9.109 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (835): * Single equations (assignments): 831 * 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.00277/1.893, allocations: 0.6193 MB / 0.6881 GB, free: 8.488 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.894, allocations: 406.8 kB / 0.6885 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/1.912, allocations: 5.142 MB / 0.6936 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.621e-05/1.913, allocations: 24 kB / 0.6936 GB, free: 2.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.913, allocations: 4 kB / 0.6936 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.166e-05/1.913, allocations: 11.95 kB / 0.6936 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3562/2.269, allocations: 11.41 MB / 0.7047 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.333e-05/2.269, allocations: 4.547 kB / 0.7047 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005339/2.274, allocations: 472.5 kB / 0.7052 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004834/2.279, allocations: 0.9373 MB / 0.7061 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007468/2.28, allocations: 43.58 kB / 0.7061 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/2.292, allocations: 5.635 MB / 0.7116 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/2.292, allocations: 7.625 kB / 0.7117 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02262/2.315, allocations: 9.119 MB / 0.7206 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00354/2.318, allocations: 0.866 MB / 0.7214 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001735/2.32, allocations: 43.25 kB / 0.7214 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/2.325, allocations: 164.5 kB / 0.7216 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/2.326, allocations: 139.2 kB / 0.7217 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003801/2.327, allocations: 63.62 kB / 0.7218 GB, free: 108.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00761/2.334, allocations: 2.776 MB / 0.7245 GB, free: 108.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.334, allocations: 0 / 0.7245 GB, free: 108.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008824/2.343, allocations: 1.208 MB / 0.7257 GB, free: 108.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.02376/2.367, allocations: 10.48 MB / 0.7359 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01599/2.383, allocations: 6.576 MB / 0.7423 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.383, allocations: 0 / 0.7423 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/2.389, allocations: 2.495 MB / 0.7448 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/2.394, allocations: 444.7 kB / 0.7452 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04071/2.435, allocations: 11.74 MB / 0.7567 GB, free: 98.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008489/2.443, allocations: 3.767 MB / 0.7603 GB, free: 97.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006405/2.45, allocations: 2.287 MB / 0.7626 GB, free: 95.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.814e-06/2.45, allocations: 0 / 0.7626 GB, free: 95.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.117/7.567, allocations: 115.6 MB / 0.8755 GB, free: 99.61 MB / 474.7 MB