Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.626/1.626, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.034e-05, allocations: 4 kB / 225.1 MB, free: 2.125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.3955, allocations: 80.93 MB / 344.8 MB, free: 8.746 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.3959, allocations: 83.95 kB / 344.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5392/0.935, allocations: 82.47 MB / 427.3 MB, free: 46.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.9351, allocations: 0 / 427.3 MB, free: 46.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.9353, allocations: 68 kB / 427.4 MB, free: 46.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: 1298 * Number of variables: 1298 Notification: Performance of Generate backend data structure: time 0.01987/0.9552, allocations: 3.972 MB / 431.4 MB, free: 42.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.023e-05/0.9553, allocations: 8.031 kB / 431.4 MB, free: 42.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003847/0.9592, allocations: 0.6594 MB / 432 MB, free: 41.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05443/1.014, allocations: 6.621 MB / 438.7 MB, free: 34.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/1.034, allocations: 5.812 MB / 444.5 MB, free: 28.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/1.034, allocations: 271 kB / 444.7 MB, free: 28.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/1.036, allocations: 359.7 kB / 445.1 MB, free: 28.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/1.057, allocations: 9.031 MB / 454.1 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/1.058, allocations: 59.52 kB / 454.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/1.059, allocations: 171.9 kB / 454.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00168/1.06, allocations: 0.8884 MB / 455.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02932/1.09, allocations: 7.476 MB / 462.7 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3052/1.395, allocations: 42.18 MB / 0.4931 GB, free: 72.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/1.408, allocations: 3.731 MB / 0.4967 GB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/1.412, allocations: 1.936 MB / 0.4986 GB, free: 72.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/1.412, allocations: 329.1 kB / 0.4989 GB, free: 71.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/1.412, allocations: 57.19 kB / 0.499 GB, free: 71.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 4.829e-06/1.412, allocations: 0 / 0.499 GB, free: 71.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=189): time 0.07298/1.485, allocations: 17.2 MB / 0.5157 GB, free: 69.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/1.485, allocations: 250.2 kB / 0.516 GB, free: 69.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006534/1.492, allocations: 3.424 MB / 0.5193 GB, free: 68.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004691/1.492, allocations: 54.11 kB / 0.5194 GB, free: 68.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.495, allocations: 2.829 MB / 0.5221 GB, free: 67.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009924/1.496, allocations: 0.7158 MB / 0.5228 GB, free: 66.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/1.496, allocations: 112.4 kB / 0.523 GB, free: 66.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003107/1.496, allocations: 0.5317 MB / 0.5235 GB, free: 66.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/1.501, allocations: 2.04 MB / 0.5255 GB, free: 66.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006072/1.507, allocations: 5.256 MB / 0.5306 GB, free: 61.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006755/1.514, allocations: 3.264 MB / 0.5338 GB, free: 60.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.057e-05/1.514, allocations: 30.56 kB / 0.5338 GB, free: 60.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.02172/1.535, allocations: 8.313 MB / 0.5419 GB, free: 58.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/1.536, allocations: 55.84 kB / 0.542 GB, free: 58.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.536, allocations: 116.8 kB / 0.5421 GB, free: 58.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006194/1.542, allocations: 1.379 MB / 0.5434 GB, free: 58.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007093/1.549, allocations: 1.227 MB / 0.5446 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/1.566, allocations: 8.397 MB / 0.5528 GB, free: 49.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.572, allocations: 317.4 kB / 0.5531 GB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007653/1.573, allocations: 327.7 kB / 0.5535 GB, free: 49.18 MB / 346.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.001066/1.574, allocations: 0.5182 MB / 0.554 GB, free: 48.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007511/1.574, allocations: 355.5 kB / 0.5543 GB, free: 48.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.586, allocations: 3.889 MB / 0.5581 GB, free: 45.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/1.586, allocations: 24 kB / 0.5581 GB, free: 45.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.586, allocations: 4 kB / 0.5581 GB, free: 45.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.586, allocations: 10.66 kB / 0.5581 GB, free: 45.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/1.61, allocations: 8.877 MB / 0.5668 GB, free: 38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/1.61, allocations: 0 / 0.5668 GB, free: 38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/1.612, allocations: 266.1 kB / 0.5671 GB, free: 37.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006005/1.618, allocations: 1.21 MB / 0.5682 GB, free: 36.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003851/1.619, allocations: 35.89 kB / 0.5683 GB, free: 36.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/1.634, allocations: 7.549 MB / 0.5756 GB, free: 30.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.634, allocations: 3.938 kB / 0.5757 GB, free: 30.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/1.65, allocations: 6.767 MB / 0.5823 GB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.653, allocations: 0.676 MB / 0.5829 GB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008564/1.654, allocations: 28 kB / 0.5829 GB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.656, allocations: 115.8 kB / 0.5831 GB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/1.657, allocations: 109.2 kB / 0.5832 GB, free: 23.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.657, allocations: 48 kB / 0.5832 GB, free: 23.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005175/1.662, allocations: 2.42 MB / 0.5856 GB, free: 20.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.662, allocations: 0 / 0.5856 GB, free: 20.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006142/1.669, allocations: 0.9965 MB / 0.5865 GB, free: 19.99 MB / 346.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.01672/1.685, allocations: 7.701 MB / 0.5941 GB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.697, allocations: 5.106 MB / 0.599 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.697, allocations: 4 kB / 0.5991 GB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.702, allocations: 1.952 MB / 0.601 GB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.705, allocations: 450.6 kB / 0.6014 GB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/1.732, allocations: 8.802 MB / 0.61 GB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006242/1.738, allocations: 3.172 MB / 0.6131 GB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008279/1.747, allocations: 1.819 MB / 0.6149 GB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004442/1.751, allocations: 1.757 MB / 0.6166 GB, free: 5.172 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/1.751, allocations: 0 / 0.6166 GB, free: 5.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5304/2.282, allocations: 79.04 MB / 0.6938 GB, free: 66.47 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/2.282, allocations: 198.2 kB / 0.694 GB, free: 66.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.032/7.314, allocations: 0 / 0.694 GB, free: 66.24 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat