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.481/2.481, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.553e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4407, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.6432, allocations: 99.76 MB / 459.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.6435, allocations: 72.75 kB / 459.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8744/1.518, allocations: 116.7 MB / 0.5629 GB, free: 106.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.518, allocations: 3.938 kB / 0.5629 GB, free: 106.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002609/1.518, allocations: 95.44 kB / 0.563 GB, free: 106.7 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.01839/1.537, allocations: 4.446 MB / 0.5673 GB, free: 104.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.537, allocations: 10.88 kB / 0.5673 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005187/1.542, allocations: 0.9556 MB / 0.5683 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02766/1.57, allocations: 3.658 MB / 0.5719 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/1.589, allocations: 4.816 MB / 0.5766 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/1.589, allocations: 377.1 kB / 0.5769 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003317/1.592, allocations: 0.4888 MB / 0.5774 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/1.63, allocations: 12.09 MB / 0.5892 GB, free: 97.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003558/1.63, allocations: 38.53 kB / 0.5892 GB, free: 97.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003353/1.633, allocations: 224 kB / 0.5894 GB, free: 97.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003385/1.637, allocations: 1.4 MB / 0.5908 GB, free: 96.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03267/1.669, allocations: 11.15 MB / 0.6017 GB, free: 87.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08813/1.758, allocations: 42.74 MB / 0.6434 GB, free: 43.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.772, allocations: 4.689 MB / 0.648 GB, free: 38.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/1.777, allocations: 2.417 MB / 0.6504 GB, free: 36.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.779, allocations: 1.322 MB / 0.6517 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/1.779, allocations: 52.56 kB / 0.6517 GB, free: 34.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 6.983e-06/1.779, allocations: 0 / 0.6517 GB, free: 34.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=268): time 0.06161/1.84, allocations: 16.37 MB / 0.6677 GB, free: 18.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.84, allocations: 103.1 kB / 0.6678 GB, free: 18.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005709/1.846, allocations: 2.849 MB / 0.6706 GB, free: 15.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005967/1.847, allocations: 57.7 kB / 0.6706 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/1.849, allocations: 3.259 MB / 0.6738 GB, free: 12.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.851, allocations: 0.9739 MB / 0.6748 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/1.851, allocations: 120 kB / 0.6749 GB, free: 10.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004274/1.852, allocations: 0.5664 MB / 0.6754 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005636/1.857, allocations: 2.409 MB / 0.6778 GB, free: 7.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008209/1.866, allocations: 5.769 MB / 0.6834 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009565/1.875, allocations: 3.757 MB / 0.6871 GB, free: 12.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.876, allocations: 36 kB / 0.6871 GB, free: 12.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02901/1.905, allocations: 8.978 MB / 0.6959 GB, free: 3.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.905, allocations: 56 kB / 0.696 GB, free: 3.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/1.905, allocations: 120 kB / 0.6961 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005974/1.911, allocations: 1.059 MB / 0.6971 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009631/1.921, allocations: 1.4 MB / 0.6985 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3735/2.294, allocations: 5.065 MB / 0.7034 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/2.301, allocations: 324.5 kB / 0.7037 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/2.303, allocations: 347.9 kB / 0.7041 GB, free: 104.8 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.00245/2.305, allocations: 0.5606 MB / 0.7046 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009173/2.306, allocations: 318.9 kB / 0.7049 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/2.324, allocations: 5.308 MB / 0.7101 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001291/2.324, allocations: 46.27 kB / 0.7101 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/2.324, allocations: 3.969 kB / 0.7101 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-05/2.324, allocations: 11.77 kB / 0.7101 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04324/2.368, allocations: 13.28 MB / 0.7231 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/2.368, allocations: 15.44 kB / 0.7231 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003763/2.372, allocations: 427.9 kB / 0.7235 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/2.377, allocations: 0.8882 MB / 0.7244 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006298/2.377, allocations: 55.64 kB / 0.7245 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009379/2.387, allocations: 4.415 MB / 0.7288 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/2.387, allocations: 16.25 kB / 0.7288 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/2.406, allocations: 9.028 MB / 0.7376 GB, free: 96.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/2.409, allocations: 0.7315 MB / 0.7383 GB, free: 96.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/2.41, allocations: 52.72 kB / 0.7384 GB, free: 96.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/2.413, allocations: 148.6 kB / 0.7385 GB, free: 96.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006696/2.414, allocations: 163.6 kB / 0.7387 GB, free: 96.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/2.414, allocations: 79.69 kB / 0.7387 GB, free: 96.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004482/2.419, allocations: 1.954 MB / 0.7406 GB, free: 95.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.419, allocations: 0 / 0.7406 GB, free: 95.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008844/2.428, allocations: 1.112 MB / 0.7417 GB, free: 95.54 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.03079/2.459, allocations: 12.55 MB / 0.754 GB, free: 87.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01516/2.474, allocations: 5.931 MB / 0.7598 GB, free: 86.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.474, allocations: 0 / 0.7598 GB, free: 86.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005184/2.479, allocations: 2.242 MB / 0.762 GB, free: 85.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/2.483, allocations: 381.2 kB / 0.7623 GB, free: 85.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03517/2.518, allocations: 11.41 MB / 0.7735 GB, free: 81.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009251/2.527, allocations: 3.928 MB / 0.7773 GB, free: 79.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009866/2.537, allocations: 2.205 MB / 0.7795 GB, free: 77.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00584/2.543, allocations: 2.226 MB / 0.7816 GB, free: 75.64 MB / 474.7 MB Notification: Performance of SimCode: time 2.474e-06/2.543, allocations: 0 / 0.7816 GB, free: 75.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/2.718, allocations: 78.77 MB / 0.8586 GB, free: 4.121 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/2.718, allocations: 156.8 kB / 0.8587 GB, free: 3.902 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.912/7.63, allocations: 0 / 0.8587 GB, free: 3.902 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