Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270.1 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.614e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6112/0.7428, allocations: 108.1 MB / 0.5063 GB, free: 11.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.7432, allocations: 84.62 kB / 0.5064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.569, allocations: 108.2 MB / 0.612 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.757e-06/1.569, allocations: 0.5 kB / 0.612 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005198/1.57, allocations: 102.2 kB / 0.6121 GB, free: 109.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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02443/1.594, allocations: 5.164 MB / 0.6172 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.594, allocations: 12.95 kB / 0.6172 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00524/1.6, allocations: 0.9006 MB / 0.6181 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05537/1.655, allocations: 6.877 MB / 0.6248 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02627/1.681, allocations: 6.386 MB / 0.631 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006391/1.682, allocations: 381.6 kB / 0.6314 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/1.685, allocations: 0.5094 MB / 0.6319 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04242/1.727, allocations: 12.27 MB / 0.6439 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003934/1.728, allocations: 83 kB / 0.644 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/1.73, allocations: 246.9 kB / 0.6442 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/1.733, allocations: 1.128 MB / 0.6453 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02896/1.762, allocations: 9.455 MB / 0.6545 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07931/1.841, allocations: 56.39 MB / 0.7096 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01763/1.859, allocations: 4.228 MB / 0.7137 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/1.862, allocations: 1.915 MB / 0.7156 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/1.877, allocations: 5.655 MB / 0.7211 GB, free: 57.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.877, allocations: 52.86 kB / 0.7212 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.58e-06/1.877, allocations: 3.938 kB / 0.7212 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.05693/1.934, allocations: 12.93 MB / 0.7338 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/1.934, allocations: 229.5 kB / 0.734 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.946, allocations: 4.96 MB / 0.7389 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003717/1.946, allocations: 45.7 kB / 0.7389 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003674/1.95, allocations: 3.87 MB / 0.7427 GB, free: 43.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009916/1.951, allocations: 0.6575 MB / 0.7433 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/1.952, allocations: 128 kB / 0.7434 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004037/1.952, allocations: 0.5894 MB / 0.744 GB, free: 41.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/1.957, allocations: 1.932 MB / 0.7459 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007382/1.964, allocations: 6.169 MB / 0.7519 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007415/1.972, allocations: 3.457 MB / 0.7553 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/1.972, allocations: 44 kB / 0.7553 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02207/1.994, allocations: 7.836 MB / 0.763 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.994, allocations: 74.66 kB / 0.7631 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.995, allocations: 152 kB / 0.7632 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/1.997, allocations: 0.6011 MB / 0.7638 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008831/2.006, allocations: 1.494 MB / 0.7653 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/2.014, allocations: 5.705 MB / 0.7708 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007717/2.022, allocations: 345 kB / 0.7712 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/2.024, allocations: 412.8 kB / 0.7716 GB, free: 14.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (809): * Single equations (assignments): 804 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001921/2.025, allocations: 0.6269 MB / 0.7722 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/2.027, allocations: 472.9 kB / 0.7726 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/2.034, allocations: 2.407 MB / 0.775 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/2.034, allocations: 23.91 kB / 0.775 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/2.034, allocations: 4 kB / 0.775 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/2.034, allocations: 7.594 kB / 0.775 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/2.056, allocations: 7.216 MB / 0.7821 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/2.056, allocations: 7.953 kB / 0.7821 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/2.058, allocations: 259.8 kB / 0.7823 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/2.06, allocations: 355.5 kB / 0.7826 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/2.06, allocations: 39.02 kB / 0.7827 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007817/2.068, allocations: 5.056 MB / 0.7876 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/2.068, allocations: 4 kB / 0.7876 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/2.08, allocations: 5.08 MB / 0.7926 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/2.082, allocations: 0.5223 MB / 0.7931 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/2.083, allocations: 27.98 kB / 0.7931 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003698/2.087, allocations: 79.45 kB / 0.7932 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/2.088, allocations: 96.77 kB / 0.7933 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/2.088, allocations: 44 kB / 0.7933 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01016/2.098, allocations: 3.54 MB / 0.7968 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.182e-06/2.098, allocations: 4 kB / 0.7968 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008933/2.107, allocations: 1.111 MB / 0.7979 GB, free: 5.359 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * 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 {(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.01956/2.127, allocations: 6.288 MB / 0.804 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01284/2.14, allocations: 4.67 MB / 0.8086 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/2.14, allocations: 4 kB / 0.8086 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003539/2.143, allocations: 1.366 MB / 0.8099 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/2.149, allocations: 0.5963 MB / 0.8105 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4227/2.572, allocations: 10.37 MB / 0.8206 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/2.584, allocations: 3.976 MB / 0.8245 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01178/2.595, allocations: 2.132 MB / 0.8266 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005933/2.601, allocations: 2.387 MB / 0.8289 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.635e-06/2.601, allocations: 0 / 0.8289 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/2.818, allocations: 92.3 MB / 0.9191 GB, free: 95.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/2.818, allocations: 173.5 kB / 0.9192 GB, free: 94.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/9.755, allocations: 0 / 0.9192 GB, free: 94.99 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat