Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.653e-05/4.665e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6312/0.7719, allocations: 106.9 MB / 0.5051 GB, free: 13.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.7722, allocations: 75.97 kB / 0.5052 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061/1.833, allocations: 156.2 MB / 0.6577 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/1.833, allocations: 0 / 0.6577 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006241/1.834, allocations: 158.6 kB / 0.6579 GB, free: 106.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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.03302/1.867, allocations: 7.634 MB / 0.6653 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.867, allocations: 14.44 kB / 0.6653 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006559/1.873, allocations: 1.304 MB / 0.6666 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09019/1.964, allocations: 11.94 MB / 0.6783 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03725/2.001, allocations: 9.973 MB / 0.688 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007712/2.002, allocations: 0.5728 MB / 0.6886 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004295/2.006, allocations: 0.7686 MB / 0.6893 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05905/2.065, allocations: 17.88 MB / 0.7068 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007764/2.066, allocations: 107.3 kB / 0.7069 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003899/2.07, allocations: 372.8 kB / 0.7072 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003527/2.074, allocations: 1.565 MB / 0.7088 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06417/2.138, allocations: 14.1 MB / 0.7225 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1613/2.299, allocations: 75.48 MB / 0.7962 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03559/2.335, allocations: 7.235 MB / 0.8033 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00802/2.343, allocations: 3.45 MB / 0.8067 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/2.344, allocations: 0.6449 MB / 0.8073 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.646e-05/2.344, allocations: 68.05 kB / 0.8074 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 6.552e-06/2.344, allocations: 0 / 0.8074 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.5234/2.868, allocations: 22.73 MB / 0.8296 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/2.868, allocations: 290.2 kB / 0.8298 GB, free: 107 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01925/2.887, allocations: 6.459 MB / 0.8362 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007224/2.888, allocations: 67.52 kB / 0.8362 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005868/2.894, allocations: 5.365 MB / 0.8415 GB, free: 104 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001827/2.896, allocations: 0.9881 MB / 0.8424 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/2.897, allocations: 174.6 kB / 0.8426 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006866/2.898, allocations: 0.6663 MB / 0.8432 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007402/2.905, allocations: 2.794 MB / 0.846 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/2.916, allocations: 7.994 MB / 0.8538 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/2.926, allocations: 4.703 MB / 0.8584 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002454/2.927, allocations: 50.22 kB / 0.8584 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.03165/2.958, allocations: 10.89 MB / 0.869 GB, free: 93.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.959, allocations: 87.88 kB / 0.8691 GB, free: 93.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003311/2.959, allocations: 186.4 kB / 0.8693 GB, free: 93.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/2.963, allocations: 1.032 MB / 0.8703 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/2.976, allocations: 1.95 MB / 0.8722 GB, free: 92.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/2.995, allocations: 11.23 MB / 0.8832 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/3.006, allocations: 466.1 kB / 0.8836 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/3.009, allocations: 0.5122 MB / 0.8841 GB, free: 84.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1030): * Single equations (assignments): 1023 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003622/3.012, allocations: 0.7809 MB / 0.8849 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/3.014, allocations: 0.6238 MB / 0.8855 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/3.028, allocations: 4.475 MB / 0.8899 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.896e-05/3.028, allocations: 34.73 kB / 0.8899 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/3.028, allocations: 9.594 kB / 0.8899 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.719e-05/3.029, allocations: 10.88 kB / 0.8899 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04043/3.069, allocations: 12.27 MB / 0.9019 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/3.069, allocations: 0 / 0.9019 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004255/3.073, allocations: 404.4 kB / 0.9023 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003565/3.077, allocations: 0.694 MB / 0.903 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006441/3.078, allocations: 42.05 kB / 0.903 GB, free: 77.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/3.093, allocations: 10.12 MB / 0.9129 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/3.093, allocations: 0 / 0.9129 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/3.112, allocations: 7.759 MB / 0.9205 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0028/3.115, allocations: 0.6691 MB / 0.9211 GB, free: 65.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002596/3.117, allocations: 43.94 kB / 0.9212 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005703/3.123, allocations: 147.6 kB / 0.9213 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008787/3.124, allocations: 153.2 kB / 0.9215 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/3.124, allocations: 63.48 kB / 0.9215 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01233/3.137, allocations: 4.596 MB / 0.926 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.072e-06/3.137, allocations: 0 / 0.926 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01273/3.149, allocations: 1.641 MB / 0.9276 GB, free: 59.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.01927/3.169, allocations: 8.597 MB / 0.936 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01642/3.185, allocations: 7.042 MB / 0.9429 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/3.185, allocations: 0 / 0.9429 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005131/3.19, allocations: 2.481 MB / 0.9453 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007683/3.198, allocations: 0.9078 MB / 0.9462 GB, free: 42.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05042/3.249, allocations: 15.53 MB / 0.9614 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/3.262, allocations: 5.575 MB / 0.9668 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01263/3.275, allocations: 2.723 MB / 0.9695 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008264/3.283, allocations: 3.637 MB / 0.973 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/3.283, allocations: 0 / 0.973 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7461/4.029, allocations: 134.4 MB / 1.104 GB, free: 82.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/4.03, allocations: 163.3 kB / 1.104 GB, free: 82.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/12.83, allocations: 64 / 1.104 GB, free: 82.31 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat