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.422/2.422, allocations: 235.1 MB / 242.2 MB, free: 15.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.91e-05, allocations: 7.938 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3759, allocations: 54.86 MB / 354.4 MB, free: 128 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.5653, allocations: 103.2 MB / 457.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5656, allocations: 75.95 kB / 457.6 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565/2.13, allocations: 218.1 MB / 0.6599 GB, free: 38.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/2.13, allocations: 0 / 0.6599 GB, free: 38.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008244/2.131, allocations: 237.3 kB / 0.6601 GB, free: 38.06 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.05025/2.181, allocations: 11.38 MB / 0.6712 GB, free: 33.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/2.181, allocations: 12.88 kB / 0.6712 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09235/2.274, allocations: 12.64 MB / 0.6836 GB, free: 33.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0508/2.325, allocations: 12.54 MB / 0.6958 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000834/2.325, allocations: 398.2 kB / 0.6962 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006655/2.332, allocations: 0.7052 MB / 0.6969 GB, free: 31.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0436/2.376, allocations: 16.72 MB / 0.7132 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07011/2.446, allocations: 24.46 MB / 0.7371 GB, free: 26.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009725/2.447, allocations: 139.1 kB / 0.7372 GB, free: 26.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006558/2.454, allocations: 59.16 kB / 0.7373 GB, free: 26.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006433/2.46, allocations: 2.675 MB / 0.7399 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7017/3.162, allocations: 110.3 MB / 0.8476 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/3.182, allocations: 10.81 MB / 0.8582 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/3.196, allocations: 7.538 MB / 0.8655 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004245/3.201, allocations: 2.342 MB / 0.8678 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/3.201, allocations: 94.52 kB / 0.8679 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=541): time 1.065e-05/3.201, allocations: 0 / 0.8679 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=629): time 0.224/3.425, allocations: 56.9 MB / 0.9235 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/3.425, allocations: 327.5 kB / 0.9238 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01853/3.444, allocations: 7.048 MB / 0.9307 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001862/3.446, allocations: 29.45 kB / 0.9307 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007171/3.453, allocations: 7.902 MB / 0.9384 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004115/3.457, allocations: 2.225 MB / 0.9406 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003009/3.46, allocations: 3.344 kB / 0.9406 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001519/3.462, allocations: 0.9314 MB / 0.9415 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01542/3.477, allocations: 6.205 MB / 0.9476 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/3.499, allocations: 14.01 MB / 0.9612 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03463/3.534, allocations: 9.901 MB / 0.9709 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004073/3.534, allocations: 83.95 kB / 0.971 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.07416/3.608, allocations: 21.79 MB / 0.9923 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002814/3.609, allocations: 123.6 kB / 0.9924 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006668/3.609, allocations: 278.7 kB / 0.9927 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/3.625, allocations: 3.291 MB / 0.9959 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02707/3.652, allocations: 3.598 MB / 0.9994 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05108/3.703, allocations: 21.32 MB / 1.02 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02017/3.723, allocations: 0.6028 MB / 1.021 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004377/3.728, allocations: 0.8366 MB / 1.022 GB, free: 1.164 MB / 0.5573 GB 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.006733/3.734, allocations: 0.8294 MB / 1.022 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05424/3.789, allocations: 13.64 MB / 1.036 GB, free: 6.965 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004219/3.793, allocations: 0.8177 MB / 1.037 GB, free: 6.137 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05381/3.847, allocations: 14.15 MB / 1.05 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001984/3.847, allocations: 66.97 kB / 1.05 GB, free: 12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.129e-05/3.847, allocations: 19.95 kB / 1.05 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001921/3.847, allocations: 34.47 kB / 1.05 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5108/4.358, allocations: 27.65 MB / 1.077 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.836e-05/4.358, allocations: 0 / 1.077 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01296/4.371, allocations: 1.229 MB / 1.079 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/4.385, allocations: 2.801 MB / 1.081 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002018/4.387, allocations: 21.58 kB / 1.081 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0404/4.427, allocations: 19.66 MB / 1.101 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/4.427, allocations: 3.906 kB / 1.101 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.059/4.486, allocations: 21.52 MB / 1.122 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01027/4.496, allocations: 1.838 MB / 1.123 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00547/4.502, allocations: 5.656 kB / 1.123 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01484/4.517, allocations: 385.5 kB / 1.124 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00374/4.521, allocations: 377 kB / 1.124 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002396/4.523, allocations: 155.4 kB / 1.124 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01845/4.542, allocations: 4.754 MB / 1.129 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.283e-06/4.542, allocations: 0 / 1.129 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02827/4.57, allocations: 2.53 MB / 1.131 GB, free: 146.2 MB / 0.5886 GB 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.05958/4.63, allocations: 22.47 MB / 1.153 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04009/4.67, allocations: 15.84 MB / 1.169 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/4.67, allocations: 6.625 kB / 1.169 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01929/4.689, allocations: 6.72 MB / 1.175 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/4.699, allocations: 0.8729 MB / 1.176 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09432/4.794, allocations: 26.91 MB / 1.203 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02373/4.817, allocations: 8.324 MB / 1.211 GB, free: 101 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02613/4.844, allocations: 4.656 MB / 1.215 GB, free: 98.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01638/4.86, allocations: 5.787 MB / 1.221 GB, free: 92.76 MB / 0.5886 GB Notification: Performance of SimCode: time 2.545e-06/4.86, allocations: 0 / 1.221 GB, free: 92.76 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9241/5.784, allocations: 204.4 MB / 1.42 GB, free: 87.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/5.785, allocations: 122.4 kB / 1.421 GB, free: 86.87 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/17.6, allocations: 4 kB / 1.421 GB, free: 86.86 MB / 0.5886 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