Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.354e-05, allocations: 4 kB / 292.8 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5601, allocations: 93.89 MB / 437 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5605, allocations: 89.25 kB / 437.1 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4052/0.9657, allocations: 84.11 MB / 0.509 GB, free: 120 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.9658, allocations: 4 kB / 0.509 GB, free: 116 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003161/0.9661, allocations: 68 kB / 0.5091 GB, free: 48 kB / 426.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.01665/0.9828, allocations: 3.96 MB / 0.513 GB, free: 12.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.9829, allocations: 8.031 kB / 0.513 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003031/0.9859, allocations: 0.6595 MB / 0.5136 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05012/1.036, allocations: 6.617 MB / 0.5201 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3267/1.363, allocations: 5.516 MB / 0.5255 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/1.363, allocations: 270.8 kB / 0.5257 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/1.366, allocations: 368.2 kB / 0.5261 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/1.393, allocations: 9.003 MB / 0.5349 GB, free: 99.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/1.393, allocations: 56.02 kB / 0.5349 GB, free: 99.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/1.394, allocations: 179.7 kB / 0.5351 GB, free: 99.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/1.396, allocations: 0.8841 MB / 0.5359 GB, free: 99.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/1.42, allocations: 7.334 MB / 0.5431 GB, free: 99.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05767/1.478, allocations: 42.23 MB / 0.5844 GB, free: 71.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.491, allocations: 3.71 MB / 0.588 GB, free: 69.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/1.495, allocations: 1.942 MB / 0.5899 GB, free: 69.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/1.495, allocations: 335.2 kB / 0.5902 GB, free: 68.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.495, allocations: 53.84 kB / 0.5902 GB, free: 68.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=160): time 5.039e-06/1.495, allocations: 0 / 0.5902 GB, free: 68.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=189): time 0.07539/1.571, allocations: 17.1 MB / 0.6069 GB, free: 63.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.571, allocations: 252.9 kB / 0.6072 GB, free: 62.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006779/1.578, allocations: 3.417 MB / 0.6105 GB, free: 61.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005196/1.578, allocations: 53.17 kB / 0.6106 GB, free: 61.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.58, allocations: 2.836 MB / 0.6133 GB, free: 59.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.581, allocations: 0.715 MB / 0.614 GB, free: 59.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006603/1.582, allocations: 114.3 kB / 0.6141 GB, free: 58.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003608/1.583, allocations: 0.5312 MB / 0.6147 GB, free: 58.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.588, allocations: 2.042 MB / 0.6167 GB, free: 57.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007171/1.595, allocations: 5.247 MB / 0.6218 GB, free: 52.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007067/1.602, allocations: 3.262 MB / 0.625 GB, free: 50.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.602, allocations: 36 kB / 0.625 GB, free: 50.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02249/1.625, allocations: 8.032 MB / 0.6329 GB, free: 43.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/1.625, allocations: 55.94 kB / 0.6329 GB, free: 43.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.625, allocations: 116 kB / 0.633 GB, free: 43.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006403/1.631, allocations: 1.374 MB / 0.6344 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007618/1.639, allocations: 1.228 MB / 0.6356 GB, free: 40.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/1.656, allocations: 8.4 MB / 0.6438 GB, free: 33.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006474/1.663, allocations: 315.7 kB / 0.6441 GB, free: 33.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.664, allocations: 338.7 kB / 0.6444 GB, free: 33.03 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.001199/1.665, allocations: 0.5212 MB / 0.6449 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000937/1.666, allocations: 351.1 kB / 0.6452 GB, free: 32.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.678, allocations: 3.894 MB / 0.649 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/1.678, allocations: 24 kB / 0.6491 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.678, allocations: 4 kB / 0.6491 GB, free: 29.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.75e-05/1.678, allocations: 12.25 kB / 0.6491 GB, free: 29.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.703, allocations: 8.872 MB / 0.6577 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/1.703, allocations: 0 / 0.6577 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.705, allocations: 259.4 kB / 0.658 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006108/1.711, allocations: 1.212 MB / 0.6592 GB, free: 20.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003699/1.712, allocations: 32 kB / 0.6592 GB, free: 20.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/1.728, allocations: 7.554 MB / 0.6666 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/1.728, allocations: 11.95 kB / 0.6666 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/1.745, allocations: 6.759 MB / 0.6732 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.746, allocations: 404.4 kB / 0.6736 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009671/1.747, allocations: 32.94 kB / 0.6736 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.75, allocations: 111.8 kB / 0.6737 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/1.751, allocations: 121 kB / 0.6738 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.751, allocations: 48.94 kB / 0.6739 GB, free: 6.598 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005202/1.756, allocations: 2.409 MB / 0.6762 GB, free: 4.168 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.756, allocations: 0 / 0.6762 GB, free: 4.168 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006481/1.763, allocations: 0.999 MB / 0.6772 GB, free: 3.176 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.01888/1.782, allocations: 7.708 MB / 0.6847 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01296/1.795, allocations: 4.939 MB / 0.6895 GB, free: 6.496 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.795, allocations: 4 kB / 0.6896 GB, free: 6.492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005864/1.801, allocations: 1.93 MB / 0.6914 GB, free: 4.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/1.805, allocations: 446.8 kB / 0.6919 GB, free: 4.133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4171/2.222, allocations: 8.791 MB / 0.7004 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008678/2.23, allocations: 3.167 MB / 0.7035 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0101/2.241, allocations: 1.826 MB / 0.7053 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004805/2.245, allocations: 1.767 MB / 0.707 GB, free: 106 MB / 458.7 MB Notification: Performance of SimCode: time 1.874e-06/2.246, allocations: 0 / 0.707 GB, free: 106 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1845/2.43, allocations: 78.61 MB / 0.7838 GB, free: 74.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/2.43, allocations: 189.4 kB / 0.784 GB, free: 74.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.453/7.883, allocations: 0.875 kB / 0.784 GB, free: 74.75 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat