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 1.903/1.903, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.469e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 44.5 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5306, allocations: 86.67 MB / 386.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5309, allocations: 86.16 kB / 386.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3372/0.8682, allocations: 82.52 MB / 469.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8682, allocations: 0 / 469.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002937/0.8685, allocations: 68 kB / 469.3 MB, free: 12.83 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.01767/0.8862, allocations: 3.958 MB / 473.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.8863, allocations: 16.03 kB / 473.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002895/0.8892, allocations: 0.6646 MB / 474 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05109/0.9403, allocations: 6.616 MB / 480.6 MB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/0.9639, allocations: 5.819 MB / 486.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.9643, allocations: 273 kB / 486.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.9663, allocations: 357.6 kB / 487 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.9931, allocations: 8.991 MB / 496 MB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002701/0.9934, allocations: 59.38 kB / 496.1 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/0.9945, allocations: 180.4 kB / 496.2 MB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/0.9966, allocations: 0.8842 MB / 497.1 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/1.02, allocations: 7.323 MB / 0.4926 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3649/1.385, allocations: 42.19 MB / 0.5338 GB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.4, allocations: 3.711 MB / 0.5375 GB, free: 65.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004145/1.405, allocations: 1.943 MB / 0.5394 GB, free: 65.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/1.405, allocations: 331 kB / 0.5397 GB, free: 65.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.405, allocations: 53.12 kB / 0.5397 GB, free: 65.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 4.809e-06/1.405, allocations: 1.969 kB / 0.5397 GB, free: 65.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=189): time 0.07847/1.484, allocations: 17.17 MB / 0.5565 GB, free: 62.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.484, allocations: 264.1 kB / 0.5567 GB, free: 62.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007562/1.492, allocations: 3.418 MB / 0.5601 GB, free: 62.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005611/1.492, allocations: 55.83 kB / 0.5601 GB, free: 62.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/1.495, allocations: 2.824 MB / 0.5629 GB, free: 60.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.496, allocations: 0.7195 MB / 0.5636 GB, free: 60.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/1.497, allocations: 109.2 kB / 0.5637 GB, free: 60.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003436/1.497, allocations: 0.5342 MB / 0.5642 GB, free: 60.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.502, allocations: 2.036 MB / 0.5662 GB, free: 60.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006983/1.509, allocations: 5.228 MB / 0.5713 GB, free: 56.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007256/1.516, allocations: 3.267 MB / 0.5745 GB, free: 56.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.516, allocations: 31.72 kB / 0.5745 GB, free: 56.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0237/1.54, allocations: 7.994 MB / 0.5823 GB, free: 54.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.54, allocations: 51.69 kB / 0.5824 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.54, allocations: 122.5 kB / 0.5825 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006816/1.547, allocations: 1.374 MB / 0.5839 GB, free: 54.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007876/1.555, allocations: 1.224 MB / 0.5851 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.573, allocations: 8.398 MB / 0.5933 GB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006812/1.58, allocations: 311.1 kB / 0.5935 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.582, allocations: 334.8 kB / 0.5939 GB, free: 49.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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 (650): * Single equations (assignments): 646 * 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 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001195/1.583, allocations: 0.5146 MB / 0.5944 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009945/1.584, allocations: 359 kB / 0.5947 GB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.596, allocations: 3.887 MB / 0.5985 GB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.647e-05/1.596, allocations: 25.64 kB / 0.5985 GB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.596, allocations: 7.344 kB / 0.5985 GB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-05/1.596, allocations: 6.938 kB / 0.5985 GB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.621, allocations: 8.887 MB / 0.6072 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/1.621, allocations: 3.938 kB / 0.6072 GB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.624, allocations: 260.7 kB / 0.6075 GB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006037/1.63, allocations: 1.21 MB / 0.6087 GB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003881/1.63, allocations: 33.09 kB / 0.6087 GB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/1.646, allocations: 7.546 MB / 0.6161 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.646, allocations: 7.938 kB / 0.6161 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/1.663, allocations: 6.773 MB / 0.6227 GB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/1.666, allocations: 0.68 MB / 0.6233 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008225/1.667, allocations: 32 kB / 0.6234 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/1.669, allocations: 111.3 kB / 0.6235 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004759/1.67, allocations: 104.2 kB / 0.6236 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.67, allocations: 53.7 kB / 0.6236 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005335/1.676, allocations: 2.423 MB / 0.626 GB, free: 25.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.676, allocations: 0 / 0.626 GB, free: 25.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006871/1.682, allocations: 0.9891 MB / 0.627 GB, free: 24.94 MB / 410.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.01663/1.699, allocations: 7.697 MB / 0.6345 GB, free: 18.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01097/1.71, allocations: 4.932 MB / 0.6393 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.71, allocations: 0 / 0.6393 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005071/1.715, allocations: 1.933 MB / 0.6412 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.719, allocations: 438.3 kB / 0.6416 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/1.747, allocations: 8.798 MB / 0.6502 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005818/1.753, allocations: 3.168 MB / 0.6533 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007988/1.761, allocations: 1.816 MB / 0.6551 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009583/1.771, allocations: 2.08 MB / 0.6571 GB, free: 15.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/1.771, allocations: 4 kB / 0.6571 GB, free: 15.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/2.248, allocations: 78.47 MB / 0.7337 GB, free: 91.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.248, allocations: 193.3 kB / 0.7339 GB, free: 91.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.506/7.754, allocations: 4.062 kB / 0.7339 GB, free: 91.51 MB / 426.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