Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 235.1 MB / 242.2 MB, free: 15.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.997e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3987, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.5933, allocations: 99.91 MB / 454.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5936, allocations: 87.89 kB / 454.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8132/1.407, allocations: 108.5 MB / 0.5496 GB, free: 77.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.407, allocations: 0 / 0.5496 GB, free: 77.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004836/1.407, allocations: 108 kB / 0.5497 GB, free: 77.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02493/1.432, allocations: 5.329 MB / 0.5549 GB, free: 72.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.432, allocations: 8.031 kB / 0.5549 GB, free: 72.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05049/1.483, allocations: 6.931 MB / 0.5617 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02401/1.507, allocations: 6.777 MB / 0.5683 GB, free: 58.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/1.507, allocations: 168 kB / 0.5685 GB, free: 58.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/1.51, allocations: 324.3 kB / 0.5688 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01785/1.528, allocations: 7.225 MB / 0.5758 GB, free: 50.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/1.559, allocations: 11.4 MB / 0.587 GB, free: 38.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004364/1.559, allocations: 87.17 kB / 0.587 GB, free: 38.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/1.561, allocations: 40 kB / 0.5871 GB, free: 38.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/1.565, allocations: 1.211 MB / 0.5883 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/1.666, allocations: 56.17 MB / 0.6431 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/1.674, allocations: 3.45 MB / 0.6465 GB, free: 7.762 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004919/1.679, allocations: 2.081 MB / 0.6485 GB, free: 5.668 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/1.679, allocations: 35.66 kB / 0.6486 GB, free: 5.645 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.346e-05/1.679, allocations: 63.8 kB / 0.6486 GB, free: 5.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 7.104e-06/1.679, allocations: 0 / 0.6486 GB, free: 5.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=197): time 0.05956/1.739, allocations: 17.31 MB / 0.6655 GB, free: 4.188 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/1.739, allocations: 201.2 kB / 0.6657 GB, free: 3.945 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3918/2.131, allocations: 4.044 MB / 0.6697 GB, free: 118.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005493/2.132, allocations: 26.8 kB / 0.6697 GB, free: 118 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004317/2.136, allocations: 4.071 MB / 0.6737 GB, free: 116.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/2.137, allocations: 0.7561 MB / 0.6744 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008187/2.138, allocations: 0 / 0.6744 GB, free: 116.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005121/2.139, allocations: 0.6167 MB / 0.675 GB, free: 116.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005992/2.145, allocations: 2.157 MB / 0.6771 GB, free: 116.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009773/2.154, allocations: 6.7 MB / 0.6836 GB, free: 110.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009533/2.164, allocations: 3.789 MB / 0.6873 GB, free: 110.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003745/2.164, allocations: 47.55 kB / 0.6874 GB, free: 110.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.02362/2.188, allocations: 8.214 MB / 0.6954 GB, free: 109.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.188, allocations: 75.81 kB / 0.6955 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002244/2.189, allocations: 163.4 kB / 0.6956 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/2.191, allocations: 0.5913 MB / 0.6962 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/2.201, allocations: 1.679 MB / 0.6979 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/2.209, allocations: 5.418 MB / 0.7031 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008158/2.218, allocations: 237.7 kB / 0.7034 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/2.219, allocations: 453.1 kB / 0.7038 GB, free: 106.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (906): * Single equations (assignments): 901 * 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.002168/2.222, allocations: 0.5095 MB / 0.7043 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007833/2.229, allocations: 3.113 MB / 0.7073 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/2.231, allocations: 420.5 kB / 0.7077 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008005/2.239, allocations: 2.93 MB / 0.7106 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.772e-05/2.239, allocations: 20.56 kB / 0.7106 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/2.239, allocations: 6.312 kB / 0.7106 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/2.239, allocations: 15.7 kB / 0.7106 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/2.26, allocations: 7.328 MB / 0.7178 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/2.26, allocations: 3.156 kB / 0.7178 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/2.263, allocations: 298.2 kB / 0.7181 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/2.264, allocations: 339.9 kB / 0.7184 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/2.265, allocations: 6.875 kB / 0.7184 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006945/2.272, allocations: 4.74 MB / 0.723 GB, free: 97.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/2.272, allocations: 3.844 kB / 0.7231 GB, free: 97.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/2.283, allocations: 5.53 MB / 0.7285 GB, free: 95.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/2.285, allocations: 0.7006 MB / 0.7291 GB, free: 94.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/2.287, allocations: 10.52 kB / 0.7291 GB, free: 94.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/2.29, allocations: 65.25 kB / 0.7292 GB, free: 94.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007003/2.29, allocations: 112 kB / 0.7293 GB, free: 94.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/2.291, allocations: 50.56 kB / 0.7294 GB, free: 94.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007838/2.298, allocations: 2.735 MB / 0.732 GB, free: 93.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.298, allocations: 0 / 0.732 GB, free: 93.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009293/2.308, allocations: 1.032 MB / 0.733 GB, free: 93.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (156): * Single equations (assignments): 151 * 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.01185/2.32, allocations: 6.469 MB / 0.7394 GB, free: 89.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01221/2.332, allocations: 5.325 MB / 0.7446 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/2.332, allocations: 4 kB / 0.7446 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003332/2.335, allocations: 1.668 MB / 0.7462 GB, free: 83.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/2.34, allocations: 479.9 kB / 0.7467 GB, free: 82.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/2.375, allocations: 10.79 MB / 0.7572 GB, free: 73.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00896/2.384, allocations: 4.134 MB / 0.7612 GB, free: 70.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01076/2.395, allocations: 2.334 MB / 0.7635 GB, free: 68.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005911/2.401, allocations: 2.501 MB / 0.766 GB, free: 66.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/2.401, allocations: 0 / 0.766 GB, free: 66.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.69/3.091, allocations: 86.5 MB / 0.8504 GB, free: 98.44 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/3.091, allocations: 137.5 kB / 0.8506 GB, free: 98.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/9.056, allocations: 3.625 kB / 0.8506 GB, free: 98.25 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat