Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-05/4.925e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5423/0.6883, allocations: 108.1 MB / 0.5063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.6887, allocations: 80.58 kB / 0.5064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9482/1.637, allocations: 108.1 MB / 0.6119 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/1.637, allocations: 0 / 0.6119 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004638/1.637, allocations: 103.7 kB / 0.612 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02263/1.66, allocations: 5.149 MB / 0.617 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.66, allocations: 9.016 kB / 0.617 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004429/1.665, allocations: 0.8996 MB / 0.6179 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06046/1.725, allocations: 6.878 MB / 0.6246 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02607/1.751, allocations: 6.382 MB / 0.6308 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006/1.752, allocations: 382 kB / 0.6312 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002901/1.755, allocations: 0.5076 MB / 0.6317 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03851/1.793, allocations: 12.26 MB / 0.6437 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003696/1.794, allocations: 75.72 kB / 0.6437 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/1.796, allocations: 246.3 kB / 0.644 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/1.798, allocations: 1.129 MB / 0.6451 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03588/1.834, allocations: 9.447 MB / 0.6543 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/1.945, allocations: 56.32 MB / 0.7093 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/1.963, allocations: 4.306 MB / 0.7135 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003975/1.967, allocations: 1.948 MB / 0.7154 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/1.984, allocations: 6.214 MB / 0.7215 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.984, allocations: 58.67 kB / 0.7215 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 5.451e-06/1.984, allocations: 5.656 kB / 0.7215 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.05793/2.042, allocations: 12.08 MB / 0.7333 GB, free: 51.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/2.042, allocations: 192.9 kB / 0.7335 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/2.055, allocations: 4.957 MB / 0.7384 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003976/2.055, allocations: 49.7 kB / 0.7384 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003858/2.059, allocations: 3.856 MB / 0.7422 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/2.06, allocations: 0.6664 MB / 0.7428 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008305/2.061, allocations: 135.9 kB / 0.743 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004895/2.062, allocations: 0.5921 MB / 0.7435 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005266/2.067, allocations: 1.949 MB / 0.7454 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008151/2.075, allocations: 6.196 MB / 0.7515 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007734/2.083, allocations: 3.487 MB / 0.7549 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/2.083, allocations: 40 kB / 0.7549 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02186/2.105, allocations: 7.871 MB / 0.7626 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/2.105, allocations: 77.92 kB / 0.7627 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/2.106, allocations: 152 kB / 0.7628 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/2.108, allocations: 0.5849 MB / 0.7634 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009216/2.118, allocations: 1.503 MB / 0.7649 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00898/2.127, allocations: 5.595 MB / 0.7703 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008158/2.135, allocations: 336.7 kB / 0.7707 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/2.137, allocations: 419.1 kB / 0.7711 GB, free: 14.66 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 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (815): * Single equations (assignments): 810 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002522/2.139, allocations: 0.6321 MB / 0.7717 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/2.141, allocations: 469 kB / 0.7721 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007535/2.148, allocations: 2.443 MB / 0.7745 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/2.148, allocations: 20 kB / 0.7745 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/2.148, allocations: 4 kB / 0.7745 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-05/2.148, allocations: 15.08 kB / 0.7746 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/2.17, allocations: 7.133 MB / 0.7815 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/2.17, allocations: 4 kB / 0.7815 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/2.173, allocations: 229.2 kB / 0.7817 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/2.174, allocations: 350 kB / 0.7821 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/2.175, allocations: 32 kB / 0.7821 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007548/2.182, allocations: 4.945 MB / 0.7869 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/2.182, allocations: 7.75 kB / 0.7869 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/2.197, allocations: 5.067 MB / 0.7919 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002959/2.2, allocations: 0.5223 MB / 0.7924 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00232/2.202, allocations: 32 kB / 0.7924 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005185/2.207, allocations: 67.92 kB / 0.7925 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007793/2.208, allocations: 100.8 kB / 0.7926 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/2.208, allocations: 44 kB / 0.7926 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01528/2.224, allocations: 3.532 MB / 0.7961 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/2.224, allocations: 0 / 0.7961 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01409/2.238, allocations: 1.117 MB / 0.7972 GB, free: 6.121 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01882/2.257, allocations: 6.232 MB / 0.8033 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01841/2.275, allocations: 4.712 MB / 0.8079 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/2.275, allocations: 0 / 0.8079 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/2.28, allocations: 1.378 MB / 0.8092 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006982/2.287, allocations: 0.5902 MB / 0.8098 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5741/2.861, allocations: 10.38 MB / 0.8199 GB, free: 127 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/2.873, allocations: 3.955 MB / 0.8238 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01164/2.884, allocations: 2.162 MB / 0.8259 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006086/2.89, allocations: 2.399 MB / 0.8282 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.034e-06/2.89, allocations: 2.25 kB / 0.8282 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/3.108, allocations: 92.1 MB / 0.9182 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/3.109, allocations: 169.2 kB / 0.9183 GB, free: 96.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/9.637, allocations: 0 / 0.9183 GB, free: 96.87 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat