Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.116e-05, allocations: 8 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4289, allocations: 54.84 MB / 359.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/0.6472, allocations: 103.9 MB / 463.8 MB, free: 9.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.6476, allocations: 75.95 kB / 463.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223/1.87, allocations: 223.7 MB / 0.6714 GB, free: 16.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.87, allocations: 0 / 0.6714 GB, free: 16.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008135/1.871, allocations: 232 kB / 0.6716 GB, free: 15.99 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.05202/1.923, allocations: 11.39 MB / 0.6827 GB, free: 4.504 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/1.923, allocations: 15.97 kB / 0.6827 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01098/1.934, allocations: 2.068 MB / 0.6848 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09762/2.032, allocations: 12.64 MB / 0.6971 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8351/2.867, allocations: 12.53 MB / 0.7093 GB, free: 48.27 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001585/2.869, allocations: 0.9023 MB / 0.7102 GB, free: 48.24 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008104/2.877, allocations: 1.207 MB / 0.7114 GB, free: 48.24 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09842/2.975, allocations: 28 MB / 0.7387 GB, free: 42.82 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001145/2.977, allocations: 140.4 kB / 0.7389 GB, free: 42.82 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007469/2.984, allocations: 0.5612 MB / 0.7394 GB, free: 42.82 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006458/2.991, allocations: 2.672 MB / 0.742 GB, free: 42.79 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07587/3.067, allocations: 22.83 MB / 0.7643 GB, free: 42.73 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2279/3.295, allocations: 116.9 MB / 0.8785 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08144/3.376, allocations: 13.88 MB / 0.892 GB, free: 8.777 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03158/3.408, allocations: 7.876 MB / 0.8997 GB, free: 1.57 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3999/3.808, allocations: 2.348 MB / 0.902 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/3.808, allocations: 96.88 kB / 0.9021 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=559): time 1.079e-05/3.808, allocations: 1 kB / 0.9021 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=643): time 0.3109/4.119, allocations: 53.32 MB / 0.9542 GB, free: 99.16 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/4.119, allocations: 322.7 kB / 0.9545 GB, free: 98.84 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02575/4.145, allocations: 8.971 MB / 0.9632 GB, free: 98.12 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001952/4.147, allocations: 128.3 kB / 0.9634 GB, free: 98.09 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00772/4.155, allocations: 7.736 MB / 0.9709 GB, free: 94.29 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004021/4.159, allocations: 2.345 MB / 0.9732 GB, free: 92.89 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002961/4.162, allocations: 284.8 kB / 0.9735 GB, free: 92.89 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001398/4.163, allocations: 0.911 MB / 0.9744 GB, free: 92.55 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01764/4.181, allocations: 6.386 MB / 0.9806 GB, free: 92.52 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03079/4.212, allocations: 13.88 MB / 0.9942 GB, free: 81.96 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03072/4.242, allocations: 9.353 MB / 1.003 GB, free: 79.04 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003714/4.243, allocations: 75.38 kB / 1.003 GB, free: 79.04 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.07447/4.317, allocations: 22.49 MB / 1.025 GB, free: 67.56 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/4.318, allocations: 122.3 kB / 1.025 GB, free: 67.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003733/4.318, allocations: 264 kB / 1.026 GB, free: 67.19 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/4.332, allocations: 3.257 MB / 1.029 GB, free: 64.78 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02506/4.357, allocations: 3.503 MB / 1.032 GB, free: 61.85 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04406/4.401, allocations: 22.56 MB / 1.054 GB, free: 41.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01982/4.421, allocations: 0.8754 MB / 1.055 GB, free: 40.84 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00407/4.425, allocations: 0.8103 MB / 1.056 GB, free: 40.07 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * 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 (1741): * Single equations (assignments): 1734 * 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.007218/4.433, allocations: 1.178 MB / 1.057 GB, free: 38.88 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004316/4.437, allocations: 0.941 MB / 1.058 GB, free: 37.93 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05052/4.488, allocations: 14.44 MB / 1.072 GB, free: 26.19 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001347/4.488, allocations: 65.03 kB / 1.072 GB, free: 26.13 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/4.488, allocations: 16 kB / 1.072 GB, free: 26.11 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002168/4.488, allocations: 34.08 kB / 1.072 GB, free: 26.11 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5939/5.082, allocations: 31.56 MB / 1.103 GB, free: 87.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-05/5.082, allocations: 7.094 kB / 1.103 GB, free: 87.46 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01341/5.096, allocations: 1.216 MB / 1.104 GB, free: 87.46 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01434/5.11, allocations: 2.825 MB / 1.107 GB, free: 87.43 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002142/5.112, allocations: 119.4 kB / 1.107 GB, free: 87.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04435/5.157, allocations: 21.07 MB / 1.128 GB, free: 82.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/5.157, allocations: 11.25 kB / 1.128 GB, free: 82.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0622/5.219, allocations: 23.75 MB / 1.151 GB, free: 79.14 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008958/5.228, allocations: 2.035 MB / 1.153 GB, free: 79.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004815/5.233, allocations: 115.6 kB / 1.153 GB, free: 79.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01198/5.245, allocations: 492.2 kB / 1.153 GB, free: 79.04 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002707/5.248, allocations: 395.9 kB / 1.154 GB, free: 79.03 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001556/5.249, allocations: 165.4 kB / 1.154 GB, free: 79.03 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01785/5.267, allocations: 6.413 MB / 1.16 GB, free: 78.7 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9.32e-07/5.267, allocations: 0 / 1.16 GB, free: 78.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01965/5.287, allocations: 2.933 MB / 1.163 GB, free: 78.7 MB / 0.5262 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.06327/5.35, allocations: 24.97 MB / 1.188 GB, free: 67.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03826/5.388, allocations: 15.58 MB / 1.203 GB, free: 62.71 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/5.389, allocations: 0 / 1.203 GB, free: 62.71 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02037/5.409, allocations: 6.971 MB / 1.21 GB, free: 59.84 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01158/5.421, allocations: 1.193 MB / 1.211 GB, free: 58.85 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09194/5.513, allocations: 27.82 MB / 1.238 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02229/5.535, allocations: 8.315 MB / 1.246 GB, free: 29.13 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02474/5.56, allocations: 4.719 MB / 1.251 GB, free: 26.04 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01655/5.576, allocations: 5.87 MB / 1.256 GB, free: 20.58 MB / 0.5262 GB Notification: Performance of SimCode: time 1.873e-06/5.576, allocations: 0 / 1.256 GB, free: 20.58 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9527/6.529, allocations: 220.5 MB / 1.472 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/6.529, allocations: 164.4 kB / 1.472 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/19.56, allocations: 4 kB / 1.472 GB, free: 14.11 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat