Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.193e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 38.77 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.4242, allocations: 88.24 MB / 346.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.4246, allocations: 83.95 kB / 346.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5885/1.013, allocations: 94.92 MB / 441.6 MB, free: 34.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.013, allocations: 0 / 441.6 MB, free: 34.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002606/1.013, allocations: 88 kB / 441.7 MB, free: 34.04 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: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01682/1.03, allocations: 4.67 MB / 446.4 MB, free: 29.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.03, allocations: 8.031 kB / 446.4 MB, free: 29.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03196/1.062, allocations: 4.498 MB / 450.9 MB, free: 24.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/1.08, allocations: 5.031 MB / 455.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/1.08, allocations: 156 kB / 456 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/1.082, allocations: 283.9 kB / 456.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01574/1.098, allocations: 6.977 MB / 463.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/1.123, allocations: 10.57 MB / 473.9 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/1.123, allocations: 59.41 kB / 473.9 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/1.125, allocations: 40 kB / 474 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002771/1.128, allocations: 1.199 MB / 475.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3328/1.461, allocations: 50.49 MB / 0.5133 GB, free: 43.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006653/1.467, allocations: 4.046 MB / 0.5173 GB, free: 42.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.471, allocations: 2.397 MB / 0.5196 GB, free: 42.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.473, allocations: 0.6907 MB / 0.5203 GB, free: 41.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.473, allocations: 55.69 kB / 0.5204 GB, free: 41.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=207): time 5.49e-06/1.473, allocations: 0 / 0.5204 GB, free: 41.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=229): time 0.05516/1.528, allocations: 17.06 MB / 0.537 GB, free: 38.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/1.528, allocations: 183.7 kB / 0.5372 GB, free: 38.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007182/1.535, allocations: 3.363 MB / 0.5405 GB, free: 38.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/1.536, allocations: 29.36 kB / 0.5405 GB, free: 38.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002937/1.539, allocations: 3.525 MB / 0.5439 GB, free: 35.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.54, allocations: 0.845 MB / 0.5448 GB, free: 35.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007554/1.541, allocations: 0 / 0.5448 GB, free: 35.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004441/1.541, allocations: 0.599 MB / 0.5454 GB, free: 34.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005254/1.547, allocations: 2.4 MB / 0.5477 GB, free: 33.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008009/1.555, allocations: 6.412 MB / 0.554 GB, free: 27.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008494/1.563, allocations: 3.89 MB / 0.5578 GB, free: 26.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.563, allocations: 41.22 kB / 0.5578 GB, free: 26.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.02412/1.588, allocations: 8.692 MB / 0.5663 GB, free: 23.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.588, allocations: 64.41 kB / 0.5663 GB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/1.588, allocations: 148.8 kB / 0.5665 GB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003526/1.592, allocations: 0.9321 MB / 0.5674 GB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/1.602, allocations: 1.667 MB / 0.569 GB, free: 21.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.612, allocations: 5.497 MB / 0.5744 GB, free: 16.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007274/1.62, allocations: 257.5 kB / 0.5746 GB, free: 16.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/1.621, allocations: 418.6 kB / 0.575 GB, free: 16.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00144/1.623, allocations: 473.9 kB / 0.5755 GB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01052/1.633, allocations: 4.167 MB / 0.5796 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.634, allocations: 359.3 kB / 0.5799 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.645, allocations: 3.956 MB / 0.5838 GB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/1.645, allocations: 27.61 kB / 0.5838 GB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.645, allocations: 4 kB / 0.5838 GB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/1.645, allocations: 15.53 kB / 0.5838 GB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.668, allocations: 9.072 MB / 0.5927 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/1.668, allocations: 3.438 kB / 0.5927 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/1.672, allocations: 441.6 kB / 0.5931 GB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.675, allocations: 0.7083 MB / 0.5938 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.675, allocations: 11.8 kB / 0.5938 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.686, allocations: 4.985 MB / 0.5987 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.686, allocations: 4 kB / 0.5987 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.704, allocations: 7.327 MB / 0.6058 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/1.706, allocations: 0.7327 MB / 0.6065 GB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.707, allocations: 7.953 kB / 0.6065 GB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.71, allocations: 109.3 kB / 0.6067 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/1.711, allocations: 136.1 kB / 0.6068 GB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.711, allocations: 61.02 kB / 0.6068 GB, free: 4.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005589/1.717, allocations: 2.247 MB / 0.609 GB, free: 2.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.717, allocations: 3.562 kB / 0.609 GB, free: 2.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008314/1.725, allocations: 0.9806 MB / 0.61 GB, free: 1.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 186 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02417/1.75, allocations: 8.802 MB / 0.6186 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01504/1.765, allocations: 5.913 MB / 0.6244 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.765, allocations: 0 / 0.6244 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005593/1.77, allocations: 2.149 MB / 0.6265 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/1.774, allocations: 359.4 kB / 0.6268 GB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03391/1.808, allocations: 10.36 MB / 0.6369 GB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007689/1.815, allocations: 3.766 MB / 0.6406 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01021/1.826, allocations: 2.262 MB / 0.6428 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005458/1.831, allocations: 2.206 MB / 0.645 GB, free: 1.172 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/1.831, allocations: 0 / 0.645 GB, free: 1.172 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4654/2.297, allocations: 79.98 MB / 0.7231 GB, free: 74.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/2.297, allocations: 150.6 kB / 0.7232 GB, free: 74.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.214/7.51, allocations: 0 / 0.7232 GB, free: 74.06 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat