Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 171.2 MB / 178.8 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.334e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2673, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.4245, allocations: 86.6 MB / 344.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4248, allocations: 83.95 kB / 345 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5839/1.009, allocations: 94.95 MB / 440 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.009, allocations: 0 / 440 MB, free: 35.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002844/1.009, allocations: 100 kB / 440.1 MB, free: 35.61 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02908/1.038, allocations: 5.496 MB / 445.6 MB, free: 30.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.038, allocations: 8.031 kB / 445.6 MB, free: 30.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/1.055, allocations: 2.325 MB / 447.9 MB, free: 27.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01679/1.072, allocations: 4.914 MB / 452.8 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/1.073, allocations: 164 kB / 453 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002729/1.075, allocations: 307.9 kB / 453.3 MB, free: 22.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0186/1.094, allocations: 7.748 MB / 461 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03603/1.13, allocations: 11.53 MB / 472.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004937/1.131, allocations: 71.25 kB / 472.6 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003259/1.134, allocations: 39.94 kB / 472.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004698/1.139, allocations: 1.2 MB / 473.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4389/1.578, allocations: 54.84 MB / 0.5163 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007716/1.585, allocations: 4.366 MB / 0.5206 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005626/1.591, allocations: 3.103 MB / 0.5236 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/1.593, allocations: 0.6836 MB / 0.5243 GB, free: 37.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/1.593, allocations: 56.44 kB / 0.5243 GB, free: 37.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 5.911e-06/1.593, allocations: 2.953 kB / 0.5243 GB, free: 37.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.08629/1.679, allocations: 22.3 MB / 0.5461 GB, free: 32.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/1.679, allocations: 157 kB / 0.5462 GB, free: 32.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008033/1.687, allocations: 3.354 MB / 0.5495 GB, free: 31.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007736/1.688, allocations: 25.7 kB / 0.5495 GB, free: 31.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003106/1.691, allocations: 3.608 MB / 0.5531 GB, free: 28.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.693, allocations: 0.922 MB / 0.554 GB, free: 27.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/1.694, allocations: 0 / 0.554 GB, free: 27.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000663/1.695, allocations: 0.6128 MB / 0.5546 GB, free: 27.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0069/1.702, allocations: 2.879 MB / 0.5574 GB, free: 26.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009794/1.712, allocations: 7.051 MB / 0.5643 GB, free: 19.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009865/1.722, allocations: 4.444 MB / 0.5686 GB, free: 18.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/1.722, allocations: 40.72 kB / 0.5686 GB, free: 18.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02879/1.751, allocations: 9.951 MB / 0.5784 GB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.751, allocations: 69 kB / 0.5784 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.751, allocations: 152 kB / 0.5786 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004844/1.756, allocations: 1.146 MB / 0.5797 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/1.768, allocations: 1.789 MB / 0.5814 GB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.779, allocations: 5.631 MB / 0.5869 GB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008753/1.788, allocations: 295.4 kB / 0.5872 GB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/1.79, allocations: 455.3 kB / 0.5876 GB, free: 3.469 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (900): * Single equations (assignments): 896 * 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.002841/1.793, allocations: 486.1 kB / 0.5881 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02132/1.814, allocations: 5.752 MB / 0.5937 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/1.816, allocations: 374.9 kB / 0.5941 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/1.833, allocations: 5.289 MB / 0.5992 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.584e-05/1.833, allocations: 25.72 kB / 0.5993 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.833, allocations: 7.953 kB / 0.5993 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-05/1.833, allocations: 13.09 kB / 0.5993 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/1.867, allocations: 11 MB / 0.61 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/1.868, allocations: 7.938 kB / 0.61 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005513/1.873, allocations: 0.5055 MB / 0.6105 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004686/1.878, allocations: 0.9308 MB / 0.6115 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007009/1.879, allocations: 8 kB / 0.6115 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.891, allocations: 5.361 MB / 0.6167 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.891, allocations: 11.94 kB / 0.6167 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02436/1.915, allocations: 9.436 MB / 0.6259 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/1.919, allocations: 0.8514 MB / 0.6268 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/1.92, allocations: 4 kB / 0.6268 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/1.925, allocations: 143.8 kB / 0.6269 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/1.926, allocations: 157.7 kB / 0.627 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006715/1.927, allocations: 67.98 kB / 0.6271 GB, free: 1.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006492/1.934, allocations: 2.234 MB / 0.6293 GB, free: 15.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.934, allocations: 0 / 0.6293 GB, free: 15.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009414/1.943, allocations: 1.088 MB / 0.6304 GB, free: 13.97 MB / 394.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 (225): * Single equations (assignments): 221 * 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.02584/1.969, allocations: 10.8 MB / 0.6409 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2657/2.235, allocations: 6.868 MB / 0.6476 GB, free: 115.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/2.235, allocations: 0.7812 kB / 0.6476 GB, free: 115.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006258/2.241, allocations: 2.628 MB / 0.6502 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/2.245, allocations: 348.1 kB / 0.6505 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/2.284, allocations: 11.96 MB / 0.6622 GB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008578/2.292, allocations: 3.902 MB / 0.666 GB, free: 112.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00643/2.299, allocations: 2.377 MB / 0.6683 GB, free: 112.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/2.299, allocations: 0 / 0.6683 GB, free: 112.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.022/7.321, allocations: 118 MB / 0.7836 GB, free: 97.59 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat