Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.189e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2483, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.3989, allocations: 86.19 MB / 350.1 MB, free: 3.371 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.3992, allocations: 87.95 kB / 350.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5753/0.9745, allocations: 94.21 MB / 444.4 MB, free: 29.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9746, allocations: 0 / 444.4 MB, free: 29.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002723/0.9748, allocations: 88 kB / 444.5 MB, free: 29.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.01642/0.9913, allocations: 4.499 MB / 449 MB, free: 24.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.9913, allocations: 8.031 kB / 449 MB, free: 24.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002535/0.9939, allocations: 0.783 MB / 449.8 MB, free: 23.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04746/1.041, allocations: 6.725 MB / 456.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/1.062, allocations: 6.161 MB / 462.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/1.062, allocations: 332.5 kB / 463 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/1.064, allocations: 443.8 kB / 463.4 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/1.09, allocations: 10.36 MB / 473.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/1.091, allocations: 63.38 kB / 473.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/1.092, allocations: 223.8 kB / 474 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/1.094, allocations: 1.007 MB / 475 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02761/1.122, allocations: 8.377 MB / 483.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3189/1.441, allocations: 46.03 MB / 0.517 GB, free: 39.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/1.455, allocations: 3.941 MB / 0.5209 GB, free: 38.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003686/1.459, allocations: 2.021 MB / 0.5229 GB, free: 38.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008543/1.46, allocations: 0.6484 MB / 0.5235 GB, free: 38.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/1.46, allocations: 56.81 kB / 0.5236 GB, free: 38.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 5.11e-06/1.46, allocations: 0 / 0.5236 GB, free: 38.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.08441/1.544, allocations: 18.83 MB / 0.5419 GB, free: 35.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/1.544, allocations: 256.6 kB / 0.5422 GB, free: 34.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007324/1.551, allocations: 3.691 MB / 0.5458 GB, free: 34.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005136/1.552, allocations: 55.58 kB / 0.5458 GB, free: 34.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/1.555, allocations: 3.241 MB / 0.549 GB, free: 32.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.556, allocations: 0.7979 MB / 0.5498 GB, free: 32.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/1.556, allocations: 117.1 kB / 0.5499 GB, free: 32.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003598/1.557, allocations: 0.5587 MB / 0.5504 GB, free: 32.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/1.561, allocations: 2.202 MB / 0.5526 GB, free: 31.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006768/1.568, allocations: 5.708 MB / 0.5582 GB, free: 25.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/1.576, allocations: 3.536 MB / 0.5616 GB, free: 24.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/1.576, allocations: 38.12 kB / 0.5617 GB, free: 24.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02627/1.602, allocations: 9.089 MB / 0.5705 GB, free: 21.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/1.602, allocations: 56 kB / 0.5706 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.603, allocations: 124 kB / 0.5707 GB, free: 21.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009652/1.612, allocations: 1.975 MB / 0.5726 GB, free: 20.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007434/1.62, allocations: 1.296 MB / 0.5739 GB, free: 19.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/1.649, allocations: 14.97 MB / 0.5885 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006888/1.656, allocations: 343.5 kB / 0.5889 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.657, allocations: 361.3 kB / 0.5892 GB, free: 5.094 MB / 346.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.001179/1.658, allocations: 0.5528 MB / 0.5897 GB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009158/1.659, allocations: 383 kB / 0.5901 GB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.671, allocations: 4.154 MB / 0.5942 GB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/1.672, allocations: 24.78 kB / 0.5942 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.672, allocations: 4 kB / 0.5942 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/1.672, allocations: 12.86 kB / 0.5942 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/1.702, allocations: 9.964 MB / 0.6039 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/1.702, allocations: 4 kB / 0.6039 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.705, allocations: 294.9 kB / 0.6042 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00665/1.711, allocations: 1.219 MB / 0.6054 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004226/1.712, allocations: 39.95 kB / 0.6054 GB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/1.731, allocations: 7.556 MB / 0.6128 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.731, allocations: 0 / 0.6128 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/1.752, allocations: 7.247 MB / 0.6199 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.756, allocations: 0.7186 MB / 0.6206 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009322/1.757, allocations: 36 kB / 0.6206 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.759, allocations: 115.8 kB / 0.6207 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/1.76, allocations: 140.8 kB / 0.6209 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.76, allocations: 55.12 kB / 0.6209 GB, free: 8.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006482/1.767, allocations: 2.599 MB / 0.6235 GB, free: 6.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.767, allocations: 3.844 kB / 0.6235 GB, free: 6.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00758/1.774, allocations: 1.131 MB / 0.6246 GB, free: 5.215 MB / 378.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.3431/2.118, allocations: 8.085 MB / 0.6325 GB, free: 91.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01962/2.137, allocations: 5.712 MB / 0.6381 GB, free: 91.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/2.137, allocations: 0 / 0.6381 GB, free: 91.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007895/2.145, allocations: 2.045 MB / 0.6401 GB, free: 91.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/2.151, allocations: 0.5259 MB / 0.6406 GB, free: 91.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04433/2.196, allocations: 10.04 MB / 0.6504 GB, free: 89.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/2.206, allocations: 3.621 MB / 0.6539 GB, free: 88.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01074/2.217, allocations: 1.924 MB / 0.6558 GB, free: 88.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004893/2.222, allocations: 2.079 MB / 0.6578 GB, free: 88.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/2.222, allocations: 0 / 0.6578 GB, free: 88.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1957/2.418, allocations: 90.47 MB / 0.7462 GB, free: 23.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/2.418, allocations: 207.2 kB / 0.7464 GB, free: 23.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.879/8.297, allocations: 0 / 0.7464 GB, free: 23.76 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat