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 2.106/2.106, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.933e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3193, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.4884, allocations: 91.29 MB / 385.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.4888, allocations: 91.94 kB / 385.6 MB, free: 6.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6588/1.148, allocations: 92.47 MB / 478.1 MB, free: 70.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.148, allocations: 0 / 478.1 MB, free: 70.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000337/1.148, allocations: 88 kB / 478.1 MB, free: 70.85 MB / 362.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.0178/1.166, allocations: 4.499 MB / 482.6 MB, free: 66.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.166, allocations: 16.02 kB / 482.7 MB, free: 66.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04743/1.213, allocations: 6.726 MB / 489.4 MB, free: 59.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02069/1.234, allocations: 6.146 MB / 495.5 MB, free: 53.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/1.234, allocations: 144 kB / 495.7 MB, free: 53.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/1.237, allocations: 263.9 kB / 495.9 MB, free: 52.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01451/1.251, allocations: 6.201 MB / 0.4904 GB, free: 46.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/1.273, allocations: 9.433 MB / 0.4996 GB, free: 36.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/1.274, allocations: 71.36 kB / 0.4996 GB, free: 36.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/1.275, allocations: 28 kB / 0.4997 GB, free: 36.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/1.277, allocations: 1.011 MB / 0.5006 GB, free: 35.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06694/1.344, allocations: 44.08 MB / 0.5437 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006753/1.351, allocations: 3.19 MB / 0.5468 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/1.355, allocations: 1.973 MB / 0.5487 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.356, allocations: 0.6504 MB / 0.5494 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/1.356, allocations: 51.81 kB / 0.5494 GB, free: 8 kB / 378.7 MB Notification: Performance of pre-optimization done (n=175): time 5.41e-06/1.356, allocations: 0 / 0.5494 GB, free: 8 kB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.3493/1.705, allocations: 18.36 MB / 0.5674 GB, free: 97.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.706, allocations: 252.3 kB / 0.5676 GB, free: 96.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008785/1.714, allocations: 3.241 MB / 0.5708 GB, free: 96.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005638/1.715, allocations: 26.61 kB / 0.5708 GB, free: 96.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00322/1.718, allocations: 3.229 MB / 0.5739 GB, free: 95.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.72, allocations: 0.772 MB / 0.5747 GB, free: 95.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008166/1.721, allocations: 0 / 0.5747 GB, free: 95.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004943/1.721, allocations: 0.5772 MB / 0.5753 GB, free: 94.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.726, allocations: 2.131 MB / 0.5773 GB, free: 94.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008314/1.735, allocations: 5.789 MB / 0.583 GB, free: 89.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008044/1.743, allocations: 3.499 MB / 0.5864 GB, free: 89.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/1.743, allocations: 40.47 kB / 0.5865 GB, free: 89.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02714/1.77, allocations: 8.638 MB / 0.5949 GB, free: 88.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.77, allocations: 65.98 kB / 0.5949 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/1.771, allocations: 127.8 kB / 0.5951 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/1.782, allocations: 1.958 MB / 0.597 GB, free: 88.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/1.793, allocations: 1.341 MB / 0.5983 GB, free: 88.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04007/1.833, allocations: 14.11 MB / 0.6121 GB, free: 80.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.843, allocations: 228.5 kB / 0.6123 GB, free: 80.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.845, allocations: 386.9 kB / 0.6127 GB, free: 80.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (721): * Single equations (assignments): 715 * 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 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003292/1.849, allocations: 440.3 kB / 0.6131 GB, free: 80.19 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01571/1.865, allocations: 4.249 MB / 0.6172 GB, free: 78.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.866, allocations: 362.3 kB / 0.6176 GB, free: 78.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.879, allocations: 3.983 MB / 0.6215 GB, free: 77.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-05/1.879, allocations: 28.28 kB / 0.6215 GB, free: 77.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.879, allocations: 3.969 kB / 0.6215 GB, free: 77.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-05/1.879, allocations: 14.27 kB / 0.6215 GB, free: 77.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.904, allocations: 8.997 MB / 0.6303 GB, free: 71.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/1.904, allocations: 0 / 0.6303 GB, free: 71.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.907, allocations: 298.6 kB / 0.6306 GB, free: 70.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005943/1.913, allocations: 1.208 MB / 0.6318 GB, free: 70 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004348/1.913, allocations: 11.52 kB / 0.6318 GB, free: 69.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/1.928, allocations: 7.023 MB / 0.6386 GB, free: 63.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.928, allocations: 0 / 0.6386 GB, free: 63.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.945, allocations: 6.984 MB / 0.6455 GB, free: 57.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/1.948, allocations: 0.6851 MB / 0.6461 GB, free: 57.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008581/1.948, allocations: 15.89 kB / 0.6461 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/1.951, allocations: 89.53 kB / 0.6462 GB, free: 57.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005079/1.952, allocations: 118.5 kB / 0.6463 GB, free: 57.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.952, allocations: 55.09 kB / 0.6464 GB, free: 56.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00426/1.956, allocations: 2.2 MB / 0.6485 GB, free: 55.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.956, allocations: 0 / 0.6485 GB, free: 55.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007298/1.963, allocations: 0.978 MB / 0.6495 GB, free: 54.09 MB / 394.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.01644/1.98, allocations: 7.895 MB / 0.6572 GB, free: 47.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01298/1.993, allocations: 5.756 MB / 0.6628 GB, free: 41.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.993, allocations: 0 / 0.6628 GB, free: 41.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004783/1.998, allocations: 2.018 MB / 0.6648 GB, free: 40.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/2.002, allocations: 452.7 kB / 0.6652 GB, free: 39.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/2.033, allocations: 10.32 MB / 0.6753 GB, free: 29.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005515/2.039, allocations: 3.61 MB / 0.6788 GB, free: 26.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004081/2.043, allocations: 2.119 MB / 0.6809 GB, free: 24.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/2.043, allocations: 0 / 0.6809 GB, free: 24.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.782/6.825, allocations: 124.5 MB / 0.8025 GB, free: 42.43 MB / 410.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