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.878/1.878, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.381e-05, allocations: 3.984 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.4185, allocations: 87.26 MB / 351.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.4188, allocations: 79.95 kB / 351.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6315/1.05, allocations: 96.97 MB / 448.1 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.05, allocations: 0 / 448.1 MB, free: 25.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002983/1.051, allocations: 100 kB / 448.2 MB, free: 25.43 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.03745/1.088, allocations: 5.499 MB / 453.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/1.088, allocations: 8.031 kB / 453.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005401/1.094, allocations: 0.9349 MB / 454.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02477/1.119, allocations: 2.321 MB / 457 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.14, allocations: 4.906 MB / 461.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/1.141, allocations: 398.3 kB / 462.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00313/1.144, allocations: 0.5231 MB / 462.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04771/1.192, allocations: 12.89 MB / 475.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005124/1.192, allocations: 67.41 kB / 475.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003067/1.195, allocations: 255.9 kB / 476 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003542/1.199, allocations: 1.196 MB / 477.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04014/1.239, allocations: 11.01 MB / 488.2 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3606/1.6, allocations: 57.06 MB / 0.5325 GB, free: 24.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/1.626, allocations: 5.142 MB / 0.5375 GB, free: 24.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00647/1.632, allocations: 3.168 MB / 0.5406 GB, free: 24.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/1.634, allocations: 0.6871 MB / 0.5413 GB, free: 23.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.449e-05/1.634, allocations: 56.81 kB / 0.5414 GB, free: 23.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 6.342e-06/1.634, allocations: 3 kB / 0.5414 GB, free: 23.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.1053/1.74, allocations: 21.5 MB / 0.5624 GB, free: 20.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/1.74, allocations: 158.2 kB / 0.5625 GB, free: 20.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.751, allocations: 4.046 MB / 0.5665 GB, free: 18.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007701/1.752, allocations: 61.14 kB / 0.5665 GB, free: 18.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003113/1.755, allocations: 3.476 MB / 0.5699 GB, free: 16.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.756, allocations: 0.9512 MB / 0.5708 GB, free: 15.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/1.758, allocations: 136.9 kB / 0.571 GB, free: 15.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007514/1.758, allocations: 0.6052 MB / 0.5716 GB, free: 15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007633/1.766, allocations: 2.969 MB / 0.5745 GB, free: 13.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.776, allocations: 6.996 MB / 0.5813 GB, free: 7.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.787, allocations: 4.511 MB / 0.5857 GB, free: 6.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/1.787, allocations: 40.91 kB / 0.5857 GB, free: 6.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02972/1.817, allocations: 10.68 MB / 0.5962 GB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.817, allocations: 68 kB / 0.5962 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002765/1.817, allocations: 143.2 kB / 0.5964 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005369/1.822, allocations: 1.142 MB / 0.5975 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/1.835, allocations: 1.733 MB / 0.5992 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.849, allocations: 5.931 MB / 0.605 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009189/1.858, allocations: 427.8 kB / 0.6054 GB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/1.86, allocations: 439.7 kB / 0.6058 GB, free: 7.121 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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 (870): * Single equations (assignments): 866 * 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.003052/1.863, allocations: 0.6253 MB / 0.6064 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.865, allocations: 418.7 kB / 0.6068 GB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01839/1.883, allocations: 5.486 MB / 0.6122 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.267e-05/1.883, allocations: 31.89 kB / 0.6122 GB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/1.883, allocations: 11.78 kB / 0.6122 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.541e-05/1.883, allocations: 13.55 kB / 0.6122 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04056/1.924, allocations: 12.2 MB / 0.6241 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/1.924, allocations: 4 kB / 0.6241 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005548/1.929, allocations: 0.4993 MB / 0.6246 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004808/1.934, allocations: 0.9379 MB / 0.6255 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007637/1.935, allocations: 47.94 kB / 0.6256 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.948, allocations: 5.638 MB / 0.6311 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.948, allocations: 4 kB / 0.6311 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2969/2.245, allocations: 9.69 MB / 0.6406 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00366/2.249, allocations: 0.9178 MB / 0.6415 GB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/2.25, allocations: 45.45 kB / 0.6415 GB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004802/2.255, allocations: 175.6 kB / 0.6417 GB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009338/2.256, allocations: 154.3 kB / 0.6418 GB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/2.256, allocations: 70.36 kB / 0.6419 GB, free: 88.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007062/2.263, allocations: 2.83 MB / 0.6446 GB, free: 88.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.263, allocations: 0 / 0.6446 GB, free: 88.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008308/2.272, allocations: 1.258 MB / 0.6459 GB, free: 88.53 MB / 378.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.02339/2.295, allocations: 11.06 MB / 0.6567 GB, free: 86.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01649/2.312, allocations: 7.167 MB / 0.6637 GB, free: 86.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/2.312, allocations: 0 / 0.6637 GB, free: 86.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006548/2.318, allocations: 2.688 MB / 0.6663 GB, free: 85.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/2.323, allocations: 457.6 kB / 0.6667 GB, free: 84.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04122/2.364, allocations: 12.31 MB / 0.6788 GB, free: 80.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00889/2.373, allocations: 3.907 MB / 0.6826 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006676/2.379, allocations: 2.381 MB / 0.6849 GB, free: 77.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/2.38, allocations: 0 / 0.6849 GB, free: 77.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.027/7.407, allocations: 121.6 MB / 0.8037 GB, free: 85.35 MB / 378.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