Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.481e-05, allocations: 3.984 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.5871, allocations: 100.2 MB / 443.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.5875, allocations: 96.2 kB / 443.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7315/1.319, allocations: 95.34 MB / 0.5261 GB, free: 92.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.714e-06/1.319, allocations: 1.125 kB / 0.5261 GB, free: 92.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003714/1.319, allocations: 97.86 kB / 0.5262 GB, free: 92.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.03344/1.353, allocations: 5.34 MB / 0.5314 GB, free: 91.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.353, allocations: 11.38 kB / 0.5314 GB, free: 91.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00516/1.358, allocations: 0.8867 MB / 0.5323 GB, free: 91.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/1.377, allocations: 2.285 MB / 0.5345 GB, free: 91.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/1.397, allocations: 4.683 MB / 0.5391 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000653/1.398, allocations: 374.9 kB / 0.5395 GB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.401, allocations: 0.4936 MB / 0.54 GB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.041/1.442, allocations: 12.39 MB / 0.5521 GB, free: 87.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005215/1.443, allocations: 74.94 kB / 0.5521 GB, free: 87.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003532/1.446, allocations: 243.1 kB / 0.5524 GB, free: 87.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002946/1.449, allocations: 1.14 MB / 0.5535 GB, free: 87.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03523/1.484, allocations: 10.4 MB / 0.5636 GB, free: 87.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09271/1.577, allocations: 55.55 MB / 0.6179 GB, free: 49.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.026/1.603, allocations: 4.927 MB / 0.6227 GB, free: 47.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006375/1.61, allocations: 2.997 MB / 0.6256 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/1.612, allocations: 0.6855 MB / 0.6263 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/1.612, allocations: 49.03 kB / 0.6263 GB, free: 45.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.251e-06/1.612, allocations: 0 / 0.6263 GB, free: 45.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.1017/1.713, allocations: 20.51 MB / 0.6463 GB, free: 30.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/1.714, allocations: 162.5 kB / 0.6465 GB, free: 29.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009743/1.723, allocations: 3.972 MB / 0.6504 GB, free: 26.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007297/1.724, allocations: 57.7 kB / 0.6504 GB, free: 26.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003201/1.727, allocations: 3.488 MB / 0.6538 GB, free: 23.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.729, allocations: 0.8784 MB / 0.6547 GB, free: 22.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.73, allocations: 128 kB / 0.6548 GB, free: 22.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005432/1.731, allocations: 0.5852 MB / 0.6554 GB, free: 21.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007248/1.738, allocations: 2.812 MB / 0.6581 GB, free: 19.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009874/1.748, allocations: 6.711 MB / 0.6647 GB, free: 11.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/1.758, allocations: 4.316 MB / 0.6689 GB, free: 7.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.758, allocations: 40 kB / 0.6689 GB, free: 7.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.03599/1.794, allocations: 10 MB / 0.6787 GB, free: 14.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.794, allocations: 68.25 kB / 0.6788 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002792/1.794, allocations: 140 kB / 0.6789 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005648/1.8, allocations: 1.136 MB / 0.68 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/1.817, allocations: 1.669 MB / 0.6817 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.832, allocations: 5.92 MB / 0.6874 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009032/1.841, allocations: 411.5 kB / 0.6878 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/1.843, allocations: 419.9 kB / 0.6882 GB, free: 4.883 MB / 458.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.003287/1.846, allocations: 0.6119 MB / 0.6888 GB, free: 4.262 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.848, allocations: 402.8 kB / 0.6892 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3876/2.235, allocations: 5.142 MB / 0.6942 GB, free: 97.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-05/2.236, allocations: 27.56 kB / 0.6943 GB, free: 97.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/2.236, allocations: 3.562 kB / 0.6943 GB, free: 97.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-05/2.236, allocations: 12.62 kB / 0.6943 GB, free: 97.22 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04064/2.276, allocations: 11.41 MB / 0.7054 GB, free: 96.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.447e-05/2.277, allocations: 8.141 kB / 0.7054 GB, free: 96.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005232/2.282, allocations: 474.2 kB / 0.7059 GB, free: 96.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/2.287, allocations: 0.9305 MB / 0.7068 GB, free: 96.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007478/2.287, allocations: 45.62 kB / 0.7068 GB, free: 96.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/2.299, allocations: 5.638 MB / 0.7123 GB, free: 95.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/2.299, allocations: 8.781 kB / 0.7123 GB, free: 95.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/2.322, allocations: 9.113 MB / 0.7212 GB, free: 94.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003556/2.326, allocations: 0.866 MB / 0.7221 GB, free: 93.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/2.327, allocations: 43.22 kB / 0.7221 GB, free: 93.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/2.332, allocations: 166.7 kB / 0.7223 GB, free: 93.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.333, allocations: 139.5 kB / 0.7224 GB, free: 93.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005156/2.334, allocations: 64.45 kB / 0.7225 GB, free: 93.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007644/2.342, allocations: 2.775 MB / 0.7252 GB, free: 93.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.342, allocations: 0 / 0.7252 GB, free: 93.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009149/2.351, allocations: 1.206 MB / 0.7264 GB, free: 93.78 MB / 458.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.02339/2.374, allocations: 10.48 MB / 0.7366 GB, free: 89.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01617/2.391, allocations: 6.583 MB / 0.743 GB, free: 87.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.391, allocations: 0 / 0.743 GB, free: 87.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00659/2.397, allocations: 2.486 MB / 0.7455 GB, free: 86.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/2.402, allocations: 449.5 kB / 0.7459 GB, free: 86.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04056/2.443, allocations: 11.21 MB / 0.7568 GB, free: 82.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00901/2.452, allocations: 3.765 MB / 0.7605 GB, free: 81.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01127/2.463, allocations: 2.227 MB / 0.7627 GB, free: 81.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006504/2.469, allocations: 2.234 MB / 0.7649 GB, free: 79.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.695e-06/2.47, allocations: 0 / 0.7649 GB, free: 79.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.212/2.682, allocations: 92.99 MB / 0.8557 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/2.682, allocations: 200.5 kB / 0.8559 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.243/8.925, allocations: 0 / 0.8559 GB, free: 0.7578 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat