Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.259e-05, allocations: 7.984 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 50.41 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6036, allocations: 93.88 MB / 436.5 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.604, allocations: 86.14 kB / 436.6 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3936/0.9977, allocations: 84.11 MB / 0.5085 GB, free: 60 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.9977, allocations: 0 / 0.5085 GB, free: 60 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003859/0.9981, allocations: 76.03 kB / 0.5086 GB, free: 15.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01757/1.016, allocations: 3.956 MB / 0.5125 GB, free: 11.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/1.016, allocations: 12.03 kB / 0.5125 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003278/1.019, allocations: 0.6634 MB / 0.5131 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04987/1.069, allocations: 6.617 MB / 0.5196 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3191/1.388, allocations: 5.513 MB / 0.525 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/1.389, allocations: 266 kB / 0.5252 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/1.391, allocations: 370.2 kB / 0.5256 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/1.419, allocations: 9.001 MB / 0.5344 GB, free: 99.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003116/1.419, allocations: 58.44 kB / 0.5344 GB, free: 99.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/1.421, allocations: 177.1 kB / 0.5346 GB, free: 99.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/1.423, allocations: 0.8897 MB / 0.5355 GB, free: 99.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/1.45, allocations: 7.33 MB / 0.5426 GB, free: 99.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07411/1.524, allocations: 42.23 MB / 0.5839 GB, free: 71.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/1.538, allocations: 3.716 MB / 0.5875 GB, free: 70.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/1.541, allocations: 1.939 MB / 0.5894 GB, free: 69.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/1.542, allocations: 334.2 kB / 0.5897 GB, free: 68.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/1.542, allocations: 54.06 kB / 0.5897 GB, free: 68.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=160): time 5.18e-06/1.542, allocations: 0 / 0.5897 GB, free: 68.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=189): time 0.08098/1.623, allocations: 17.1 MB / 0.6064 GB, free: 63.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.623, allocations: 254.9 kB / 0.6067 GB, free: 62.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00844/1.632, allocations: 3.414 MB / 0.61 GB, free: 61.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005624/1.632, allocations: 56.91 kB / 0.6101 GB, free: 61.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.635, allocations: 2.831 MB / 0.6128 GB, free: 59.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.636, allocations: 0.7203 MB / 0.6135 GB, free: 59.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007786/1.637, allocations: 108.8 kB / 0.6136 GB, free: 58.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004613/1.638, allocations: 0.5324 MB / 0.6142 GB, free: 58.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/1.643, allocations: 2.043 MB / 0.6162 GB, free: 57.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007662/1.651, allocations: 5.249 MB / 0.6213 GB, free: 52.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007544/1.658, allocations: 3.278 MB / 0.6245 GB, free: 50.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/1.659, allocations: 32 kB / 0.6245 GB, free: 50 MB / 442.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02476/1.683, allocations: 8.017 MB / 0.6323 GB, free: 43.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/1.683, allocations: 53.31 kB / 0.6324 GB, free: 43.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.684, allocations: 119 kB / 0.6325 GB, free: 43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00689/1.691, allocations: 1.376 MB / 0.6339 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007908/1.698, allocations: 1.227 MB / 0.6351 GB, free: 40.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.717, allocations: 8.395 MB / 0.6433 GB, free: 33.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.724, allocations: 321.1 kB / 0.6436 GB, free: 33.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.725, allocations: 328.2 kB / 0.6439 GB, free: 32.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (653): * Single equations (assignments): 649 * 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.002247/1.728, allocations: 0.5255 MB / 0.6444 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.729, allocations: 355 kB / 0.6447 GB, free: 32.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.742, allocations: 3.894 MB / 0.6485 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.158e-05/1.742, allocations: 20 kB / 0.6485 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.742, allocations: 8 kB / 0.6486 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.886e-05/1.742, allocations: 6.375 kB / 0.6486 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02686/1.769, allocations: 8.872 MB / 0.6572 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/1.769, allocations: 0 / 0.6572 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.771, allocations: 265.8 kB / 0.6575 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006447/1.778, allocations: 1.217 MB / 0.6587 GB, free: 20.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005049/1.778, allocations: 36.73 kB / 0.6587 GB, free: 20.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/1.795, allocations: 7.551 MB / 0.6661 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.795, allocations: 3.953 kB / 0.6661 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.814, allocations: 6.763 MB / 0.6727 GB, free: 7.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.816, allocations: 404.4 kB / 0.6731 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/1.817, allocations: 33.02 kB / 0.6731 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/1.821, allocations: 115.8 kB / 0.6732 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007746/1.822, allocations: 113 kB / 0.6733 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/1.822, allocations: 52.8 kB / 0.6734 GB, free: 6.457 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006184/1.828, allocations: 2.409 MB / 0.6757 GB, free: 4.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.828, allocations: 0 / 0.6757 GB, free: 4.027 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007292/1.836, allocations: 1.001 MB / 0.6767 GB, free: 3.035 MB / 442.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.02041/1.856, allocations: 7.71 MB / 0.6842 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.87, allocations: 4.938 MB / 0.689 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.87, allocations: 0 / 0.689 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006371/1.877, allocations: 1.926 MB / 0.6909 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00441/1.881, allocations: 448 kB / 0.6914 GB, free: 3.984 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3439/2.225, allocations: 8.789 MB / 0.6999 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008606/2.234, allocations: 3.164 MB / 0.703 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009922/2.244, allocations: 1.831 MB / 0.7048 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004749/2.248, allocations: 1.767 MB / 0.7065 GB, free: 106.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/2.248, allocations: 1.094 kB / 0.7065 GB, free: 106.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/2.432, allocations: 78.6 MB / 0.7833 GB, free: 74.95 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/2.432, allocations: 197.5 kB / 0.7835 GB, free: 74.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.278/7.71, allocations: 0 / 0.7835 GB, free: 74.71 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat