Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.281e-05/4.283e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5566, allocations: 97.17 MB / 419.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.557, allocations: 75.97 kB / 419.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9816/1.539, allocations: 148.5 MB / 0.5543 GB, free: 87.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.539, allocations: 0 / 0.5543 GB, free: 87.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005585/1.539, allocations: 162.5 kB / 0.5545 GB, free: 87.62 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03146/1.571, allocations: 7.379 MB / 0.5617 GB, free: 84.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.571, allocations: 6.75 kB / 0.5617 GB, free: 84.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006443/1.577, allocations: 1.369 MB / 0.563 GB, free: 83.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05362/1.631, allocations: 7.316 MB / 0.5702 GB, free: 81.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02794/1.659, allocations: 7.884 MB / 0.5779 GB, free: 77.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007529/1.66, allocations: 0.5797 MB / 0.5785 GB, free: 77.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/1.664, allocations: 0.7651 MB / 0.5792 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05798/1.722, allocations: 18.75 MB / 0.5975 GB, free: 56.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000502/1.723, allocations: 87.12 kB / 0.5976 GB, free: 56.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003779/1.726, allocations: 370.2 kB / 0.5979 GB, free: 56.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004054/1.73, allocations: 1.835 MB / 0.5997 GB, free: 54.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04849/1.779, allocations: 15.06 MB / 0.6144 GB, free: 39.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5117/2.291, allocations: 81.68 MB / 0.6942 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0393/2.33, allocations: 8.621 MB / 0.7026 GB, free: 27.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009431/2.34, allocations: 4.616 MB / 0.7071 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03107/2.371, allocations: 11.7 MB / 0.7186 GB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/2.371, allocations: 69.62 kB / 0.7186 GB, free: 25.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=347): time 8.726e-06/2.371, allocations: 1.219 kB / 0.7186 GB, free: 25.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=389): time 0.1406/2.512, allocations: 31.5 MB / 0.7494 GB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/2.512, allocations: 253.5 kB / 0.7496 GB, free: 14.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01739/2.529, allocations: 6.489 MB / 0.756 GB, free: 12.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/2.53, allocations: 87.89 kB / 0.7561 GB, free: 11.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005257/2.536, allocations: 5.275 MB / 0.7612 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00254/2.538, allocations: 1.437 MB / 0.7626 GB, free: 6.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/2.54, allocations: 203.3 kB / 0.7628 GB, free: 6.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009541/2.541, allocations: 0.7201 MB / 0.7635 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/2.552, allocations: 4.02 MB / 0.7674 GB, free: 4.824 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01576/2.567, allocations: 9.534 MB / 0.7767 GB, free: 12.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/2.585, allocations: 6.148 MB / 0.7827 GB, free: 7.477 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002869/2.585, allocations: 60 kB / 0.7828 GB, free: 7.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04842/2.634, allocations: 14.48 MB / 0.7969 GB, free: 11.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/2.634, allocations: 92.06 kB / 0.797 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003717/2.634, allocations: 196 kB / 0.7972 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007924/2.642, allocations: 1.716 MB / 0.7989 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01876/2.661, allocations: 2.428 MB / 0.8013 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/2.687, allocations: 11.41 MB / 0.8124 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/2.7, allocations: 0.576 MB / 0.813 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002821/2.702, allocations: 0.5777 MB / 0.8135 GB, free: 12.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1225): * Single equations (assignments): 1220 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004046/2.707, allocations: 0.85 MB / 0.8144 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/2.709, allocations: 0.6478 MB / 0.815 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02752/2.736, allocations: 8.135 MB / 0.8229 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/2.736, allocations: 47.92 kB / 0.823 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-05/2.736, allocations: 8 kB / 0.823 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001275/2.737, allocations: 15.94 kB / 0.823 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4354/3.172, allocations: 18.16 MB / 0.8407 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.596e-05/3.172, allocations: 6.812 kB / 0.8408 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008164/3.18, allocations: 0.7704 MB / 0.8415 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00707/3.187, allocations: 1.428 MB / 0.8429 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/3.189, allocations: 74.92 kB / 0.843 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02202/3.211, allocations: 10.6 MB / 0.8533 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/3.211, allocations: 10.91 kB / 0.8533 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03703/3.248, allocations: 14.37 MB / 0.8674 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00633/3.254, allocations: 1.319 MB / 0.8687 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002748/3.257, allocations: 77.38 kB / 0.8687 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00686/3.264, allocations: 254.1 kB / 0.869 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/3.265, allocations: 235.7 kB / 0.8692 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004716/3.266, allocations: 106 kB / 0.8693 GB, free: 107.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01249/3.278, allocations: 4.651 MB / 0.8738 GB, free: 106 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.223e-06/3.278, allocations: 3.469 kB / 0.8738 GB, free: 106 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01261/3.291, allocations: 1.871 MB / 0.8757 GB, free: 105.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (329): * Single equations (assignments): 324 * 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.03212/3.323, allocations: 16.11 MB / 0.8914 GB, free: 97.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0224/3.346, allocations: 9.62 MB / 0.9008 GB, free: 94.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/3.346, allocations: 0 / 0.9008 GB, free: 94.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01037/3.356, allocations: 3.933 MB / 0.9046 GB, free: 92.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007409/3.364, allocations: 0.7686 MB / 0.9054 GB, free: 92.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/3.42, allocations: 17.66 MB / 0.9226 GB, free: 77.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/3.434, allocations: 5.636 MB / 0.9281 GB, free: 73.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02004/3.454, allocations: 3.326 MB / 0.9314 GB, free: 71.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01325/3.467, allocations: 3.679 MB / 0.935 GB, free: 68.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/3.467, allocations: 0 / 0.935 GB, free: 68.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6918/4.159, allocations: 145.5 MB / 1.077 GB, free: 84.68 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/4.159, allocations: 174.2 kB / 1.077 GB, free: 84.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/12.74, allocations: 0 / 1.077 GB, free: 84.46 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat