Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.489e-05, allocations: 7.938 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.69 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5358, allocations: 96.56 MB / 412.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5361, allocations: 75.52 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.114/1.65, allocations: 217.7 MB / 0.6159 GB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.65, allocations: 4 kB / 0.6159 GB, free: 13.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000871/1.651, allocations: 240 kB / 0.6161 GB, free: 13.71 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.04874/1.699, allocations: 11.36 MB / 0.6272 GB, free: 2.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.7, allocations: 16.03 kB / 0.6272 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09495/1.794, allocations: 12.63 MB / 0.6396 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6982/2.493, allocations: 12.53 MB / 0.6518 GB, free: 42.95 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009446/2.494, allocations: 391.8 kB / 0.6522 GB, free: 42.95 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006151/2.5, allocations: 0.7033 MB / 0.6529 GB, free: 42.95 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04523/2.545, allocations: 16.71 MB / 0.6692 GB, free: 42.89 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06499/2.61, allocations: 24.43 MB / 0.6931 GB, free: 37.55 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009341/2.611, allocations: 127.7 kB / 0.6932 GB, free: 37.55 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00579/2.617, allocations: 62.16 kB / 0.6932 GB, free: 37.55 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005959/2.623, allocations: 2.679 MB / 0.6959 GB, free: 37.53 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1941/2.817, allocations: 110.2 MB / 0.8035 GB, free: 8.441 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/2.841, allocations: 10.89 MB / 0.8141 GB, free: 14.65 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01586/2.857, allocations: 7.549 MB / 0.8215 GB, free: 7.746 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004407/2.861, allocations: 2.341 MB / 0.8238 GB, free: 5.23 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/2.861, allocations: 94.62 kB / 0.8239 GB, free: 5.133 MB / 490.8 MB Notification: Performance of pre-optimization done (n=541): time 1.007e-05/2.861, allocations: 0 / 0.8239 GB, free: 5.133 MB / 490.8 MB Notification: Performance of matching and sorting (n=629): time 0.5531/3.414, allocations: 57.54 MB / 0.8801 GB, free: 94.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/3.415, allocations: 325.3 kB / 0.8804 GB, free: 94.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01894/3.434, allocations: 7.053 MB / 0.8873 GB, free: 93.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002056/3.436, allocations: 25.7 kB / 0.8873 GB, free: 93.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008104/3.444, allocations: 7.9 MB / 0.895 GB, free: 89.15 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004068/3.448, allocations: 2.225 MB / 0.8972 GB, free: 87.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002997/3.451, allocations: 1.031 kB / 0.8972 GB, free: 87.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00152/3.453, allocations: 0.9354 MB / 0.8981 GB, free: 87.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0157/3.468, allocations: 6.203 MB / 0.9041 GB, free: 87.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02202/3.49, allocations: 14.02 MB / 0.9178 GB, free: 76.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02106/3.512, allocations: 9.211 MB / 0.9268 GB, free: 73.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003961/3.512, allocations: 78.56 kB / 0.9269 GB, free: 73.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.06409/3.576, allocations: 21.63 MB / 0.948 GB, free: 63.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/3.576, allocations: 127 kB / 0.9481 GB, free: 63.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003789/3.577, allocations: 272 kB / 0.9484 GB, free: 63.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0134/3.59, allocations: 3.283 MB / 0.9516 GB, free: 60.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02445/3.615, allocations: 3.609 MB / 0.9551 GB, free: 57.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04201/3.657, allocations: 21.33 MB / 0.976 GB, free: 38.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/3.676, allocations: 0.5969 MB / 0.9765 GB, free: 38.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004344/3.68, allocations: 0.8366 MB / 0.9774 GB, free: 37.52 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1799): * Single equations (assignments): 1792 * 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 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007398/3.688, allocations: 0.8329 MB / 0.9782 GB, free: 36.69 MB / 490.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04046/3.728, allocations: 13.03 MB / 0.9909 GB, free: 25.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003885/3.732, allocations: 0.8303 MB / 0.9917 GB, free: 24.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.411/4.143, allocations: 14.48 MB / 1.006 GB, free: 82.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001851/4.143, allocations: 63.22 kB / 1.006 GB, free: 82.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.833e-05/4.144, allocations: 17.44 kB / 1.006 GB, free: 82.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002102/4.144, allocations: 30.45 kB / 1.006 GB, free: 82.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09687/4.241, allocations: 27.64 MB / 1.033 GB, free: 81.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.999e-05/4.241, allocations: 1.281 kB / 1.033 GB, free: 81.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01284/4.254, allocations: 1.229 MB / 1.034 GB, free: 81.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01314/4.267, allocations: 2.803 MB / 1.037 GB, free: 81.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001996/4.269, allocations: 18.66 kB / 1.037 GB, free: 81.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03996/4.309, allocations: 19.66 MB / 1.056 GB, free: 76.31 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/4.309, allocations: 6.359 kB / 1.056 GB, free: 76.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05922/4.368, allocations: 21.53 MB / 1.077 GB, free: 71.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008328/4.377, allocations: 1.842 MB / 1.079 GB, free: 70.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004707/4.381, allocations: 16.42 kB / 1.079 GB, free: 70.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01096/4.392, allocations: 381.9 kB / 1.079 GB, free: 70.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002847/4.395, allocations: 362.2 kB / 1.08 GB, free: 70.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002027/4.397, allocations: 160.3 kB / 1.08 GB, free: 70.86 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0139/4.411, allocations: 4.757 MB / 1.084 GB, free: 69.15 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.313e-06/4.411, allocations: 0 / 1.084 GB, free: 69.15 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0218/4.433, allocations: 2.529 MB / 1.087 GB, free: 69.15 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (540): * Single equations (assignments): 533 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.06154/4.495, allocations: 22.47 MB / 1.109 GB, free: 60.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.04033/4.535, allocations: 15.84 MB / 1.124 GB, free: 50.28 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/4.535, allocations: 6.375 kB / 1.124 GB, free: 50.28 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01894/4.554, allocations: 6.719 MB / 1.131 GB, free: 44.35 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009758/4.564, allocations: 0.8668 MB / 1.132 GB, free: 43.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09474/4.659, allocations: 26.91 MB / 1.158 GB, free: 20.71 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.023/4.682, allocations: 8.308 MB / 1.166 GB, free: 14.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.026/4.708, allocations: 4.668 MB / 1.171 GB, free: 11.69 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01729/4.725, allocations: 5.769 MB / 1.176 GB, free: 6.336 MB / 490.8 MB Notification: Performance of SimCode: time 2.064e-06/4.725, allocations: 0 / 1.176 GB, free: 6.336 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.194/5.92, allocations: 204.4 MB / 1.376 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/5.92, allocations: 130.9 kB / 1.376 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/16.66, allocations: 0 / 1.376 GB, free: 54.34 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat