Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.951e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09509, allocations: 44.5 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5379, allocations: 91.95 MB / 391.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5382, allocations: 93.33 kB / 392 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3807/0.9189, allocations: 94.27 MB / 486.2 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.919, allocations: 0 / 486.2 MB, free: 14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003572/0.9193, allocations: 92 kB / 486.3 MB, free: 13.91 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.02004/0.9394, allocations: 4.496 MB / 490.8 MB, free: 9.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.9395, allocations: 12.02 kB / 490.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003971/0.9435, allocations: 0.7853 MB / 491.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05059/0.9941, allocations: 6.737 MB / 498.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02386/1.018, allocations: 6.157 MB / 0.4927 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004928/1.019, allocations: 327.6 kB / 0.493 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/1.021, allocations: 440.2 kB / 0.4934 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03794/1.059, allocations: 10.42 MB / 0.5036 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004928/1.06, allocations: 55.53 kB / 0.5037 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003075/1.063, allocations: 213.2 kB / 0.5039 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0039/1.067, allocations: 1.015 MB / 0.5048 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04049/1.107, allocations: 8.545 MB / 0.5132 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3634/1.471, allocations: 46.06 MB / 0.5582 GB, free: 53.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.485, allocations: 3.964 MB / 0.562 GB, free: 53.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003875/1.489, allocations: 2.01 MB / 0.564 GB, free: 53.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009425/1.49, allocations: 0.6599 MB / 0.5647 GB, free: 52.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.49, allocations: 54.72 kB / 0.5647 GB, free: 52.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.36e-06/1.49, allocations: 0 / 0.5647 GB, free: 52.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.08709/1.577, allocations: 18.84 MB / 0.5831 GB, free: 49.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.577, allocations: 254 kB / 0.5833 GB, free: 49.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008536/1.586, allocations: 3.688 MB / 0.5869 GB, free: 48.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005383/1.586, allocations: 55.11 kB / 0.587 GB, free: 48.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/1.589, allocations: 3.136 MB / 0.5901 GB, free: 47.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.591, allocations: 0.7944 MB / 0.5908 GB, free: 46.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007479/1.591, allocations: 121.4 kB / 0.591 GB, free: 46.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003843/1.592, allocations: 0.5656 MB / 0.5915 GB, free: 46.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005457/1.597, allocations: 2.205 MB / 0.5937 GB, free: 45.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008084/1.605, allocations: 5.739 MB / 0.5993 GB, free: 40.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007972/1.613, allocations: 3.543 MB / 0.6027 GB, free: 39.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.614, allocations: 34.41 kB / 0.6028 GB, free: 39.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02812/1.642, allocations: 9.273 MB / 0.6118 GB, free: 36.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.642, allocations: 58.38 kB / 0.6119 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.642, allocations: 125.9 kB / 0.612 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.652, allocations: 1.976 MB / 0.6139 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007984/1.66, allocations: 1.293 MB / 0.6152 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02991/1.69, allocations: 14.96 MB / 0.6298 GB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007165/1.697, allocations: 354 kB / 0.6301 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.699, allocations: 361.6 kB / 0.6305 GB, free: 26.86 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.002136/1.701, allocations: 0.5511 MB / 0.631 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.702, allocations: 387 kB / 0.6314 GB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.716, allocations: 4.154 MB / 0.6354 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.509e-05/1.716, allocations: 24 kB / 0.6355 GB, free: 22.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/1.716, allocations: 8 kB / 0.6355 GB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/1.716, allocations: 18.2 kB / 0.6355 GB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/1.745, allocations: 9.959 MB / 0.6452 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.745, allocations: 0 / 0.6452 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.748, allocations: 303.5 kB / 0.6455 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006908/1.755, allocations: 1.214 MB / 0.6467 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/1.755, allocations: 42.86 kB / 0.6467 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.772, allocations: 7.543 MB / 0.6541 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.772, allocations: 0 / 0.6541 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.79, allocations: 7.164 MB / 0.6611 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/1.793, allocations: 0.7253 MB / 0.6618 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.795, allocations: 33.17 kB / 0.6618 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.798, allocations: 123.6 kB / 0.6619 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007754/1.799, allocations: 124.5 kB / 0.6621 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.799, allocations: 55.86 kB / 0.6621 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007828/1.807, allocations: 2.599 MB / 0.6647 GB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.753e-06/1.807, allocations: 0 / 0.6647 GB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01018/1.817, allocations: 1.14 MB / 0.6658 GB, free: 12.07 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.02328/1.841, allocations: 8.094 MB / 0.6737 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3156/2.156, allocations: 5.931 MB / 0.6795 GB, free: 95.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/2.157, allocations: 0 / 0.6795 GB, free: 95.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006654/2.163, allocations: 2.069 MB / 0.6815 GB, free: 95.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/2.168, allocations: 0.533 MB / 0.682 GB, free: 95.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03678/2.205, allocations: 10.58 MB / 0.6923 GB, free: 94.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007927/2.213, allocations: 3.618 MB / 0.6959 GB, free: 93.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004952/2.218, allocations: 2.119 MB / 0.6979 GB, free: 93.28 MB / 426.7 MB Notification: Performance of SimCode: time 2.644e-06/2.218, allocations: 2.078 kB / 0.6979 GB, free: 93.28 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.632/6.85, allocations: 126.8 MB / 0.8218 GB, free: 13.41 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat