Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.521e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.436, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2183/0.6544, allocations: 105.9 MB / 488.2 MB, free: 2.496 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.6547, allocations: 79.94 kB / 488.3 MB, free: 2.418 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.056/1.711, allocations: 143.6 MB / 0.6171 GB, free: 57.15 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.535e-06/1.711, allocations: 0 / 0.6171 GB, free: 57.15 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005057/1.712, allocations: 136 kB / 0.6172 GB, free: 57.02 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02891/1.741, allocations: 6.844 MB / 0.6239 GB, free: 50.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.741, allocations: 12.02 kB / 0.6239 GB, free: 50.09 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005726/1.746, allocations: 1.244 MB / 0.6251 GB, free: 48.83 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07573/1.822, allocations: 9.534 MB / 0.6345 GB, free: 39.27 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.031/1.853, allocations: 8.859 MB / 0.6431 GB, free: 30.33 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006093/1.854, allocations: 0.5216 MB / 0.6436 GB, free: 29.81 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003766/1.858, allocations: 0.7106 MB / 0.6443 GB, free: 29.1 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05016/1.908, allocations: 16.45 MB / 0.6604 GB, free: 11.16 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004869/1.909, allocations: 111 kB / 0.6605 GB, free: 11.05 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003018/1.912, allocations: 343.8 kB / 0.6608 GB, free: 10.71 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/1.915, allocations: 1.526 MB / 0.6623 GB, free: 9.184 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04323/1.958, allocations: 12.84 MB / 0.6748 GB, free: 12.32 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9566/2.915, allocations: 72.67 MB / 0.7458 GB, free: 57.74 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02419/2.939, allocations: 5.828 MB / 0.7515 GB, free: 57.04 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006593/2.946, allocations: 3.071 MB / 0.7545 GB, free: 57 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/2.946, allocations: 47.22 kB / 0.7545 GB, free: 57 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/2.946, allocations: 61.42 kB / 0.7546 GB, free: 56.96 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=249): time 6.753e-06/2.946, allocations: 0 / 0.7546 GB, free: 56.96 MB / 0.4949 GB Notification: Performance of matching and sorting (n=267): time 0.09027/3.037, allocations: 19.51 MB / 0.7737 GB, free: 51.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/3.037, allocations: 262.7 kB / 0.7739 GB, free: 51.22 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0181/3.055, allocations: 6.151 MB / 0.7799 GB, free: 50.71 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008156/3.056, allocations: 71.47 kB / 0.78 GB, free: 50.68 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005574/3.061, allocations: 5.073 MB / 0.7849 GB, free: 48.16 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001989/3.063, allocations: 1.025 MB / 0.7859 GB, free: 47.58 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/3.065, allocations: 173.4 kB / 0.7861 GB, free: 47.58 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0008471/3.066, allocations: 0.6681 MB / 0.7868 GB, free: 47.26 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008086/3.074, allocations: 2.882 MB / 0.7896 GB, free: 47.23 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01226/3.086, allocations: 8.101 MB / 0.7975 GB, free: 40.09 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/3.098, allocations: 4.805 MB / 0.8022 GB, free: 38.72 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000243/3.098, allocations: 56.91 kB / 0.8022 GB, free: 38.72 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.03317/3.131, allocations: 10.89 MB / 0.8129 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/3.132, allocations: 86.38 kB / 0.813 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003728/3.132, allocations: 184.9 kB / 0.8131 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003731/3.136, allocations: 0.8418 MB / 0.8139 GB, free: 35.57 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01329/3.149, allocations: 1.996 MB / 0.8159 GB, free: 35.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/3.164, allocations: 8.49 MB / 0.8242 GB, free: 29.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/3.175, allocations: 473.8 kB / 0.8246 GB, free: 29.24 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/3.177, allocations: 0.5143 MB / 0.8251 GB, free: 28.74 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1059): * Single equations (assignments): 1053 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003714/3.181, allocations: 0.7842 MB / 0.8259 GB, free: 27.96 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/3.183, allocations: 0.594 MB / 0.8265 GB, free: 27.36 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/3.197, allocations: 4.462 MB / 0.8308 GB, free: 23.64 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-05/3.198, allocations: 28 kB / 0.8309 GB, free: 23.61 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.52e-05/3.198, allocations: 8 kB / 0.8309 GB, free: 23.61 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.929e-05/3.198, allocations: 12.84 kB / 0.8309 GB, free: 23.61 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03697/3.235, allocations: 11.6 MB / 0.8422 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/3.235, allocations: 0 / 0.8422 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004685/3.24, allocations: 442.5 kB / 0.8426 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/3.242, allocations: 0.5254 MB / 0.8432 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/3.243, allocations: 50.8 kB / 0.8432 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/3.255, allocations: 7.579 MB / 0.8506 GB, free: 6.074 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/3.255, allocations: 0 / 0.8506 GB, free: 6.074 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/3.28, allocations: 8.24 MB / 0.8587 GB, free: 15.93 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004546/3.284, allocations: 1.012 MB / 0.8596 GB, free: 14.98 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/3.287, allocations: 43.83 kB / 0.8597 GB, free: 14.94 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006448/3.293, allocations: 154.3 kB / 0.8598 GB, free: 14.84 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/3.294, allocations: 156.8 kB / 0.86 GB, free: 14.74 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/3.295, allocations: 71.52 kB / 0.86 GB, free: 14.67 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.01307/3.308, allocations: 4.37 MB / 0.8643 GB, free: 10.83 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.332e-06/3.308, allocations: 0 / 0.8643 GB, free: 10.83 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.01294/3.321, allocations: 1.568 MB / 0.8658 GB, free: 9.273 MB / 0.5106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02408/3.345, allocations: 8.738 MB / 0.8744 GB, free: 1.332 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.02052/3.366, allocations: 7.067 MB / 0.8813 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/3.366, allocations: 3.094 kB / 0.8813 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.006625/3.372, allocations: 2.455 MB / 0.8837 GB, free: 8.66 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00734/3.38, allocations: 0.7581 MB / 0.8844 GB, free: 8.016 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05662/3.436, allocations: 14.69 MB / 0.8988 GB, free: 11.26 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/3.451, allocations: 5.224 MB / 0.9039 GB, free: 7.422 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01522/3.466, allocations: 2.801 MB / 0.9066 GB, free: 4.672 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01001/3.476, allocations: 3.374 MB / 0.9099 GB, free: 1.297 MB / 0.5418 GB Notification: Performance of SimCode: time 1.823e-06/3.476, allocations: 0 / 0.9099 GB, free: 1.297 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7032/4.18, allocations: 124.7 MB / 1.032 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/4.18, allocations: 169.9 kB / 1.032 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/12.71, allocations: 7.938 kB / 1.032 GB, free: 104.2 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat