Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.693/2.693, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.131e-05, allocations: 7.984 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5414/0.6805, allocations: 109.5 MB / 0.5077 GB, free: 10.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.6808, allocations: 79.95 kB / 0.5078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8851/1.566, allocations: 127.6 MB / 0.6324 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.615e-06/1.566, allocations: 0 / 0.6324 GB, free: 108 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005437/1.567, allocations: 130.8 kB / 0.6325 GB, free: 108 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.02744/1.594, allocations: 6.294 MB / 0.6386 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.594, allocations: 10.19 kB / 0.6386 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004935/1.599, allocations: 1.101 MB / 0.6397 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05127/1.65, allocations: 7.06 MB / 0.6466 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02562/1.676, allocations: 6.957 MB / 0.6534 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006258/1.677, allocations: 480.7 kB / 0.6539 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003494/1.68, allocations: 0.6195 MB / 0.6545 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04903/1.729, allocations: 15.52 MB / 0.6696 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005068/1.73, allocations: 85.08 kB / 0.6697 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003211/1.733, allocations: 299.4 kB / 0.67 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003036/1.736, allocations: 1.424 MB / 0.6714 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04117/1.777, allocations: 12.51 MB / 0.6836 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09961/1.877, allocations: 66.92 MB / 0.7489 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02721/1.904, allocations: 6.32 MB / 0.7551 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006144/1.91, allocations: 3.349 MB / 0.7584 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/1.93, allocations: 7.974 MB / 0.7662 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.93, allocations: 64.02 kB / 0.7662 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 6.573e-06/1.93, allocations: 0 / 0.7662 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.1131/2.043, allocations: 24.82 MB / 0.7905 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/2.043, allocations: 239.3 kB / 0.7907 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/2.058, allocations: 5.634 MB / 0.7962 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008305/2.059, allocations: 61.7 kB / 0.7963 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005727/2.065, allocations: 4.432 MB / 0.8006 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002272/2.067, allocations: 1.03 MB / 0.8016 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/2.069, allocations: 159 kB / 0.8017 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007999/2.069, allocations: 0.6447 MB / 0.8024 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009013/2.078, allocations: 3.061 MB / 0.8054 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3966/2.475, allocations: 7.703 MB / 0.8129 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/2.489, allocations: 4.815 MB / 0.8176 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003873/2.489, allocations: 47.53 kB / 0.8176 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.04061/2.53, allocations: 11.63 MB / 0.829 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/2.53, allocations: 76.58 kB / 0.8291 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004013/2.531, allocations: 165.8 kB / 0.8292 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008064/2.539, allocations: 1.673 MB / 0.8309 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/2.552, allocations: 1.86 MB / 0.8327 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/2.573, allocations: 11.36 MB / 0.8438 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/2.584, allocations: 467.4 kB / 0.8442 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002285/2.586, allocations: 482.5 kB / 0.8447 GB, free: 104 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (960): * Single equations (assignments): 955 * 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.004476/2.591, allocations: 0.7283 MB / 0.8454 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/2.593, allocations: 0.5374 MB / 0.8459 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/2.612, allocations: 6.02 MB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/2.612, allocations: 25.94 kB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/2.612, allocations: 9.719 kB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-05/2.612, allocations: 13.75 kB / 0.8518 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04957/2.662, allocations: 13.6 MB / 0.8651 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.09e-05/2.662, allocations: 6.766 kB / 0.8651 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006921/2.669, allocations: 498.9 kB / 0.8656 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009082/2.678, allocations: 1.411 MB / 0.867 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009168/2.679, allocations: 53.28 kB / 0.867 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/2.709, allocations: 10.58 MB / 0.8774 GB, free: 92.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/2.709, allocations: 7.844 kB / 0.8774 GB, free: 92.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0252/2.734, allocations: 10.33 MB / 0.8875 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/2.737, allocations: 0.617 MB / 0.8881 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/2.739, allocations: 47.47 kB / 0.8881 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005617/2.745, allocations: 187.5 kB / 0.8883 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/2.746, allocations: 155.9 kB / 0.8884 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/2.746, allocations: 77.59 kB / 0.8885 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01035/2.757, allocations: 4.022 MB / 0.8924 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.092e-06/2.757, allocations: 3.094 kB / 0.8924 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01091/2.768, allocations: 1.5 MB / 0.8939 GB, free: 86.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.02561/2.793, allocations: 11.51 MB / 0.9051 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01736/2.811, allocations: 7.413 MB / 0.9124 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.811, allocations: 1.5 kB / 0.9124 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008252/2.819, allocations: 3.04 MB / 0.9153 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/2.825, allocations: 0.6938 MB / 0.916 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04562/2.871, allocations: 14.13 MB / 0.9298 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/2.882, allocations: 4.739 MB / 0.9345 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01197/2.894, allocations: 2.644 MB / 0.937 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007214/2.901, allocations: 2.952 MB / 0.9399 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.482e-06/2.901, allocations: 0 / 0.9399 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7075/3.609, allocations: 121.6 MB / 1.059 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/3.609, allocations: 176 kB / 1.059 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/11.77, allocations: 0 / 1.059 GB, free: 103.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat