Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.662/2.662, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.813e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5479/0.6849, allocations: 106.9 MB / 0.5052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.6853, allocations: 75.95 kB / 0.5053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9506/1.636, allocations: 132.9 MB / 0.635 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.424e-06/1.636, allocations: 3.562 kB / 0.635 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005551/1.637, allocations: 133.1 kB / 0.6351 GB, free: 106.9 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.03092/1.667, allocations: 6.371 MB / 0.6414 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/1.668, allocations: 10.12 kB / 0.6414 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005546/1.673, allocations: 1.119 MB / 0.6425 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0724/1.746, allocations: 9.422 MB / 0.6517 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03939/1.785, allocations: 8.111 MB / 0.6596 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007914/1.786, allocations: 493.7 kB / 0.6601 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00408/1.79, allocations: 0.6373 MB / 0.6607 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05328/1.843, allocations: 15.06 MB / 0.6754 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005443/1.844, allocations: 102.3 kB / 0.6755 GB, free: 98.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003016/1.847, allocations: 314 kB / 0.6758 GB, free: 98.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/1.85, allocations: 1.341 MB / 0.6771 GB, free: 98.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03641/1.886, allocations: 11.6 MB / 0.6884 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09653/1.983, allocations: 67.64 MB / 0.7545 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/2.004, allocations: 5.172 MB / 0.7595 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00501/2.009, allocations: 2.579 MB / 0.762 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/2.009, allocations: 39.94 kB / 0.7621 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/2.009, allocations: 51.34 kB / 0.7621 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 7.043e-06/2.009, allocations: 3.938 kB / 0.7621 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.07137/2.081, allocations: 16.81 MB / 0.7785 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/2.081, allocations: 260.5 kB / 0.7788 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01758/2.098, allocations: 5.882 MB / 0.7845 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000543/2.099, allocations: 57.7 kB / 0.7846 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004546/2.104, allocations: 4.697 MB / 0.7892 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/2.105, allocations: 0.8163 MB / 0.79 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/2.106, allocations: 156 kB / 0.7901 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004601/2.106, allocations: 0.6326 MB / 0.7907 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/2.112, allocations: 2.401 MB / 0.7931 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/2.124, allocations: 7.283 MB / 0.8002 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/2.134, allocations: 4.175 MB / 0.8043 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/2.134, allocations: 48 kB / 0.8043 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.4194/2.554, allocations: 9.545 MB / 0.8136 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/2.554, allocations: 85.38 kB / 0.8137 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003824/2.554, allocations: 180.7 kB / 0.8139 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/2.558, allocations: 0.818 MB / 0.8147 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.57, allocations: 1.766 MB / 0.8164 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/2.585, allocations: 8.464 MB / 0.8247 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009716/2.595, allocations: 416.6 kB / 0.8251 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/2.597, allocations: 482.9 kB / 0.8255 GB, free: 102 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 (945): * Single equations (assignments): 939 * 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.003086/2.6, allocations: 0.7311 MB / 0.8263 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.602, allocations: 0.5493 MB / 0.8268 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/2.613, allocations: 3.363 MB / 0.8301 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/2.613, allocations: 22.78 kB / 0.8301 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.816e-05/2.613, allocations: 7.125 kB / 0.8301 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/2.614, allocations: 17.47 kB / 0.8301 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/2.645, allocations: 9.54 MB / 0.8394 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/2.645, allocations: 0 / 0.8394 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/2.649, allocations: 303.4 kB / 0.8397 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/2.651, allocations: 0.523 MB / 0.8402 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005048/2.652, allocations: 37.17 kB / 0.8403 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/2.664, allocations: 7.574 MB / 0.8477 GB, free: 96.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.664, allocations: 0 / 0.8477 GB, free: 96.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/2.678, allocations: 6.158 MB / 0.8537 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/2.68, allocations: 0.6091 MB / 0.8543 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/2.682, allocations: 36.84 kB / 0.8543 GB, free: 94.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004814/2.687, allocations: 108.6 kB / 0.8544 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007814/2.688, allocations: 124.8 kB / 0.8545 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/2.688, allocations: 48.97 kB / 0.8546 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01113/2.7, allocations: 4.179 MB / 0.8587 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/2.7, allocations: 2.906 kB / 0.8587 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01133/2.711, allocations: 1.394 MB / 0.86 GB, free: 93.24 MB / 0.5261 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 (153): * Single equations (assignments): 147 * 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.01554/2.727, allocations: 7.009 MB / 0.8669 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01503/2.742, allocations: 5.904 MB / 0.8726 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/2.742, allocations: 0 / 0.8726 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/2.746, allocations: 1.904 MB / 0.8745 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006774/2.753, allocations: 0.7607 MB / 0.8752 GB, free: 86.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0479/2.801, allocations: 13.01 MB / 0.888 GB, free: 81.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01461/2.816, allocations: 4.793 MB / 0.8926 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0183/2.834, allocations: 2.512 MB / 0.8951 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01019/2.844, allocations: 3.051 MB / 0.8981 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.365e-06/2.844, allocations: 4 kB / 0.8981 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.661/3.505, allocations: 114 MB / 1.009 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/3.506, allocations: 167.9 kB / 1.01 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/11.34, allocations: 1.75 kB / 1.01 GB, free: 100.9 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat