Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.277e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.294, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.4854, allocations: 86 MB / 380.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004434/0.4859, allocations: 83.95 kB / 380.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7407/1.227, allocations: 81.05 MB / 461.4 MB, free: 85.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.227, allocations: 3.875 kB / 461.4 MB, free: 85.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002582/1.227, allocations: 76.23 kB / 461.4 MB, free: 85.51 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1299 * Number of variables: 1299 Notification: Performance of Generate backend data structure: time 0.01584/1.243, allocations: 3.966 MB / 465.4 MB, free: 82.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.243, allocations: 8.031 kB / 465.4 MB, free: 82.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04732/1.29, allocations: 6.614 MB / 472 MB, free: 75.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.31, allocations: 5.813 MB / 477.8 MB, free: 69.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/1.311, allocations: 112 kB / 478 MB, free: 69.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/1.312, allocations: 223.8 kB / 478.2 MB, free: 69.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01205/1.324, allocations: 5.237 MB / 483.4 MB, free: 64.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/1.341, allocations: 8.174 MB / 491.6 MB, free: 55.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/1.342, allocations: 59.47 kB / 491.6 MB, free: 55.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007505/1.343, allocations: 28 kB / 491.7 MB, free: 55.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/1.344, allocations: 0.8923 MB / 492.6 MB, free: 54.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05245/1.397, allocations: 40.61 MB / 0.5207 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005021/1.402, allocations: 3.039 MB / 0.5236 GB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/1.405, allocations: 1.914 MB / 0.5255 GB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005094/1.405, allocations: 328.3 kB / 0.5258 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.405, allocations: 59.8 kB / 0.5259 GB, free: 7.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=160): time 5.411e-06/1.405, allocations: 0 / 0.5259 GB, free: 7.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=189): time 0.05788/1.463, allocations: 16.79 MB / 0.5423 GB, free: 6.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/1.463, allocations: 256.6 kB / 0.5425 GB, free: 5.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007246/1.471, allocations: 3.001 MB / 0.5455 GB, free: 2.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00051/1.471, allocations: 25.7 kB / 0.5455 GB, free: 2.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003261/1.475, allocations: 2.878 MB / 0.5483 GB, free: 40 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.476, allocations: 0.6902 MB / 0.549 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/1.476, allocations: 4 kB / 0.549 GB, free: 15.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005336/1.477, allocations: 0.5456 MB / 0.5495 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004987/1.482, allocations: 1.967 MB / 0.5514 GB, free: 12.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008353/1.49, allocations: 5.298 MB / 0.5566 GB, free: 5.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007923/1.498, allocations: 3.229 MB / 0.5597 GB, free: 2.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.499, allocations: 32 kB / 0.5598 GB, free: 2.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.2915/1.79, allocations: 7.701 MB / 0.5673 GB, free: 100.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.79, allocations: 63.61 kB / 0.5674 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/1.791, allocations: 122 kB / 0.5675 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/1.797, allocations: 1.369 MB / 0.5688 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007811/1.805, allocations: 1.261 MB / 0.57 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/1.822, allocations: 7.85 MB / 0.5777 GB, free: 99.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/1.828, allocations: 211.5 kB / 0.5779 GB, free: 99.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.829, allocations: 348.3 kB / 0.5782 GB, free: 99.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 27 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (674): * Single equations (assignments): 670 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001204/1.831, allocations: 406.8 kB / 0.5786 GB, free: 99.31 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01147/1.842, allocations: 4.035 MB / 0.5826 GB, free: 99.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009611/1.843, allocations: 328.8 kB / 0.5829 GB, free: 99.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.854, allocations: 3.736 MB / 0.5865 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/1.855, allocations: 23.31 kB / 0.5866 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.855, allocations: 6.438 kB / 0.5866 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.701e-05/1.855, allocations: 13.12 kB / 0.5866 GB, free: 98.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.877, allocations: 8.158 MB / 0.5945 GB, free: 95.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.877, allocations: 0 / 0.5945 GB, free: 95.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.88, allocations: 258.1 kB / 0.5948 GB, free: 95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005896/1.886, allocations: 1.2 MB / 0.596 GB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003979/1.886, allocations: 8.375 kB / 0.596 GB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01469/1.901, allocations: 7.025 MB / 0.6028 GB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.901, allocations: 9.156 kB / 0.6028 GB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.916, allocations: 6.602 MB / 0.6093 GB, free: 88.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.919, allocations: 0.6478 MB / 0.6099 GB, free: 87.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008864/1.919, allocations: 0 / 0.6099 GB, free: 87.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/1.922, allocations: 89.33 kB / 0.61 GB, free: 87.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.923, allocations: 114 kB / 0.6101 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.923, allocations: 52.36 kB / 0.6102 GB, free: 87.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004212/1.927, allocations: 2.038 MB / 0.6122 GB, free: 85.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.927, allocations: 0 / 0.6122 GB, free: 85.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006458/1.934, allocations: 0.8627 MB / 0.613 GB, free: 84.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (135): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01618/1.95, allocations: 7.513 MB / 0.6203 GB, free: 78.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01148/1.961, allocations: 4.99 MB / 0.6252 GB, free: 73.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.961, allocations: 0 / 0.6252 GB, free: 73.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004984/1.966, allocations: 1.895 MB / 0.6271 GB, free: 72.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/1.97, allocations: 388 kB / 0.6274 GB, free: 71.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/1.997, allocations: 8.576 MB / 0.6358 GB, free: 64.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006438/2.004, allocations: 3.166 MB / 0.6389 GB, free: 62.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00836/2.012, allocations: 1.859 MB / 0.6407 GB, free: 60.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004612/2.017, allocations: 1.745 MB / 0.6424 GB, free: 59.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/2.017, allocations: 4 kB / 0.6424 GB, free: 59.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.491/2.508, allocations: 73.66 MB / 0.7143 GB, free: 97.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/2.508, allocations: 158.8 kB / 0.7145 GB, free: 97.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.441/7.95, allocations: 5.531 kB / 0.7145 GB, free: 97.38 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat