Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.485e-05/4.489e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5306/0.6669, allocations: 107.4 MB / 0.5056 GB, free: 12.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.6673, allocations: 76.7 kB / 0.5057 GB, free: 12.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8582/1.526, allocations: 120.1 MB / 0.6229 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.864e-06/1.526, allocations: 0 / 0.6229 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004284/1.526, allocations: 117 kB / 0.623 GB, free: 108.1 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02761/1.554, allocations: 5.869 MB / 0.6288 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/1.554, allocations: 9.719 kB / 0.6288 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005859/1.56, allocations: 1.05 MB / 0.6298 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05374/1.613, allocations: 6.977 MB / 0.6366 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/1.641, allocations: 6.668 MB / 0.6431 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006375/1.642, allocations: 453.2 kB / 0.6436 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003623/1.646, allocations: 0.5981 MB / 0.6442 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04957/1.695, allocations: 14.85 MB / 0.6587 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004196/1.696, allocations: 70.84 kB / 0.6587 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/1.699, allocations: 282.4 kB / 0.659 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002881/1.702, allocations: 1.372 MB / 0.6603 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0409/1.743, allocations: 12.29 MB / 0.6723 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0953/1.838, allocations: 60.83 MB / 0.7317 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0263/1.864, allocations: 6.072 MB / 0.7377 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006658/1.871, allocations: 3.568 MB / 0.7412 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02981/1.901, allocations: 12.85 MB / 0.7537 GB, free: 37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/1.901, allocations: 63.78 kB / 0.7538 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 6.723e-06/1.901, allocations: 3.562 kB / 0.7538 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.1531/2.054, allocations: 23.1 MB / 0.7763 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/2.054, allocations: 209.9 kB / 0.7765 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/2.068, allocations: 4.396 MB / 0.7808 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008493/2.069, allocations: 67.73 kB / 0.7809 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003634/2.072, allocations: 4.035 MB / 0.7848 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/2.074, allocations: 1.008 MB / 0.7858 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/2.075, allocations: 144 kB / 0.7859 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005142/2.076, allocations: 0.6117 MB / 0.7865 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007527/2.083, allocations: 2.95 MB / 0.7894 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01148/2.095, allocations: 7.022 MB / 0.7963 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/2.107, allocations: 4.518 MB / 0.8007 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/2.107, allocations: 47.95 kB / 0.8007 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.4164/2.523, allocations: 10.92 MB / 0.8114 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/2.523, allocations: 67.28 kB / 0.8115 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000368/2.524, allocations: 149.5 kB / 0.8116 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008218/2.532, allocations: 1.649 MB / 0.8132 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/2.544, allocations: 1.659 MB / 0.8148 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/2.569, allocations: 11.32 MB / 0.8259 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.58, allocations: 438.8 kB / 0.8263 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/2.582, allocations: 437.8 kB / 0.8267 GB, free: 105.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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.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 (867): * Single equations (assignments): 862 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003339/2.585, allocations: 0.6606 MB / 0.8274 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.587, allocations: 458.7 kB / 0.8278 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0189/2.606, allocations: 6.024 MB / 0.8337 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/2.606, allocations: 30.11 kB / 0.8337 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/2.606, allocations: 13.56 kB / 0.8337 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.582e-05/2.606, allocations: 15.14 kB / 0.8338 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04081/2.647, allocations: 13.46 MB / 0.8469 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/2.647, allocations: 6.922 kB / 0.8469 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004669/2.651, allocations: 438.6 kB / 0.8473 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006494/2.658, allocations: 1.413 MB / 0.8487 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007748/2.659, allocations: 49.52 kB / 0.8488 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/2.68, allocations: 10.58 MB / 0.8591 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.68, allocations: 6.25 kB / 0.8591 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0241/2.704, allocations: 9.79 MB / 0.8687 GB, free: 94.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/2.706, allocations: 0.5024 MB / 0.8691 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002079/2.708, allocations: 39.66 kB / 0.8692 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00512/2.713, allocations: 208.4 kB / 0.8694 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.715, allocations: 154.8 kB / 0.8695 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/2.715, allocations: 74.72 kB / 0.8696 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007524/2.722, allocations: 3.077 MB / 0.8726 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.51e-07/2.723, allocations: 0 / 0.8726 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009476/2.732, allocations: 1.411 MB / 0.874 GB, free: 92.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (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 (212): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0249/2.757, allocations: 10.63 MB / 0.8844 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01703/2.774, allocations: 7.2 MB / 0.8914 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.774, allocations: 2.781 kB / 0.8914 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008643/2.783, allocations: 3.076 MB / 0.8944 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00559/2.788, allocations: 0.612 MB / 0.895 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04144/2.83, allocations: 13.27 MB / 0.908 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00973/2.84, allocations: 4.488 MB / 0.9123 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01077/2.85, allocations: 2.329 MB / 0.9146 GB, free: 70.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006648/2.857, allocations: 2.739 MB / 0.9173 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.843e-06/2.857, allocations: 0 / 0.9173 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6364/3.494, allocations: 109.1 MB / 1.024 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/3.494, allocations: 184.2 kB / 1.024 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/10.67, allocations: 0 / 1.024 GB, free: 102.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat