Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.807/2.807, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.017e-05/6.034e-05, allocations: 8 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4624, allocations: 54.84 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.6768, allocations: 99.76 MB / 459.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.6772, allocations: 75.95 kB / 459.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8775/1.555, allocations: 116.7 MB / 0.5629 GB, free: 106.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.555, allocations: 3.938 kB / 0.5629 GB, free: 106.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002967/1.555, allocations: 96.5 kB / 0.563 GB, free: 106.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.02164/1.577, allocations: 4.438 MB / 0.5674 GB, free: 104.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.577, allocations: 12.53 kB / 0.5674 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004862/1.582, allocations: 0.9582 MB / 0.5683 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03908/1.621, allocations: 3.656 MB / 0.5719 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/1.649, allocations: 4.796 MB / 0.5766 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008305/1.65, allocations: 383 kB / 0.5769 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004657/1.654, allocations: 499 kB / 0.5774 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/1.701, allocations: 12.04 MB / 0.5892 GB, free: 97.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/1.702, allocations: 31.84 kB / 0.5892 GB, free: 97.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002912/1.705, allocations: 228.1 kB / 0.5894 GB, free: 96.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/1.708, allocations: 1.394 MB / 0.5908 GB, free: 96.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/1.74, allocations: 11.01 MB / 0.6015 GB, free: 87.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/1.841, allocations: 42.74 MB / 0.6433 GB, free: 43.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0216/1.863, allocations: 4.682 MB / 0.6478 GB, free: 38.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007317/1.87, allocations: 2.409 MB / 0.6502 GB, free: 36.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/1.873, allocations: 1.321 MB / 0.6515 GB, free: 34.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/1.873, allocations: 56.56 kB / 0.6515 GB, free: 34.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 9.167e-06/1.873, allocations: 0 / 0.6515 GB, free: 34.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=268): time 0.09321/1.966, allocations: 16.36 MB / 0.6675 GB, free: 18.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/1.966, allocations: 99.11 kB / 0.6676 GB, free: 18.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/1.972, allocations: 2.853 MB / 0.6704 GB, free: 15.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006163/1.973, allocations: 57.7 kB / 0.6705 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/1.976, allocations: 3.258 MB / 0.6736 GB, free: 12.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.977, allocations: 0.9763 MB / 0.6746 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007957/1.978, allocations: 123 kB / 0.6747 GB, free: 10.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004665/1.978, allocations: 0.5625 MB / 0.6753 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005831/1.984, allocations: 2.406 MB / 0.6776 GB, free: 7.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008749/1.993, allocations: 5.734 MB / 0.6832 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00989/2.003, allocations: 3.761 MB / 0.6869 GB, free: 12.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/2.003, allocations: 36 kB / 0.6869 GB, free: 12.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.03539/2.039, allocations: 8.653 MB / 0.6954 GB, free: 4.137 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/2.039, allocations: 56.19 kB / 0.6954 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/2.039, allocations: 120 kB / 0.6955 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006047/2.045, allocations: 1.063 MB / 0.6966 GB, free: 2.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009736/2.055, allocations: 1.384 MB / 0.6979 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3503/2.405, allocations: 5.076 MB / 0.7029 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006811/2.412, allocations: 324.5 kB / 0.7032 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/2.414, allocations: 352.1 kB / 0.7035 GB, free: 104.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 736 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002432/2.416, allocations: 0.5533 MB / 0.7041 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009218/2.417, allocations: 317.2 kB / 0.7044 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/2.436, allocations: 5.313 MB / 0.7095 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001292/2.436, allocations: 49.97 kB / 0.7096 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/2.436, allocations: 4.5 kB / 0.7096 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.828e-05/2.436, allocations: 10.45 kB / 0.7096 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0423/2.478, allocations: 13.25 MB / 0.7226 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/2.478, allocations: 12.5 kB / 0.7226 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/2.482, allocations: 420.5 kB / 0.723 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005106/2.487, allocations: 0.8914 MB / 0.7238 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007336/2.488, allocations: 61.48 kB / 0.7239 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009445/2.498, allocations: 4.411 MB / 0.7282 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/2.498, allocations: 20.28 kB / 0.7282 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/2.518, allocations: 9.03 MB / 0.737 GB, free: 96.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/2.521, allocations: 0.7325 MB / 0.7378 GB, free: 96.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/2.522, allocations: 50.11 kB / 0.7378 GB, free: 96.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/2.525, allocations: 144.2 kB / 0.7379 GB, free: 96.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/2.526, allocations: 164.5 kB / 0.7381 GB, free: 96.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/2.527, allocations: 82.3 kB / 0.7382 GB, free: 96.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004951/2.532, allocations: 1.951 MB / 0.7401 GB, free: 95.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.532, allocations: 0 / 0.7401 GB, free: 95.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007996/2.54, allocations: 1.115 MB / 0.7412 GB, free: 95.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02107/2.561, allocations: 12.55 MB / 0.7534 GB, free: 87.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01441/2.575, allocations: 5.738 MB / 0.759 GB, free: 86.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/2.575, allocations: 3.375 kB / 0.759 GB, free: 86.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007891/2.583, allocations: 2.2 MB / 0.7612 GB, free: 85.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005803/2.589, allocations: 392.1 kB / 0.7615 GB, free: 85.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/2.627, allocations: 11.39 MB / 0.7727 GB, free: 81.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009235/2.636, allocations: 3.925 MB / 0.7765 GB, free: 79.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01022/2.647, allocations: 2.212 MB / 0.7787 GB, free: 78.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006237/2.653, allocations: 2.229 MB / 0.7808 GB, free: 76 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/2.653, allocations: 0 / 0.7808 GB, free: 76 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/2.836, allocations: 78.21 MB / 0.8572 GB, free: 5.074 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003465/2.836, allocations: 167.5 kB / 0.8574 GB, free: 4.844 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.05/7.886, allocations: 0 / 0.8574 GB, free: 4.844 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat