Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.485e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3087, allocations: 44.5 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.4777, allocations: 92.32 MB / 386.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4781, allocations: 83.95 kB / 386.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6332/1.111, allocations: 94.96 MB / 481.6 MB, free: 67.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.111, allocations: 0 / 481.6 MB, free: 67.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003167/1.112, allocations: 103.1 kB / 481.7 MB, free: 67.25 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02936/1.141, allocations: 5.488 MB / 487.2 MB, free: 61.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.141, allocations: 8.031 kB / 487.2 MB, free: 61.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/1.159, allocations: 2.325 MB / 489.5 MB, free: 59.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/1.176, allocations: 4.903 MB / 494.4 MB, free: 54.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/1.176, allocations: 172 kB / 494.6 MB, free: 54.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002782/1.179, allocations: 307.9 kB / 494.9 MB, free: 53.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01899/1.198, allocations: 7.75 MB / 0.4908 GB, free: 46.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02933/1.228, allocations: 11.53 MB / 0.5021 GB, free: 33.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/1.228, allocations: 75.27 kB / 0.5022 GB, free: 33.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002551/1.231, allocations: 39.95 kB / 0.5022 GB, free: 33.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/1.233, allocations: 1.199 MB / 0.5034 GB, free: 32.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09331/1.327, allocations: 54.85 MB / 0.5569 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009334/1.336, allocations: 4.355 MB / 0.5612 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006915/1.343, allocations: 3.111 MB / 0.5642 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2801/1.623, allocations: 0.6766 MB / 0.5649 GB, free: 93.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.856e-05/1.623, allocations: 58.34 kB / 0.5649 GB, free: 93.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 6.051e-06/1.623, allocations: 0 / 0.5649 GB, free: 93.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.08188/1.705, allocations: 22.3 MB / 0.5867 GB, free: 90.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/1.705, allocations: 152 kB / 0.5869 GB, free: 90.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007691/1.713, allocations: 3.356 MB / 0.5901 GB, free: 90.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000745/1.714, allocations: 29.45 kB / 0.5902 GB, free: 90.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003084/1.717, allocations: 3.601 MB / 0.5937 GB, free: 88.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001702/1.719, allocations: 0.9242 MB / 0.5946 GB, free: 87.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009742/1.72, allocations: 3.812 kB / 0.5946 GB, free: 87.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005892/1.72, allocations: 0.6192 MB / 0.5952 GB, free: 87.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006788/1.727, allocations: 2.879 MB / 0.598 GB, free: 86.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009865/1.737, allocations: 7.046 MB / 0.6049 GB, free: 79.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009701/1.747, allocations: 4.438 MB / 0.6092 GB, free: 78.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/1.747, allocations: 42.53 kB / 0.6093 GB, free: 78.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02845/1.776, allocations: 9.954 MB / 0.619 GB, free: 75.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.776, allocations: 68 kB / 0.6191 GB, free: 75.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002161/1.776, allocations: 150.6 kB / 0.6192 GB, free: 75.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/1.781, allocations: 1.138 MB / 0.6203 GB, free: 75.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/1.793, allocations: 1.792 MB / 0.6221 GB, free: 74.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.803, allocations: 5.639 MB / 0.6276 GB, free: 69.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0087/1.812, allocations: 298.8 kB / 0.6279 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.814, allocations: 448.8 kB / 0.6283 GB, free: 68.48 MB / 394.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.002438/1.817, allocations: 485.2 kB / 0.6287 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01471/1.831, allocations: 5.414 MB / 0.634 GB, free: 63.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.833, allocations: 367.2 kB / 0.6344 GB, free: 63.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/1.849, allocations: 5.286 MB / 0.6395 GB, free: 58.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-05/1.849, allocations: 32 kB / 0.6396 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.849, allocations: 4 kB / 0.6396 GB, free: 58.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.53e-05/1.849, allocations: 10.55 kB / 0.6396 GB, free: 58.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/1.881, allocations: 11.02 MB / 0.6503 GB, free: 50.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/1.881, allocations: 0 / 0.6503 GB, free: 50.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005276/1.886, allocations: 0.5045 MB / 0.6508 GB, free: 49.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004426/1.891, allocations: 0.9271 MB / 0.6517 GB, free: 49.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007386/1.891, allocations: 14.58 kB / 0.6518 GB, free: 49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009888/1.901, allocations: 5.336 MB / 0.657 GB, free: 44.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.901, allocations: 11.89 kB / 0.657 GB, free: 44.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.923, allocations: 9.433 MB / 0.6662 GB, free: 35.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/1.926, allocations: 0.8493 MB / 0.667 GB, free: 35.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/1.928, allocations: 4 kB / 0.667 GB, free: 35.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004592/1.932, allocations: 140.1 kB / 0.6672 GB, free: 35.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.933, allocations: 154.8 kB / 0.6673 GB, free: 34.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003748/1.934, allocations: 74.42 kB / 0.6674 GB, free: 34.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005501/1.939, allocations: 2.225 MB / 0.6696 GB, free: 32.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.939, allocations: 0 / 0.6696 GB, free: 32.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008848/1.948, allocations: 1.087 MB / 0.6706 GB, free: 31.88 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.02209/1.97, allocations: 10.8 MB / 0.6812 GB, free: 21.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/1.986, allocations: 6.872 MB / 0.6879 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.986, allocations: 8.188 kB / 0.6879 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006112/1.992, allocations: 2.627 MB / 0.6904 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.996, allocations: 352.3 kB / 0.6908 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03883/2.035, allocations: 11.95 MB / 0.7025 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009607/2.045, allocations: 3.903 MB / 0.7063 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007419/2.052, allocations: 2.378 MB / 0.7086 GB, free: 9.012 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/2.052, allocations: 0 / 0.7086 GB, free: 9.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.839/6.891, allocations: 118 MB / 0.8239 GB, free: 26.21 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat