Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.641/2.641, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.75e-05/5.766e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1524, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5617/0.7142, allocations: 107.9 MB / 0.5061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.7145, allocations: 75.95 kB / 0.5062 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8804/1.595, allocations: 122 MB / 0.6254 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/1.595, allocations: 0 / 0.6254 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004725/1.596, allocations: 116.3 kB / 0.6255 GB, free: 107.7 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.03083/1.626, allocations: 5.936 MB / 0.6313 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.626, allocations: 9.188 kB / 0.6313 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005935/1.632, allocations: 1.071 MB / 0.6323 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05548/1.688, allocations: 7.007 MB / 0.6392 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03134/1.719, allocations: 6.657 MB / 0.6457 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009023/1.72, allocations: 459.8 kB / 0.6461 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004389/1.725, allocations: 0.6023 MB / 0.6467 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06368/1.788, allocations: 15.02 MB / 0.6614 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000633/1.789, allocations: 86.62 kB / 0.6615 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003836/1.793, allocations: 288.8 kB / 0.6617 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00302/1.796, allocations: 1.357 MB / 0.6631 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04107/1.837, allocations: 12.14 MB / 0.6749 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/1.938, allocations: 64.81 MB / 0.7382 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.97, allocations: 7.047 MB / 0.7451 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006396/1.977, allocations: 3.304 MB / 0.7483 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/1.977, allocations: 40.75 kB / 0.7484 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/1.977, allocations: 63.81 kB / 0.7484 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 7.474e-06/1.977, allocations: 0 / 0.7484 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.1247/2.102, allocations: 25.4 MB / 0.7732 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/2.102, allocations: 205.9 kB / 0.7734 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/2.115, allocations: 5.332 MB / 0.7786 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008586/2.116, allocations: 61.7 kB / 0.7787 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004184/2.12, allocations: 4.217 MB / 0.7828 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/2.122, allocations: 0.9818 MB / 0.7838 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/2.123, allocations: 155.7 kB / 0.7839 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005833/2.124, allocations: 0.6283 MB / 0.7845 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007937/2.132, allocations: 3.131 MB / 0.7876 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/2.144, allocations: 7.554 MB / 0.7949 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/2.157, allocations: 4.816 MB / 0.7997 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/2.157, allocations: 48 kB / 0.7997 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.4238/2.581, allocations: 11.55 MB / 0.811 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/2.581, allocations: 73.16 kB / 0.811 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000342/2.581, allocations: 157.4 kB / 0.8112 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008266/2.59, allocations: 1.667 MB / 0.8128 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/2.603, allocations: 1.827 MB / 0.8146 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02499/2.628, allocations: 11.35 MB / 0.8257 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.639, allocations: 474.1 kB / 0.8261 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/2.642, allocations: 460.6 kB / 0.8266 GB, free: 103.6 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.003563/2.645, allocations: 0.6984 MB / 0.8273 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.647, allocations: 0.5114 MB / 0.8278 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/2.666, allocations: 6.159 MB / 0.8338 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.861e-05/2.666, allocations: 28.72 kB / 0.8338 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-05/2.666, allocations: 7.375 kB / 0.8338 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-05/2.666, allocations: 15.39 kB / 0.8338 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04201/2.708, allocations: 13.7 MB / 0.8472 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/2.709, allocations: 0 / 0.8472 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005316/2.714, allocations: 497.6 kB / 0.8477 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006643/2.721, allocations: 1.417 MB / 0.8491 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007915/2.721, allocations: 43.09 kB / 0.8491 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02159/2.743, allocations: 10.58 MB / 0.8594 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/2.743, allocations: 3.953 kB / 0.8594 GB, free: 96.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/2.768, allocations: 10.13 MB / 0.8693 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/2.771, allocations: 0.5867 MB / 0.8699 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002136/2.773, allocations: 42.69 kB / 0.8699 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/2.778, allocations: 216.8 kB / 0.8702 GB, free: 92.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/2.779, allocations: 149.9 kB / 0.8703 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003512/2.78, allocations: 71.2 kB / 0.8704 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009843/2.79, allocations: 3.77 MB / 0.874 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.343e-06/2.79, allocations: 0 / 0.874 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01019/2.8, allocations: 1.473 MB / 0.8755 GB, free: 90.86 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.02553/2.825, allocations: 10.96 MB / 0.8862 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01804/2.844, allocations: 7.562 MB / 0.8936 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/2.844, allocations: 0 / 0.8936 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008789/2.852, allocations: 3.141 MB / 0.8966 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005748/2.858, allocations: 0.6644 MB / 0.8973 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04296/2.901, 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.009858/2.911, allocations: 4.55 MB / 0.9151 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01171/2.923, allocations: 2.587 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.93, allocations: 2.821 MB / 0.9203 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/2.93, allocations: 0 / 0.9203 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7229/3.653, allocations: 116.7 MB / 1.034 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/3.653, allocations: 180 kB / 1.034 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/11.44, allocations: 0 / 1.034 GB, free: 124.7 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat