Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/4.997e-05, allocations: 4 kB / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 38.77 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.4298, allocations: 87.27 MB / 351.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.4302, allocations: 79.95 kB / 351.2 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6146/1.045, allocations: 96.96 MB / 448.2 MB, free: 25.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.045, allocations: 3.938 kB / 448.2 MB, free: 25.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003202/1.045, allocations: 100 kB / 448.3 MB, free: 25.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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03089/1.076, allocations: 5.503 MB / 453.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.076, allocations: 11.97 kB / 453.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004464/1.081, allocations: 0.931 MB / 454.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.099, allocations: 2.317 MB / 457 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/1.117, allocations: 4.914 MB / 461.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004996/1.118, allocations: 398.3 kB / 462.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.121, allocations: 0.5114 MB / 462.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04167/1.163, allocations: 12.9 MB / 475.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003637/1.163, allocations: 71.34 kB / 475.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002822/1.166, allocations: 247.9 kB / 476.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003425/1.17, allocations: 1.196 MB / 477.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04059/1.21, allocations: 11.02 MB / 488.3 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3751/1.585, allocations: 57.07 MB / 0.5326 GB, free: 24.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02592/1.611, allocations: 5.133 MB / 0.5376 GB, free: 24.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006501/1.618, allocations: 3.165 MB / 0.5407 GB, free: 24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/1.62, allocations: 0.6853 MB / 0.5413 GB, free: 23.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/1.62, allocations: 60.47 kB / 0.5414 GB, free: 23.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 6.683e-06/1.62, allocations: 0 / 0.5414 GB, free: 23.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.1005/1.72, allocations: 21.5 MB / 0.5624 GB, free: 19.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/1.721, allocations: 157.9 kB / 0.5625 GB, free: 19.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009813/1.73, allocations: 4.047 MB / 0.5665 GB, free: 18.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008083/1.731, allocations: 64.83 kB / 0.5665 GB, free: 18.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003372/1.735, allocations: 3.576 MB / 0.57 GB, free: 16.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001729/1.736, allocations: 0.9499 MB / 0.571 GB, free: 15.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009637/1.737, allocations: 139.3 kB / 0.5711 GB, free: 15.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004729/1.738, allocations: 0.6001 MB / 0.5717 GB, free: 14.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007565/1.745, allocations: 2.966 MB / 0.5746 GB, free: 13.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/1.756, allocations: 6.999 MB / 0.5814 GB, free: 7.391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.768, allocations: 4.509 MB / 0.5858 GB, free: 5.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/1.768, allocations: 38.88 kB / 0.5859 GB, free: 5.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03127/1.799, allocations: 10.83 MB / 0.5964 GB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.799, allocations: 64 kB / 0.5965 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002592/1.799, allocations: 144 kB / 0.5966 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/1.805, allocations: 1.137 MB / 0.5977 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01255/1.817, allocations: 1.738 MB / 0.5994 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.831, allocations: 5.932 MB / 0.6052 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009353/1.84, allocations: 424.4 kB / 0.6056 GB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/1.842, allocations: 436.5 kB / 0.6061 GB, free: 6.758 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.002425/1.845, allocations: 0.6257 MB / 0.6067 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.846, allocations: 426.4 kB / 0.6071 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/1.864, allocations: 5.5 MB / 0.6124 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/1.864, allocations: 28 kB / 0.6125 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.864, allocations: 4 kB / 0.6125 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.718e-05/1.864, allocations: 14.02 kB / 0.6125 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.039/1.903, allocations: 12.13 MB / 0.6243 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/1.903, allocations: 4 kB / 0.6243 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00568/1.909, allocations: 0.5035 MB / 0.6248 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004768/1.914, allocations: 0.9355 MB / 0.6257 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007378/1.914, allocations: 47.95 kB / 0.6258 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.927, allocations: 5.639 MB / 0.6313 GB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.927, allocations: 4 kB / 0.6313 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2984/2.225, allocations: 9.697 MB / 0.6408 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003646/2.229, allocations: 0.9104 MB / 0.6417 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.23, allocations: 47.3 kB / 0.6417 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004597/2.235, allocations: 176.4 kB / 0.6419 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/2.236, allocations: 152.8 kB / 0.642 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/2.237, allocations: 68.97 kB / 0.6421 GB, free: 88.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007281/2.244, allocations: 2.836 MB / 0.6449 GB, free: 88.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.52e-07/2.244, allocations: 0 / 0.6449 GB, free: 88.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008642/2.253, allocations: 1.26 MB / 0.6461 GB, free: 88.4 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.02476/2.277, allocations: 11.05 MB / 0.6569 GB, free: 86.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01794/2.295, allocations: 7.156 MB / 0.6639 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.295, allocations: 3.531 kB / 0.6639 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00685/2.302, allocations: 2.689 MB / 0.6665 GB, free: 84.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/2.307, allocations: 467 kB / 0.6669 GB, free: 84.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/2.347, allocations: 11.74 MB / 0.6784 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009011/2.356, allocations: 3.905 MB / 0.6822 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01165/2.368, allocations: 2.321 MB / 0.6845 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006428/2.374, allocations: 2.34 MB / 0.6868 GB, free: 77.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.864e-06/2.374, allocations: 0 / 0.6868 GB, free: 77.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.534/2.908, allocations: 96.85 MB / 0.7813 GB, free: 72.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/2.909, allocations: 197 kB / 0.7815 GB, free: 72.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/9.413, allocations: 3.281 kB / 0.7815 GB, free: 72.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat