Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.556e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4861, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.6772, allocations: 100.6 MB / 455 MB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6776, allocations: 79.95 kB / 455 MB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8567/1.534, allocations: 130 MB / 0.5713 GB, free: 55.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.534, allocations: 0 / 0.5713 GB, free: 55.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004768/1.535, allocations: 128 kB / 0.5714 GB, free: 55.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02803/1.563, allocations: 6.427 MB / 0.5777 GB, free: 49.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.563, allocations: 12.03 kB / 0.5777 GB, free: 49.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05194/1.615, allocations: 7.132 MB / 0.5846 GB, free: 42.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02581/1.641, allocations: 7.225 MB / 0.5917 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/1.641, allocations: 220 kB / 0.5919 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/1.645, allocations: 399.9 kB / 0.5923 GB, free: 34.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02371/1.669, allocations: 9.524 MB / 0.6016 GB, free: 24.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03821/1.707, allocations: 14.39 MB / 0.6156 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/1.708, allocations: 87.19 kB / 0.6157 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002726/1.71, allocations: 40 kB / 0.6158 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003259/1.714, allocations: 1.558 MB / 0.6173 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5139/2.228, allocations: 67.17 MB / 0.6829 GB, free: 66.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/2.239, allocations: 5.592 MB / 0.6883 GB, free: 66.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007355/2.247, allocations: 3.803 MB / 0.6921 GB, free: 66.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/2.247, allocations: 60.62 kB / 0.6921 GB, free: 66.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/2.247, allocations: 69.06 kB / 0.6922 GB, free: 66.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.484e-06/2.247, allocations: 0 / 0.6922 GB, free: 66.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=334): time 0.1069/2.354, allocations: 29.32 MB / 0.7208 GB, free: 62.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/2.354, allocations: 214.8 kB / 0.721 GB, free: 61.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/2.366, allocations: 4.252 MB / 0.7252 GB, free: 60.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/2.367, allocations: 28.36 kB / 0.7252 GB, free: 60.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004184/2.371, allocations: 4.692 MB / 0.7298 GB, free: 57.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002665/2.374, allocations: 1.21 MB / 0.731 GB, free: 56.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/2.375, allocations: 0 / 0.731 GB, free: 56.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001004/2.376, allocations: 0.6785 MB / 0.7316 GB, free: 55.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009327/2.386, allocations: 3.621 MB / 0.7352 GB, free: 54.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/2.398, allocations: 8.638 MB / 0.7436 GB, free: 46.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/2.411, allocations: 5.508 MB / 0.749 GB, free: 44.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002061/2.411, allocations: 51.31 kB / 0.749 GB, free: 44.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.0353/2.446, allocations: 12.66 MB / 0.7614 GB, free: 36.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/2.446, allocations: 80 kB / 0.7615 GB, free: 36.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003/2.447, allocations: 183.9 kB / 0.7616 GB, free: 36.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007208/2.454, allocations: 1.702 MB / 0.7633 GB, free: 34.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01458/2.468, allocations: 2.174 MB / 0.7654 GB, free: 33.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/2.49, allocations: 10.78 MB / 0.776 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.501, allocations: 372.7 kB / 0.7763 GB, free: 23.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/2.503, allocations: 0.5289 MB / 0.7768 GB, free: 22.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (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 (1091): * Single equations (assignments): 1086 * 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.004062/2.508, allocations: 0.5526 MB / 0.7774 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02058/2.528, allocations: 7.095 MB / 0.7843 GB, free: 16.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002152/2.53, allocations: 492.1 kB / 0.7848 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02519/2.556, allocations: 7.141 MB / 0.7917 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.872e-05/2.556, allocations: 44.86 kB / 0.7918 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/2.556, allocations: 8 kB / 0.7918 GB, free: 9.902 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.822e-05/2.556, allocations: 14.86 kB / 0.7918 GB, free: 9.902 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05515/2.611, allocations: 15.48 MB / 0.8069 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-05/2.611, allocations: 4 kB / 0.8069 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007132/2.618, allocations: 0.6501 MB / 0.8075 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006964/2.625, allocations: 1.407 MB / 0.8089 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/2.626, allocations: 19.8 kB / 0.8089 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/2.649, allocations: 9.844 MB / 0.8186 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/2.649, allocations: 4 kB / 0.8186 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03434/2.683, allocations: 12.35 MB / 0.8306 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004609/2.688, allocations: 1.08 MB / 0.8317 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/2.69, allocations: 8 kB / 0.8317 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005818/2.696, allocations: 225.8 kB / 0.8319 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/2.697, allocations: 197.8 kB / 0.8321 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004755/2.698, allocations: 91.98 kB / 0.8322 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008124/2.706, allocations: 2.845 MB / 0.8349 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.01e-07/2.706, allocations: 0 / 0.8349 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0129/2.719, allocations: 1.437 MB / 0.8364 GB, free: 2.039 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * 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.0359/2.755, allocations: 13.75 MB / 0.8498 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02542/2.78, allocations: 9.081 MB / 0.8586 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.78, allocations: 4 kB / 0.8587 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01105/2.792, allocations: 3.624 MB / 0.8622 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/2.797, allocations: 0.496 MB / 0.8627 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4131/3.21, allocations: 15.13 MB / 0.8774 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01362/3.224, allocations: 5 MB / 0.8823 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01511/3.239, allocations: 2.907 MB / 0.8852 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008959/3.248, allocations: 3.118 MB / 0.8882 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.053e-06/3.248, allocations: 0 / 0.8882 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2682/3.516, allocations: 114.6 MB / 1 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/3.517, allocations: 148.7 kB / 1 GB, free: 83.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/10.64, allocations: 0 / 1 GB, free: 83.44 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat