Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.038e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5669, allocations: 91.95 MB / 391.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5673, allocations: 90.53 kB / 392 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.442/1.009, allocations: 94.27 MB / 486.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.009, allocations: 0 / 486.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004166/1.01, allocations: 90.19 kB / 486.4 MB, free: 13.58 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.02195/1.032, allocations: 4.498 MB / 490.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/1.032, allocations: 8.031 kB / 490.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004197/1.036, allocations: 0.7952 MB / 491.7 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05268/1.089, allocations: 6.733 MB / 498.4 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/1.115, allocations: 6.153 MB / 0.4927 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005712/1.116, allocations: 326.2 kB / 0.4931 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002891/1.119, allocations: 444.6 kB / 0.4935 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/1.154, allocations: 10.36 MB / 0.5036 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004537/1.155, allocations: 71.36 kB / 0.5037 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00258/1.158, allocations: 211.8 kB / 0.5039 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002768/1.16, allocations: 1.007 MB / 0.5049 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/1.19, allocations: 8.385 MB / 0.513 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3724/1.563, allocations: 46.04 MB / 0.558 GB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/1.578, allocations: 3.949 MB / 0.5619 GB, free: 53.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/1.583, allocations: 2.018 MB / 0.5638 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009974/1.584, allocations: 0.6567 MB / 0.5645 GB, free: 53.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/1.584, allocations: 52.78 kB / 0.5645 GB, free: 53.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 8.015e-06/1.584, allocations: 0 / 0.5645 GB, free: 53.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.09404/1.678, allocations: 18.84 MB / 0.5829 GB, free: 49.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.678, allocations: 253.7 kB / 0.5832 GB, free: 49.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.688, allocations: 3.69 MB / 0.5868 GB, free: 49.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006172/1.689, allocations: 56.02 kB / 0.5868 GB, free: 49.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003437/1.692, allocations: 3.243 MB / 0.59 GB, free: 47.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.694, allocations: 0.7995 MB / 0.5908 GB, free: 47.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/1.695, allocations: 123.9 kB / 0.5909 GB, free: 47.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007268/1.696, allocations: 0.557 MB / 0.5914 GB, free: 46.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005993/1.702, allocations: 2.209 MB / 0.5936 GB, free: 46.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008779/1.711, allocations: 5.7 MB / 0.5992 GB, free: 40.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009883/1.72, allocations: 3.546 MB / 0.6026 GB, free: 39.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001801/1.721, allocations: 33.38 kB / 0.6026 GB, free: 39.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.03071/1.751, allocations: 9.077 MB / 0.6115 GB, free: 36.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/1.752, allocations: 59.91 kB / 0.6116 GB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.752, allocations: 123.3 kB / 0.6117 GB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.762, allocations: 1.977 MB / 0.6136 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008221/1.771, allocations: 1.289 MB / 0.6149 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03271/1.803, allocations: 14.96 MB / 0.6295 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007852/1.811, allocations: 348.6 kB / 0.6298 GB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.813, allocations: 363.2 kB / 0.6302 GB, free: 26.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (694): * Single equations (assignments): 688 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.002824/1.816, allocations: 0.5598 MB / 0.6307 GB, free: 26.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.817, allocations: 383 kB / 0.6311 GB, free: 26.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/1.832, allocations: 4.147 MB / 0.6351 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-05/1.832, allocations: 28 kB / 0.6352 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.833, allocations: 11.44 kB / 0.6352 GB, free: 22.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/1.833, allocations: 11.69 kB / 0.6352 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/1.866, allocations: 9.963 MB / 0.6449 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.845e-05/1.866, allocations: 0 / 0.6449 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/1.869, allocations: 305 kB / 0.6452 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006377/1.875, allocations: 1.217 MB / 0.6464 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006173/1.876, allocations: 40.16 kB / 0.6464 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.893, allocations: 7.547 MB / 0.6538 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.893, allocations: 0 / 0.6538 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/1.912, allocations: 7.162 MB / 0.6608 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/1.916, allocations: 0.7707 MB / 0.6615 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/1.917, allocations: 36.81 kB / 0.6616 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003912/1.921, allocations: 124.4 kB / 0.6617 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008774/1.922, allocations: 123.5 kB / 0.6618 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000389/1.923, allocations: 52.94 kB / 0.6619 GB, free: 15.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007988/1.931, allocations: 2.596 MB / 0.6644 GB, free: 13.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.096e-06/1.931, allocations: 0 / 0.6644 GB, free: 13.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009138/1.94, allocations: 1.138 MB / 0.6655 GB, free: 12.31 MB / 426.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 (157): * Single equations (assignments): 153 * 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.02308/1.963, allocations: 8.093 MB / 0.6734 GB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2986/2.262, allocations: 5.721 MB / 0.679 GB, free: 96.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.262, allocations: 0 / 0.679 GB, free: 96.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007026/2.269, allocations: 2.049 MB / 0.681 GB, free: 96.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/2.274, allocations: 0.5245 MB / 0.6815 GB, free: 96.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/2.312, allocations: 10.05 MB / 0.6913 GB, free: 94.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009196/2.322, allocations: 3.622 MB / 0.6949 GB, free: 93.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009312/2.331, allocations: 1.923 MB / 0.6967 GB, free: 93.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005439/2.336, allocations: 2.082 MB / 0.6988 GB, free: 93.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.695e-06/2.336, allocations: 0 / 0.6988 GB, free: 93.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.204/2.541, allocations: 90.47 MB / 0.7871 GB, free: 47.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/2.541, allocations: 207.6 kB / 0.7873 GB, free: 46.81 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.675/8.216, allocations: 0 / 0.7873 GB, free: 46.81 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat