Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.985e-05/5.004e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.5473, allocations: 92.54 MB / 414.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5476, allocations: 79.94 kB / 414.5 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9583/1.506, allocations: 162.5 MB / 0.5634 GB, free: 85.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.506, allocations: 3.094 kB / 0.5634 GB, free: 85.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006212/1.507, allocations: 163.9 kB / 0.5636 GB, free: 85.27 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03267/1.539, allocations: 8.006 MB / 0.5714 GB, free: 80.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.539, allocations: 14.03 kB / 0.5714 GB, free: 80.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006701/1.546, allocations: 1.4 MB / 0.5728 GB, free: 79.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08648/1.633, allocations: 12.03 MB / 0.5845 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03765/1.67, allocations: 10.81 MB / 0.5951 GB, free: 60.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008168/1.671, allocations: 0.6053 MB / 0.5957 GB, free: 60.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/1.676, allocations: 0.8104 MB / 0.5965 GB, free: 59.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06213/1.738, allocations: 19.09 MB / 0.6151 GB, free: 38.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007802/1.739, allocations: 107 kB / 0.6152 GB, free: 38.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004409/1.743, allocations: 393.8 kB / 0.6156 GB, free: 38.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003985/1.747, allocations: 1.728 MB / 0.6173 GB, free: 36.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05507/1.802, allocations: 15.46 MB / 0.6324 GB, free: 21.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.465/2.267, allocations: 79.59 MB / 0.7101 GB, free: 22.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03554/2.303, allocations: 8.185 MB / 0.7181 GB, free: 22.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008593/2.312, allocations: 4.087 MB / 0.7221 GB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/2.313, allocations: 0.6604 MB / 0.7227 GB, free: 21.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/2.313, allocations: 70.22 kB / 0.7228 GB, free: 21.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 7.153e-06/2.313, allocations: 0 / 0.7228 GB, free: 21.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=331): time 0.1182/2.431, allocations: 25.91 MB / 0.7481 GB, free: 14.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/2.431, allocations: 292.4 kB / 0.7484 GB, free: 13.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0171/2.448, allocations: 6.66 MB / 0.7549 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008705/2.449, allocations: 76.23 kB / 0.7549 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005567/2.455, allocations: 5.602 MB / 0.7604 GB, free: 7.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002322/2.457, allocations: 1.251 MB / 0.7616 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/2.459, allocations: 184.5 kB / 0.7618 GB, free: 6.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007692/2.459, allocations: 0.7029 MB / 0.7625 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008755/2.468, allocations: 3.37 MB / 0.7658 GB, free: 4.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01317/2.481, allocations: 8.859 MB / 0.7744 GB, free: 12.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/2.494, allocations: 5.41 MB / 0.7797 GB, free: 10.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002028/2.495, allocations: 52.91 kB / 0.7798 GB, free: 10.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03732/2.532, allocations: 12.84 MB / 0.7923 GB, free: 2.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/2.532, allocations: 92.03 kB / 0.7924 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003526/2.533, allocations: 192 kB / 0.7926 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004392/2.537, allocations: 1.009 MB / 0.7936 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/2.552, allocations: 2.19 MB / 0.7957 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/2.573, allocations: 10.99 MB / 0.8064 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/2.585, allocations: 0.5053 MB / 0.8069 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/2.587, allocations: 0.5542 MB / 0.8075 GB, free: 4.309 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1149): * Single equations (assignments): 1142 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004253/2.592, allocations: 0.8279 MB / 0.8083 GB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002613/2.594, allocations: 0.6595 MB / 0.8089 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/2.619, allocations: 6.135 MB / 0.8149 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/2.619, allocations: 35.75 kB / 0.815 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-05/2.619, allocations: 8 kB / 0.815 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-05/2.619, allocations: 23.05 kB / 0.815 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05262/2.672, allocations: 14.63 MB / 0.8293 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-05/2.672, allocations: 0 / 0.8293 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005765/2.678, allocations: 0.5217 MB / 0.8298 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003956/2.682, allocations: 0.6702 MB / 0.8304 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001386/2.683, allocations: 63.27 kB / 0.8305 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3649/3.048, allocations: 9.869 MB / 0.8401 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/3.048, allocations: 1.219 kB / 0.8401 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0289/3.077, allocations: 9.923 MB / 0.8498 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005344/3.083, allocations: 1.172 MB / 0.851 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002642/3.085, allocations: 55.33 kB / 0.851 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006746/3.092, allocations: 191 kB / 0.8512 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/3.094, allocations: 199.2 kB / 0.8514 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004359/3.094, allocations: 88.61 kB / 0.8515 GB, free: 107.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01516/3.109, allocations: 4.747 MB / 0.8561 GB, free: 106.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.71e-07/3.109, allocations: 0 / 0.8561 GB, free: 106.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01315/3.122, allocations: 1.808 MB / 0.8579 GB, free: 106.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0259/3.148, allocations: 10.88 MB / 0.8685 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02064/3.169, allocations: 8.639 MB / 0.8769 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/3.169, allocations: 0.9375 kB / 0.8769 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007093/3.176, allocations: 3.143 MB / 0.88 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007843/3.184, allocations: 0.9033 MB / 0.8809 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05708/3.241, allocations: 17.14 MB / 0.8976 GB, free: 94.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01498/3.256, allocations: 5.899 MB / 0.9034 GB, free: 93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01508/3.271, allocations: 3.035 MB / 0.9064 GB, free: 92.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/3.282, allocations: 3.914 MB / 0.9102 GB, free: 89.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.134e-06/3.282, allocations: 0 / 0.9102 GB, free: 89.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7288/4.01, allocations: 146.3 MB / 1.053 GB, free: 84.95 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/4.011, allocations: 175 kB / 1.053 GB, free: 84.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.251/13.26, allocations: 3.938 kB / 1.053 GB, free: 84.72 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat