Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.465e-05, allocations: 4 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5374, allocations: 95.6 MB / 411.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5377, allocations: 71.16 kB / 412 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8002/1.338, allocations: 135.1 MB / 0.5343 GB, free: 82.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.338, allocations: 0 / 0.5343 GB, free: 82.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004195/1.338, allocations: 133.4 kB / 0.5344 GB, free: 82.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02762/1.366, allocations: 6.79 MB / 0.541 GB, free: 78.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.366, allocations: 7.844 kB / 0.541 GB, free: 78.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05182/1.418, allocations: 7.183 MB / 0.548 GB, free: 76.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/1.445, allocations: 7.523 MB / 0.5554 GB, free: 72.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004516/1.445, allocations: 224.5 kB / 0.5556 GB, free: 72.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/1.449, allocations: 413.3 kB / 0.556 GB, free: 72.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02458/1.474, allocations: 9.801 MB / 0.5656 GB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03838/1.512, allocations: 14.81 MB / 0.58 GB, free: 47.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004229/1.513, allocations: 79.28 kB / 0.5801 GB, free: 47.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003471/1.516, allocations: 44 kB / 0.5801 GB, free: 47.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00357/1.52, allocations: 1.624 MB / 0.5817 GB, free: 45.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.44/1.96, allocations: 69.44 MB / 0.6495 GB, free: 51.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/1.971, allocations: 5.572 MB / 0.655 GB, free: 50.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007825/1.979, allocations: 3.756 MB / 0.6586 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000405/1.98, allocations: 57.64 kB / 0.6587 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/1.98, allocations: 67.81 kB / 0.6588 GB, free: 50.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=296): time 8.986e-06/1.98, allocations: 0 / 0.6588 GB, free: 50.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.09501/2.075, allocations: 28.74 MB / 0.6868 GB, free: 44.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/2.075, allocations: 243.3 kB / 0.6871 GB, free: 43.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009927/2.085, allocations: 4.539 MB / 0.6915 GB, free: 42.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009503/2.086, allocations: 25.7 kB / 0.6915 GB, free: 42.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00399/2.09, allocations: 4.921 MB / 0.6963 GB, free: 38.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002042/2.092, allocations: 1.226 MB / 0.6975 GB, free: 37.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/2.093, allocations: 1.219 kB / 0.6975 GB, free: 37.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006324/2.094, allocations: 0.7006 MB / 0.6982 GB, free: 37.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008485/2.102, allocations: 3.565 MB / 0.7017 GB, free: 35.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/2.114, allocations: 8.805 MB / 0.7103 GB, free: 27.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/2.126, allocations: 5.538 MB / 0.7157 GB, free: 25.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002069/2.127, allocations: 53.31 kB / 0.7157 GB, free: 25.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.03526/2.162, allocations: 12.73 MB / 0.7282 GB, free: 19.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/2.162, allocations: 84 kB / 0.7283 GB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/2.162, allocations: 188 kB / 0.7284 GB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/2.169, allocations: 1.7 MB / 0.7301 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.184, allocations: 2.212 MB / 0.7323 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/2.205, allocations: 10.78 MB / 0.7428 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/2.216, allocations: 365.9 kB / 0.7431 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002442/2.218, allocations: 0.5462 MB / 0.7437 GB, free: 5.848 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1138): * Single equations (assignments): 1133 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003662/2.222, allocations: 0.572 MB / 0.7442 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02057/2.243, allocations: 6.934 MB / 0.751 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/2.245, allocations: 0.5121 MB / 0.7515 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02358/2.269, allocations: 6.94 MB / 0.7583 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/2.269, allocations: 36.55 kB / 0.7583 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/2.269, allocations: 8 kB / 0.7583 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.463e-05/2.269, allocations: 19.89 kB / 0.7583 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05361/2.323, allocations: 15.12 MB / 0.7731 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/2.323, allocations: 4.375 kB / 0.7731 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006651/2.329, allocations: 0.6129 MB / 0.7737 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006738/2.336, allocations: 1.409 MB / 0.7751 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009303/2.337, allocations: 16 kB / 0.7751 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/2.363, allocations: 9.9 MB / 0.7848 GB, free: 2.641 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/2.363, allocations: 7.938 kB / 0.7848 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04449/2.407, allocations: 12.1 MB / 0.7966 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005966/2.413, allocations: 1.08 MB / 0.7976 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00238/2.416, allocations: 7.984 kB / 0.7977 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007404/2.423, allocations: 183.2 kB / 0.7978 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/2.425, allocations: 206.2 kB / 0.798 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006321/2.425, allocations: 95.98 kB / 0.7981 GB, free: 4.754 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009612/2.435, allocations: 3.05 MB / 0.8011 GB, free: 1.727 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.435, allocations: 0 / 0.8011 GB, free: 1.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01282/2.448, allocations: 1.46 MB / 0.8025 GB, free: 276 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03359/2.482, allocations: 13.53 MB / 0.8157 GB, free: 2.555 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02438/2.506, allocations: 8.979 MB / 0.8245 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/2.506, allocations: 4 kB / 0.8245 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/2.516, allocations: 3.562 MB / 0.828 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/2.522, allocations: 0.5152 MB / 0.8285 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3496/2.871, allocations: 15.51 MB / 0.8436 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/2.886, allocations: 5.183 MB / 0.8487 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01609/2.902, allocations: 3 MB / 0.8516 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008992/2.911, allocations: 3.255 MB / 0.8548 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.911, allocations: 3.719 kB / 0.8548 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2705/3.182, allocations: 118.2 MB / 0.9703 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/3.182, allocations: 151.2 kB / 0.9704 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/9.856, allocations: 2.953 kB / 0.9704 GB, free: 78.88 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat