Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.249e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09132, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5183, allocations: 91.95 MB / 391.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5186, allocations: 91.16 kB / 392 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.388/0.9066, allocations: 94.27 MB / 486.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.9067, allocations: 0 / 486.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003569/0.907, allocations: 95.05 kB / 486.4 MB, free: 13.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.01955/0.9266, allocations: 4.492 MB / 490.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.9267, allocations: 8.031 kB / 490.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003581/0.9303, allocations: 0.7839 MB / 491.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05127/0.9816, allocations: 6.733 MB / 498.4 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0239/1.006, allocations: 6.156 MB / 0.4927 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/1.006, allocations: 333.5 kB / 0.493 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/1.008, allocations: 443.2 kB / 0.4935 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03231/1.041, allocations: 10.42 MB / 0.5036 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002985/1.041, allocations: 59.47 kB / 0.5037 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/1.043, allocations: 211.2 kB / 0.5039 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/1.045, allocations: 1.017 MB / 0.5049 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02756/1.073, allocations: 8.549 MB / 0.5132 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3561/1.429, allocations: 46.04 MB / 0.5582 GB, free: 54.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/1.443, allocations: 3.973 MB / 0.5621 GB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/1.447, allocations: 2.015 MB / 0.564 GB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000888/1.448, allocations: 0.6535 MB / 0.5647 GB, free: 52.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/1.448, allocations: 53.09 kB / 0.5647 GB, free: 52.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 6.221e-06/1.448, allocations: 0 / 0.5647 GB, free: 52.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.08563/1.534, allocations: 18.84 MB / 0.5831 GB, free: 49.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.534, allocations: 258.3 kB / 0.5834 GB, free: 49.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007672/1.541, allocations: 3.692 MB / 0.587 GB, free: 49.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005613/1.542, allocations: 56.89 kB / 0.587 GB, free: 49.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/1.545, allocations: 3.242 MB / 0.5902 GB, free: 47.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.546, allocations: 0.7972 MB / 0.591 GB, free: 47.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/1.547, allocations: 119.1 kB / 0.5911 GB, free: 47.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003589/1.547, allocations: 0.5596 MB / 0.5916 GB, free: 46.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005149/1.552, allocations: 2.209 MB / 0.5938 GB, free: 45.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007785/1.56, allocations: 5.736 MB / 0.5994 GB, free: 40.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007844/1.568, allocations: 3.542 MB / 0.6029 GB, free: 39.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.568, allocations: 38.22 kB / 0.6029 GB, free: 39.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02945/1.597, allocations: 9.419 MB / 0.6121 GB, free: 36.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/1.598, allocations: 56.41 kB / 0.6121 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/1.598, allocations: 130 kB / 0.6123 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.608, allocations: 1.986 MB / 0.6142 GB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008323/1.616, allocations: 1.295 MB / 0.6155 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03088/1.647, allocations: 14.97 MB / 0.6301 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007707/1.655, allocations: 345.5 kB / 0.6304 GB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.657, allocations: 362.8 kB / 0.6308 GB, free: 26.41 MB / 410.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.0017/1.659, allocations: 0.5523 MB / 0.6313 GB, free: 25.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.66, allocations: 383 kB / 0.6317 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.673, allocations: 4.157 MB / 0.6357 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-05/1.673, allocations: 24.62 kB / 0.6358 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/1.673, allocations: 11.95 kB / 0.6358 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/1.673, allocations: 14.83 kB / 0.6358 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03029/1.703, allocations: 9.964 MB / 0.6455 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/1.704, allocations: 0 / 0.6455 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/1.706, allocations: 294 kB / 0.6458 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006361/1.713, allocations: 1.221 MB / 0.647 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006204/1.714, allocations: 41.73 kB / 0.647 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/1.73, allocations: 7.54 MB / 0.6544 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.73, allocations: 1.25 kB / 0.6544 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.749, allocations: 7.164 MB / 0.6614 GB, free: 0 / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/1.753, allocations: 0.7317 MB / 0.6621 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/1.755, allocations: 36 kB / 0.6621 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/1.758, allocations: 122.9 kB / 0.6622 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008773/1.759, allocations: 121.7 kB / 0.6624 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002673/1.76, allocations: 52 kB / 0.6624 GB, free: 15.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008043/1.768, allocations: 2.601 MB / 0.665 GB, free: 12.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.768, allocations: 0 / 0.665 GB, free: 12.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009001/1.777, allocations: 1.136 MB / 0.6661 GB, free: 11.63 MB / 426.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.02384/1.801, allocations: 8.093 MB / 0.674 GB, free: 4.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3039/2.105, allocations: 5.918 MB / 0.6797 GB, free: 96.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/2.105, allocations: 0 / 0.6797 GB, free: 96.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00657/2.111, allocations: 2.077 MB / 0.6818 GB, free: 96.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/2.116, allocations: 0.5202 MB / 0.6823 GB, free: 96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/2.154, allocations: 10.07 MB / 0.6921 GB, free: 94.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008691/2.163, allocations: 3.616 MB / 0.6956 GB, free: 93.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009236/2.172, allocations: 1.93 MB / 0.6975 GB, free: 93.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005816/2.178, allocations: 2.077 MB / 0.6996 GB, free: 93.45 MB / 426.7 MB Notification: Performance of SimCode: time 3.166e-06/2.178, allocations: 2.625 kB / 0.6996 GB, free: 93.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/2.399, allocations: 91.11 MB / 0.7885 GB, free: 45.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/2.399, allocations: 205 kB / 0.7887 GB, free: 45.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.035/8.435, allocations: 0 / 0.7887 GB, free: 45.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat