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 2.07/2.07, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.796e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.4877, allocations: 91.29 MB / 385.5 MB, free: 6.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.4881, allocations: 91.94 kB / 385.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6254/1.114, allocations: 92.48 MB / 478.1 MB, free: 70.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.114, allocations: 4 kB / 478.1 MB, free: 70.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003114/1.114, allocations: 88 kB / 478.2 MB, free: 70.62 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.01707/1.131, allocations: 4.487 MB / 482.7 MB, free: 66.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.131, allocations: 8.031 kB / 482.7 MB, free: 66.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04704/1.178, allocations: 6.73 MB / 489.4 MB, free: 59.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/1.199, allocations: 6.164 MB / 495.6 MB, free: 53.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/1.2, allocations: 144 kB / 495.7 MB, free: 53.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/1.202, allocations: 259.9 kB / 496 MB, free: 52.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01479/1.217, allocations: 6.198 MB / 0.4904 GB, free: 46.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/1.241, allocations: 9.434 MB / 0.4996 GB, free: 36.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003/1.241, allocations: 63.36 kB / 0.4997 GB, free: 36.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001682/1.243, allocations: 28 kB / 0.4997 GB, free: 36.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/1.245, allocations: 1.01 MB / 0.5007 GB, free: 35.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06656/1.312, allocations: 44.08 MB / 0.5437 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/1.319, allocations: 3.193 MB / 0.5468 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/1.323, allocations: 1.974 MB / 0.5488 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.324, allocations: 0.65 MB / 0.5494 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/1.324, allocations: 55.86 kB / 0.5495 GB, free: 15.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 6.402e-06/1.324, allocations: 4 kB / 0.5495 GB, free: 15.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.3557/1.68, allocations: 18.35 MB / 0.5674 GB, free: 96.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.68, allocations: 255.4 kB / 0.5676 GB, free: 95.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008854/1.689, allocations: 3.235 MB / 0.5708 GB, free: 95.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005539/1.69, allocations: 26.73 kB / 0.5708 GB, free: 95.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003212/1.693, allocations: 3.304 MB / 0.574 GB, free: 94.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.694, allocations: 0.7753 MB / 0.5748 GB, free: 93.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008414/1.695, allocations: 0.5312 kB / 0.5748 GB, free: 93.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004992/1.696, allocations: 0.5718 MB / 0.5754 GB, free: 93.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/1.701, allocations: 2.133 MB / 0.5774 GB, free: 93.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007685/1.709, allocations: 5.796 MB / 0.5831 GB, free: 88.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007588/1.716, allocations: 3.492 MB / 0.5865 GB, free: 88.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/1.717, allocations: 43.59 kB / 0.5865 GB, free: 88.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0269/1.744, allocations: 8.753 MB / 0.5951 GB, free: 87.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.744, allocations: 62.92 kB / 0.5952 GB, free: 87.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/1.744, allocations: 140.3 kB / 0.5953 GB, free: 87.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009483/1.753, allocations: 1.943 MB / 0.5972 GB, free: 87.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007978/1.761, allocations: 1.339 MB / 0.5985 GB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02826/1.79, allocations: 14.12 MB / 0.6123 GB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007175/1.797, allocations: 237 kB / 0.6125 GB, free: 79.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.799, allocations: 381.5 kB / 0.6129 GB, free: 79.38 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.001639/1.8, allocations: 434.8 kB / 0.6133 GB, free: 79.02 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01282/1.813, allocations: 4.256 MB / 0.6174 GB, free: 77.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.815, allocations: 358.8 kB / 0.6178 GB, free: 77.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.827, allocations: 3.988 MB / 0.6217 GB, free: 76.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/1.827, allocations: 34 kB / 0.6217 GB, free: 76.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/1.827, allocations: 7 kB / 0.6217 GB, free: 76.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.931e-05/1.827, allocations: 11.55 kB / 0.6217 GB, free: 76.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.853, allocations: 8.993 MB / 0.6305 GB, free: 69.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.853, allocations: 0 / 0.6305 GB, free: 69.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/1.856, allocations: 300.2 kB / 0.6308 GB, free: 69.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006111/1.862, allocations: 1.204 MB / 0.632 GB, free: 68.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004983/1.863, allocations: 12 kB / 0.632 GB, free: 68.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.878, allocations: 7.02 MB / 0.6388 GB, free: 62.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.878, allocations: 7.938 kB / 0.6388 GB, free: 62.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.894, allocations: 6.975 MB / 0.6457 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.897, allocations: 0.7006 MB / 0.6463 GB, free: 55.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.898, allocations: 0 / 0.6463 GB, free: 55.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003255/1.901, allocations: 91.89 kB / 0.6464 GB, free: 55.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006896/1.902, allocations: 130.1 kB / 0.6466 GB, free: 55.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.902, allocations: 56.66 kB / 0.6466 GB, free: 55.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005183/1.908, allocations: 2.188 MB / 0.6487 GB, free: 53.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.908, allocations: 0 / 0.6487 GB, free: 53.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007854/1.916, allocations: 0.9844 MB / 0.6497 GB, free: 52.58 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.0173/1.933, allocations: 7.894 MB / 0.6574 GB, free: 45.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01729/1.95, allocations: 5.757 MB / 0.663 GB, free: 40.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.95, allocations: 0 / 0.663 GB, free: 40.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006882/1.957, allocations: 2.018 MB / 0.665 GB, free: 38.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/1.962, allocations: 456.1 kB / 0.6654 GB, free: 38.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/1.994, allocations: 9.805 MB / 0.675 GB, free: 28.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007849/2.002, allocations: 3.608 MB / 0.6785 GB, free: 25.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009116/2.011, allocations: 1.968 MB / 0.6805 GB, free: 23.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005222/2.016, allocations: 2.069 MB / 0.6825 GB, free: 21.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/2.016, allocations: 0 / 0.6825 GB, free: 21.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5284/2.545, allocations: 84.92 MB / 0.7654 GB, free: 84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/2.545, allocations: 169.5 kB / 0.7656 GB, free: 83.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.027/8.572, allocations: 0 / 0.7656 GB, free: 83.81 MB / 410.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