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.622/1.622, allocations: 171.3 MB / 178.4 MB, free: 156 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.99e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2609, allocations: 38.77 MB / 258.4 MB, free: 12.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.415, allocations: 80.26 MB / 338.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/0.4154, allocations: 87.94 kB / 338.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5291/0.9445, allocations: 81 MB / 419.7 MB, free: 55.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.9446, allocations: 0 / 419.7 MB, free: 55.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000258/0.9448, allocations: 72 kB / 419.8 MB, free: 55.42 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.01563/0.9605, allocations: 3.951 MB / 423.7 MB, free: 51.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.9606, allocations: 12.03 kB / 423.7 MB, free: 51.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06317/1.024, allocations: 6.617 MB / 430.4 MB, free: 44.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02583/1.05, allocations: 5.812 MB / 436.2 MB, free: 38.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/1.05, allocations: 116 kB / 436.3 MB, free: 38.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001747/1.052, allocations: 219.9 kB / 436.5 MB, free: 38.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01666/1.068, allocations: 5.237 MB / 441.7 MB, free: 33.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/1.09, allocations: 8.178 MB / 449.9 MB, free: 24.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/1.09, allocations: 63.44 kB / 450 MB, free: 24.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006639/1.091, allocations: 27.98 kB / 450 MB, free: 24.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/1.093, allocations: 0.8877 MB / 450.9 MB, free: 23.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/1.149, allocations: 40.6 MB / 491.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/1.155, allocations: 3.048 MB / 494.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/1.159, allocations: 1.897 MB / 496.4 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/1.16, allocations: 323.8 kB / 496.7 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/1.16, allocations: 55.81 kB / 496.8 MB, free: 8.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 5.019e-06/1.16, allocations: 0 / 496.8 MB, free: 8.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=189): time 0.3127/1.473, allocations: 16.8 MB / 0.5016 GB, free: 83.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/1.473, allocations: 249.7 kB / 0.5018 GB, free: 83.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006239/1.479, allocations: 3.006 MB / 0.5047 GB, free: 83.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000473/1.48, allocations: 29.27 kB / 0.5048 GB, free: 83.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.482, allocations: 2.864 MB / 0.5076 GB, free: 81.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.483, allocations: 0.7045 MB / 0.5082 GB, free: 81.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005399/1.484, allocations: 0 / 0.5082 GB, free: 81.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003411/1.484, allocations: 0.5519 MB / 0.5088 GB, free: 80.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00418/1.488, allocations: 1.968 MB / 0.5107 GB, free: 80.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006373/1.495, allocations: 5.295 MB / 0.5159 GB, free: 76.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006856/1.502, allocations: 3.219 MB / 0.519 GB, free: 76.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.502, allocations: 31.44 kB / 0.519 GB, free: 76.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.02194/1.524, allocations: 7.713 MB / 0.5266 GB, free: 74.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-05/1.524, allocations: 56 kB / 0.5266 GB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.524, allocations: 118.4 kB / 0.5267 GB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006314/1.53, allocations: 1.38 MB / 0.5281 GB, free: 73.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0075/1.538, allocations: 1.264 MB / 0.5293 GB, free: 73.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.554, allocations: 7.852 MB / 0.537 GB, free: 70 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/1.56, allocations: 209.1 kB / 0.5372 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.562, allocations: 342.2 kB / 0.5375 GB, free: 69.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * 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 (674): * Single equations (assignments): 670 * 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%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001123/1.563, allocations: 399.3 kB / 0.5379 GB, free: 69.61 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01153/1.574, allocations: 4.035 MB / 0.5418 GB, free: 68.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.575, allocations: 335 kB / 0.5422 GB, free: 68.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.587, allocations: 3.754 MB / 0.5458 GB, free: 65.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-05/1.587, allocations: 20 kB / 0.5458 GB, free: 65.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/1.587, allocations: 8 kB / 0.5459 GB, free: 65.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.152e-05/1.587, allocations: 7.781 kB / 0.5459 GB, free: 65.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.609, allocations: 8.154 MB / 0.5538 GB, free: 58.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-05/1.609, allocations: 3.953 kB / 0.5538 GB, free: 58.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/1.612, allocations: 256.7 kB / 0.5541 GB, free: 58.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005855/1.618, allocations: 1.187 MB / 0.5552 GB, free: 57.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003921/1.618, allocations: 8 kB / 0.5552 GB, free: 57.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.632, allocations: 7.042 MB / 0.5621 GB, free: 51.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/1.632, allocations: 4 kB / 0.5621 GB, free: 51.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.647, allocations: 6.596 MB / 0.5686 GB, free: 46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.649, allocations: 0.6431 MB / 0.5692 GB, free: 45.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007254/1.65, allocations: 11.28 kB / 0.5692 GB, free: 45.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.653, allocations: 82.16 kB / 0.5693 GB, free: 45.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/1.653, allocations: 115.8 kB / 0.5694 GB, free: 45.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.654, allocations: 59.45 kB / 0.5694 GB, free: 45.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00363/1.657, allocations: 2.038 MB / 0.5714 GB, free: 43.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.657, allocations: 0 / 0.5714 GB, free: 43.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006263/1.663, allocations: 0.8563 MB / 0.5723 GB, free: 42.59 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.01495/1.678, allocations: 7.513 MB / 0.5796 GB, free: 35.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01103/1.69, allocations: 4.996 MB / 0.5845 GB, free: 31.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.69, allocations: 0 / 0.5845 GB, free: 31.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0046/1.694, allocations: 1.899 MB / 0.5863 GB, free: 29.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/1.698, allocations: 383.8 kB / 0.5867 GB, free: 29.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/1.724, allocations: 8.556 MB / 0.5951 GB, free: 21.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/1.729, allocations: 3.166 MB / 0.5982 GB, free: 17.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.008285/1.738, allocations: 1.859 MB / 0.6 GB, free: 16.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003889/1.742, allocations: 1.753 MB / 0.6017 GB, free: 14.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/1.742, allocations: 1.031 kB / 0.6017 GB, free: 14.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4566/2.198, allocations: 73.66 MB / 0.6736 GB, free: 72.32 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/2.199, allocations: 158 kB / 0.6738 GB, free: 72.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/6.922, allocations: 0 / 0.6738 GB, free: 72.13 MB / 362.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