Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.316e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5358/0.6745, allocations: 107.9 MB / 0.5061 GB, free: 12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6748, allocations: 75.95 kB / 0.5062 GB, free: 11.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.888/1.563, allocations: 122 MB / 0.6254 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/1.563, allocations: 3.844 kB / 0.6254 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004347/1.563, allocations: 119.2 kB / 0.6255 GB, free: 107.6 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02619/1.59, allocations: 5.933 MB / 0.6313 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.59, allocations: 9.625 kB / 0.6313 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005146/1.595, allocations: 1.071 MB / 0.6323 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05333/1.648, allocations: 7.005 MB / 0.6392 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/1.673, allocations: 6.652 MB / 0.6457 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005294/1.673, allocations: 465.3 kB / 0.6461 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003271/1.677, allocations: 0.609 MB / 0.6467 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04573/1.722, allocations: 15.03 MB / 0.6614 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003693/1.723, allocations: 77.22 kB / 0.6615 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002288/1.725, allocations: 295.3 kB / 0.6617 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002736/1.728, allocations: 1.358 MB / 0.6631 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03859/1.767, allocations: 12.14 MB / 0.6749 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09681/1.863, allocations: 64.8 MB / 0.7382 GB, free: 50.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03112/1.895, allocations: 7.049 MB / 0.7451 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006041/1.901, allocations: 3.303 MB / 0.7483 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.901, allocations: 43.64 kB / 0.7484 GB, free: 41.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/1.901, allocations: 59.81 kB / 0.7484 GB, free: 41.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 6.372e-06/1.901, allocations: 0 / 0.7484 GB, free: 41.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.1206/2.022, allocations: 25.39 MB / 0.7732 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.022, allocations: 209.9 kB / 0.7734 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01292/2.035, allocations: 5.321 MB / 0.7786 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000821/2.036, allocations: 69.7 kB / 0.7787 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004054/2.04, allocations: 4.207 MB / 0.7828 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/2.042, allocations: 0.9913 MB / 0.7838 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/2.043, allocations: 154.2 kB / 0.7839 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007786/2.044, allocations: 0.6244 MB / 0.7845 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007997/2.052, allocations: 3.135 MB / 0.7876 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/2.064, allocations: 7.546 MB / 0.7949 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/2.076, allocations: 4.828 MB / 0.7997 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/2.077, allocations: 44 kB / 0.7997 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.4436/2.52, allocations: 11.56 MB / 0.811 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/2.52, allocations: 72.09 kB / 0.8111 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003771/2.521, allocations: 158.4 kB / 0.8112 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008097/2.529, allocations: 1.663 MB / 0.8128 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/2.542, allocations: 1.828 MB / 0.8146 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/2.567, allocations: 11.35 MB / 0.8257 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.577, allocations: 469.7 kB / 0.8262 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/2.579, allocations: 466.3 kB / 0.8266 GB, free: 103.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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],fixed2.color[3],fixed2.color[2],fixed2.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.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 (918): * Single equations (assignments): 913 * 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.00333/2.583, allocations: 0.6945 MB / 0.8273 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/2.584, allocations: 0.5089 MB / 0.8278 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01868/2.603, allocations: 6.156 MB / 0.8338 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-05/2.603, allocations: 27.34 kB / 0.8338 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/2.603, allocations: 14.59 kB / 0.8338 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.002e-05/2.603, allocations: 12.66 kB / 0.8338 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04168/2.645, allocations: 13.69 MB / 0.8472 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/2.645, allocations: 0 / 0.8472 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005171/2.65, allocations: 0.4922 MB / 0.8477 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006478/2.657, allocations: 1.409 MB / 0.8491 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007545/2.657, allocations: 47.44 kB / 0.8491 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/2.679, allocations: 10.59 MB / 0.8594 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/2.679, allocations: 3.953 kB / 0.8595 GB, free: 96.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/2.703, allocations: 10.13 MB / 0.8693 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/2.706, allocations: 0.5764 MB / 0.8699 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.708, allocations: 49.53 kB / 0.87 GB, free: 92.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005245/2.713, allocations: 223.2 kB / 0.8702 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009726/2.714, allocations: 150.6 kB / 0.8703 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/2.714, allocations: 67.77 kB / 0.8704 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009446/2.724, allocations: 3.767 MB / 0.8741 GB, free: 91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.41e-07/2.724, allocations: 0 / 0.8741 GB, free: 91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01029/2.734, allocations: 1.475 MB / 0.8755 GB, free: 90.84 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 (202): * Single equations (assignments): 197 * 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.02551/2.76, allocations: 10.96 MB / 0.8862 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01722/2.777, allocations: 7.564 MB / 0.8936 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.777, allocations: 0 / 0.8936 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008762/2.786, allocations: 3.139 MB / 0.8967 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/2.791, allocations: 0.6579 MB / 0.8973 GB, free: 82.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04246/2.834, allocations: 13.66 MB / 0.9106 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009634/2.844, allocations: 4.548 MB / 0.9151 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01168/2.855, allocations: 2.592 MB / 0.9176 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007006/2.862, allocations: 2.821 MB / 0.9204 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/2.862, allocations: 4 kB / 0.9204 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.709/3.571, allocations: 116.7 MB / 1.034 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/3.572, allocations: 180.8 kB / 1.034 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/11.6, allocations: 0 / 1.034 GB, free: 124.3 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat