Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.7/2.7, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.213e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4398, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.649, allocations: 110 MB / 492.3 MB, free: 14.34 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.6494, allocations: 79.95 kB / 492.4 MB, free: 14.27 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.28/1.93, allocations: 224.8 MB / 0.7003 GB, free: 3.848 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.186e-06/1.93, allocations: 0 / 0.7003 GB, free: 3.848 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001253/1.931, allocations: 243.9 kB / 0.7006 GB, free: 3.609 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.05614/1.987, allocations: 11.39 MB / 0.7117 GB, free: 8.121 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.987, allocations: 11.97 kB / 0.7117 GB, free: 8.109 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01137/1.999, allocations: 2.08 MB / 0.7137 GB, free: 6.016 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.527/2.526, allocations: 12.64 MB / 0.7261 GB, free: 55.16 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04568/2.572, allocations: 12.55 MB / 0.7383 GB, free: 54.62 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/2.573, allocations: 0.906 MB / 0.7392 GB, free: 54.59 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007123/2.58, allocations: 1.2 MB / 0.7404 GB, free: 54.58 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09221/2.672, allocations: 28.01 MB / 0.7678 GB, free: 49.15 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/2.673, allocations: 149.7 kB / 0.7679 GB, free: 49.13 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00668/2.68, allocations: 0.5535 MB / 0.7684 GB, free: 49.13 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006194/2.686, allocations: 2.673 MB / 0.7711 GB, free: 49.11 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08847/2.775, allocations: 22.83 MB / 0.7933 GB, free: 48.81 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2772/3.052, allocations: 117 MB / 0.9076 GB, free: 5.363 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5501/3.602, allocations: 15.09 MB / 0.9223 GB, free: 96.13 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01633/3.619, allocations: 7.875 MB / 0.93 GB, free: 96.06 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0041/3.623, allocations: 2.357 MB / 0.9323 GB, free: 94.07 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/3.623, allocations: 94.69 kB / 0.9324 GB, free: 94.03 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=559): time 9.498e-06/3.623, allocations: 0 / 0.9324 GB, free: 94.03 MB / 0.5418 GB Notification: Performance of matching and sorting (n=643): time 0.284/3.907, allocations: 53.34 MB / 0.9845 GB, free: 86.15 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/3.907, allocations: 333.6 kB / 0.9848 GB, free: 85.83 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03296/3.94, allocations: 8.992 MB / 0.9936 GB, free: 85.1 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002183/3.943, allocations: 126.1 kB / 0.9937 GB, free: 85.07 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.01023/3.953, allocations: 7.753 MB / 1.001 GB, free: 81.32 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.005446/3.958, allocations: 2.345 MB / 1.004 GB, free: 79.92 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003407/3.962, allocations: 285.7 kB / 1.004 GB, free: 79.92 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001496/3.963, allocations: 0.9121 MB / 1.005 GB, free: 79.59 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01717/3.981, allocations: 6.389 MB / 1.011 GB, free: 79.3 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02203/4.003, allocations: 13.89 MB / 1.025 GB, free: 67.04 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/4.025, allocations: 9.357 MB / 1.034 GB, free: 64.12 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003759/4.025, allocations: 74.84 kB / 1.034 GB, free: 64.12 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.07021/4.095, allocations: 22.52 MB / 1.056 GB, free: 51 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/4.096, allocations: 120 kB / 1.056 GB, free: 50.89 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000579/4.096, allocations: 264 kB / 1.056 GB, free: 50.63 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02053/4.117, allocations: 3.257 MB / 1.059 GB, free: 48.23 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0451/4.162, allocations: 3.503 MB / 1.063 GB, free: 45.31 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05958/4.222, allocations: 22.57 MB / 1.085 GB, free: 25.05 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02743/4.249, allocations: 0.8758 MB / 1.086 GB, free: 24.34 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005302/4.254, allocations: 0.8143 MB / 1.086 GB, free: 23.56 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * Number of states: 0 () * Number of discrete variables: 108 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1744): * Single equations (assignments): 1737 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007976/4.263, allocations: 1.174 MB / 1.088 GB, free: 22.39 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004678/4.267, allocations: 0.9554 MB / 1.088 GB, free: 21.42 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05135/4.319, allocations: 14.44 MB / 1.103 GB, free: 9.707 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/4.319, allocations: 64 kB / 1.103 GB, free: 9.645 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.256e-05/4.319, allocations: 19.94 kB / 1.103 GB, free: 9.625 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001739/4.319, allocations: 30.09 kB / 1.103 GB, free: 9.625 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6751/4.994, allocations: 31.31 MB / 1.133 GB, free: 92.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001182/4.994, allocations: 7.219 kB / 1.133 GB, free: 92.02 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01291/5.007, allocations: 1.214 MB / 1.134 GB, free: 92.02 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01299/5.02, allocations: 2.828 MB / 1.137 GB, free: 91.98 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001997/5.022, allocations: 123.2 kB / 1.137 GB, free: 91.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04206/5.065, allocations: 21.07 MB / 1.158 GB, free: 86.65 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/5.065, allocations: 13.88 kB / 1.158 GB, free: 86.65 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06028/5.125, allocations: 23.75 MB / 1.181 GB, free: 83.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009216/5.134, allocations: 2.043 MB / 1.183 GB, free: 83.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005118/5.139, allocations: 110.2 kB / 1.183 GB, free: 83.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01252/5.152, allocations: 486.8 kB / 1.184 GB, free: 83.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002846/5.155, allocations: 393.7 kB / 1.184 GB, free: 83.59 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001716/5.157, allocations: 173.3 kB / 1.184 GB, free: 83.59 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01812/5.175, allocations: 6.427 MB / 1.191 GB, free: 83.26 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.193e-06/5.175, allocations: 0 / 1.191 GB, free: 83.26 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02165/5.196, allocations: 2.941 MB / 1.193 GB, free: 83.26 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (554): * Single equations (assignments): 547 * 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.0653/5.262, allocations: 24.97 MB / 1.218 GB, free: 73.59 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03852/5.3, allocations: 15.59 MB / 1.233 GB, free: 68.41 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/5.3, allocations: 0 / 1.233 GB, free: 68.41 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02047/5.321, allocations: 6.978 MB / 1.24 GB, free: 65.71 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/5.333, allocations: 1.196 MB / 1.241 GB, free: 65.21 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1071/5.44, allocations: 27.85 MB / 1.268 GB, free: 42.65 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02163/5.461, allocations: 8.323 MB / 1.276 GB, free: 36.69 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.02426/5.486, allocations: 4.723 MB / 1.281 GB, free: 33.59 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01705/5.503, allocations: 5.88 MB / 1.287 GB, free: 28.12 MB / 0.5574 GB Notification: Performance of SimCode: time 1.844e-06/5.503, allocations: 0 / 1.287 GB, free: 28.12 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9825/6.485, allocations: 220.8 MB / 1.502 GB, free: 15.71 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/6.486, allocations: 168.4 kB / 1.502 GB, free: 15.48 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/19.45, allocations: 0 / 1.502 GB, free: 15.48 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat