Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.41/2.41, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.715e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6004/0.7371, allocations: 108.2 MB / 0.5064 GB, free: 11.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.7375, allocations: 81.02 kB / 0.5065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075/1.813, allocations: 161.8 MB / 0.6645 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/1.813, allocations: 0 / 0.6645 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005336/1.813, allocations: 166 kB / 0.6647 GB, free: 105.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.03442/1.848, allocations: 8.039 MB / 0.6725 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.848, allocations: 13.5 kB / 0.6725 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007181/1.855, allocations: 1.435 MB / 0.6739 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07127/1.926, allocations: 9.683 MB / 0.6834 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03352/1.96, allocations: 8.947 MB / 0.6921 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000833/1.961, allocations: 0.6138 MB / 0.6927 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00481/1.965, allocations: 0.8216 MB / 0.6935 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06441/2.03, allocations: 19.78 MB / 0.7128 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005789/2.031, allocations: 107 kB / 0.7129 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003848/2.034, allocations: 392.5 kB / 0.7133 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/2.038, allocations: 1.784 MB / 0.715 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05153/2.09, allocations: 16.01 MB / 0.7307 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5296/2.619, allocations: 83.35 MB / 0.8121 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0384/2.658, allocations: 8.083 MB / 0.82 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01011/2.668, allocations: 4.723 MB / 0.8246 GB, free: 96.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/2.669, allocations: 59.53 kB / 0.8246 GB, free: 96.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/2.669, allocations: 65.61 kB / 0.8247 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.544e-06/2.669, allocations: 1.203 kB / 0.8247 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=364): time 0.1883/2.857, allocations: 34.04 MB / 0.8579 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.857, allocations: 268.3 kB / 0.8582 GB, free: 90.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01941/2.876, allocations: 6.919 MB / 0.865 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/2.878, allocations: 87.84 kB / 0.865 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005827/2.884, allocations: 5.549 MB / 0.8705 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002515/2.886, allocations: 1.362 MB / 0.8718 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/2.888, allocations: 194.6 kB / 0.872 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009048/2.889, allocations: 0.7147 MB / 0.8727 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01341/2.902, allocations: 4.049 MB / 0.8766 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02091/2.923, allocations: 9.517 MB / 0.8859 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/2.944, allocations: 6.167 MB / 0.8919 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002975/2.944, allocations: 53.59 kB / 0.892 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.06443/3.008, allocations: 15.15 MB / 0.9068 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/3.009, allocations: 90.86 kB / 0.9069 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004145/3.009, allocations: 194 kB / 0.9071 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01552/3.025, allocations: 2.441 MB / 0.9094 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02305/3.048, allocations: 2.278 MB / 0.9117 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04906/3.097, allocations: 16.88 MB / 0.9281 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/3.117, allocations: 0.5776 MB / 0.9287 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003334/3.12, allocations: 0.5641 MB / 0.9293 GB, free: 54.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1167): * Single equations (assignments): 1161 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005997/3.126, allocations: 0.8629 MB / 0.9301 GB, free: 53.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003682/3.13, allocations: 0.6833 MB / 0.9308 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03919/3.169, allocations: 8.708 MB / 0.9393 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/3.169, allocations: 40.02 kB / 0.9393 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-05/3.169, allocations: 20 kB / 0.9393 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001122/3.169, allocations: 14.48 kB / 0.9393 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08303/3.252, allocations: 19 MB / 0.9579 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.396e-05/3.253, allocations: 11.95 kB / 0.9579 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009695/3.262, allocations: 0.6289 MB / 0.9585 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01468/3.277, allocations: 2.125 MB / 0.9606 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001338/3.278, allocations: 63.47 kB / 0.9607 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04588/3.324, allocations: 15.68 MB / 0.976 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/3.324, allocations: 4 kB / 0.976 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04712/3.372, allocations: 13.8 MB / 0.9894 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003889/3.375, allocations: 0.7498 MB / 0.9902 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003753/3.379, allocations: 63.5 kB / 0.9902 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009987/3.389, allocations: 279.7 kB / 0.9905 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002042/3.391, allocations: 218.6 kB / 0.9907 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008798/3.392, allocations: 88 kB / 0.9908 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02065/3.413, allocations: 4.917 MB / 0.9956 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.353e-06/3.413, allocations: 0 / 0.9956 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02036/3.433, allocations: 1.98 MB / 0.9975 GB, free: 7.977 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 283 * 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 {(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.05528/3.489, allocations: 14.67 MB / 1.012 GB, free: 9.227 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.412/3.901, allocations: 9.929 MB / 1.022 GB, free: 135 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/3.901, allocations: 1.719 kB / 1.022 GB, free: 135 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01345/3.914, allocations: 4.248 MB / 1.026 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008686/3.923, allocations: 0.9152 MB / 1.027 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06582/3.989, allocations: 18.56 MB / 1.045 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01471/4.004, allocations: 5.923 MB / 1.051 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01513/4.019, allocations: 3.257 MB / 1.054 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01018/4.029, allocations: 3.943 MB / 1.058 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.973e-06/4.029, allocations: 0 / 1.058 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3958/4.425, allocations: 157.8 MB / 1.212 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/4.425, allocations: 173.9 kB / 1.212 GB, free: 14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.816/14.24, allocations: 4 kB / 1.212 GB, free: 14 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat