Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 235.1 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.393e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4188, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.6114, allocations: 100.6 MB / 455.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.6118, allocations: 79.91 kB / 455.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.863/1.475, allocations: 130 MB / 0.5714 GB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.475, allocations: 3.938 kB / 0.5714 GB, free: 8.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004565/1.475, allocations: 128 kB / 0.5715 GB, free: 8.012 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02902/1.504, allocations: 6.427 MB / 0.5778 GB, free: 1.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.504, allocations: 11.97 kB / 0.5778 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05865/1.563, allocations: 7.132 MB / 0.5848 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03026/1.593, allocations: 7.224 MB / 0.5918 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/1.594, allocations: 220 kB / 0.592 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/1.598, allocations: 399.9 kB / 0.5924 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02929/1.627, allocations: 9.52 MB / 0.6017 GB, free: 8.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/1.669, allocations: 14.38 MB / 0.6157 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003926/1.67, allocations: 83.19 kB / 0.6158 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002156/1.672, allocations: 44 kB / 0.6159 GB, free: 9.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004053/1.676, allocations: 1.562 MB / 0.6174 GB, free: 7.508 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.465/2.141, allocations: 67.16 MB / 0.683 GB, free: 40.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/2.152, allocations: 5.593 MB / 0.6884 GB, free: 39.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007304/2.159, allocations: 3.8 MB / 0.6922 GB, free: 39.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/2.16, allocations: 61.86 kB / 0.6922 GB, free: 39.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/2.16, allocations: 64.16 kB / 0.6923 GB, free: 39.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=290): time 8.566e-06/2.16, allocations: 3.891 kB / 0.6923 GB, free: 39.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=334): time 0.1049/2.265, allocations: 29.33 MB / 0.7209 GB, free: 30.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/2.265, allocations: 221.9 kB / 0.7211 GB, free: 30.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009773/2.274, allocations: 4.247 MB / 0.7253 GB, free: 28.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000964/2.275, allocations: 31.3 kB / 0.7253 GB, free: 28.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004025/2.28, allocations: 4.688 MB / 0.7299 GB, free: 25.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002086/2.282, allocations: 1.207 MB / 0.7311 GB, free: 24.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/2.283, allocations: 0 / 0.7311 GB, free: 24.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006127/2.283, allocations: 0.6846 MB / 0.7317 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009184/2.293, allocations: 3.621 MB / 0.7353 GB, free: 22.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/2.306, allocations: 8.633 MB / 0.7437 GB, free: 12.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/2.319, allocations: 5.507 MB / 0.7491 GB, free: 8.523 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/2.319, allocations: 53.97 kB / 0.7491 GB, free: 8.473 MB / 458.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.04123/2.36, allocations: 12.76 MB / 0.7616 GB, free: 14.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/2.36, allocations: 83.83 kB / 0.7617 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003292/2.361, allocations: 180 kB / 0.7618 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008433/2.369, allocations: 1.697 MB / 0.7635 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01738/2.386, allocations: 2.173 MB / 0.7656 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/2.414, allocations: 10.78 MB / 0.7761 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/2.426, allocations: 371.2 kB / 0.7765 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002555/2.429, allocations: 0.5228 MB / 0.777 GB, free: 356 kB / 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.002899/2.432, allocations: 0.5558 MB / 0.7776 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02471/2.457, allocations: 7.097 MB / 0.7845 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002285/2.459, allocations: 481.8 kB / 0.7849 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02667/2.486, allocations: 7.147 MB / 0.7919 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/2.486, allocations: 32 kB / 0.792 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/2.486, allocations: 12 kB / 0.792 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-05/2.486, allocations: 25.94 kB / 0.792 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05168/2.538, allocations: 15.01 MB / 0.8067 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/2.538, allocations: 4 kB / 0.8067 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007951/2.546, allocations: 0.6525 MB / 0.8073 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00761/2.553, allocations: 1.408 MB / 0.8087 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009106/2.554, allocations: 15.75 kB / 0.8087 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3941/2.948, allocations: 9.842 MB / 0.8183 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/2.948, allocations: 4.094 kB / 0.8183 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03151/2.98, allocations: 12.36 MB / 0.8304 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004409/2.984, allocations: 1.082 MB / 0.8314 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/2.986, allocations: 3.469 kB / 0.8314 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006194/2.993, allocations: 222.4 kB / 0.8316 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/2.994, allocations: 204.8 kB / 0.8318 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004531/2.994, allocations: 90.16 kB / 0.8319 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007069/3.001, allocations: 2.842 MB / 0.8347 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.61e-07/3.002, allocations: 0 / 0.8347 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01179/3.013, allocations: 1.442 MB / 0.8361 GB, free: 113.8 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.03313/3.047, allocations: 13.74 MB / 0.8495 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02343/3.07, allocations: 9.088 MB / 0.8584 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/3.07, allocations: 0 / 0.8584 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/3.08, allocations: 3.624 MB / 0.8619 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/3.086, allocations: 496.5 kB / 0.8624 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0479/3.134, allocations: 15.14 MB / 0.8772 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01156/3.145, allocations: 4.997 MB / 0.8821 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01492/3.16, allocations: 2.912 MB / 0.8849 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007942/3.168, allocations: 3.114 MB / 0.888 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/3.168, allocations: 0 / 0.888 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.663/3.831, allocations: 114.6 MB / 0.9999 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003231/3.832, allocations: 162.7 kB / 1 GB, free: 79.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.041/10.87, allocations: 0 / 1 GB, free: 79.24 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat