Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.917e-05, allocations: 7.984 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5694, allocations: 98.71 MB / 441.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/0.5698, allocations: 91.31 kB / 441.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3997/0.9695, allocations: 93.67 MB / 0.5226 GB, free: 1.781 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9696, allocations: 0 / 0.5226 GB, free: 1.781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004789/0.9701, allocations: 91.98 kB / 0.5227 GB, free: 1.691 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.3383/1.308, allocations: 4.391 MB / 0.5269 GB, free: 96.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/1.308, allocations: 9.906 kB / 0.527 GB, free: 96.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004117/1.313, allocations: 0.7628 MB / 0.5277 GB, free: 96.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05211/1.365, allocations: 6.707 MB / 0.5343 GB, free: 95.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/1.388, allocations: 5.817 MB / 0.5399 GB, free: 95.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005586/1.389, allocations: 318.4 kB / 0.5402 GB, free: 95.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002736/1.392, allocations: 431.9 kB / 0.5406 GB, free: 95.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02952/1.421, allocations: 10.09 MB / 0.5505 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/1.422, allocations: 65.73 kB / 0.5506 GB, free: 93.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/1.423, allocations: 203.8 kB / 0.5508 GB, free: 93.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001983/1.425, allocations: 0.9754 MB / 0.5517 GB, free: 93.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02342/1.449, allocations: 8.109 MB / 0.5596 GB, free: 93.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06475/1.513, allocations: 45.14 MB / 0.6037 GB, free: 60.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.527, allocations: 3.841 MB / 0.6075 GB, free: 59.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/1.531, allocations: 1.971 MB / 0.6094 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008486/1.532, allocations: 0.6458 MB / 0.61 GB, free: 57.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.532, allocations: 58.06 kB / 0.6101 GB, free: 57.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 5.1e-06/1.532, allocations: 0 / 0.6101 GB, free: 57.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.08437/1.616, allocations: 18.44 MB / 0.6281 GB, free: 48.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/1.617, allocations: 252.6 kB / 0.6283 GB, free: 47.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007251/1.624, allocations: 3.629 MB / 0.6319 GB, free: 44.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005393/1.624, allocations: 53.64 kB / 0.6319 GB, free: 44.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.627, allocations: 3.168 MB / 0.635 GB, free: 41.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.628, allocations: 0.7754 MB / 0.6358 GB, free: 40.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005654/1.629, allocations: 116 kB / 0.6359 GB, free: 40.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003413/1.629, allocations: 0.5516 MB / 0.6364 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004902/1.634, allocations: 2.153 MB / 0.6385 GB, free: 38.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007022/1.641, allocations: 5.589 MB / 0.644 GB, free: 31.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/1.649, allocations: 3.46 MB / 0.6474 GB, free: 28.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-05/1.649, allocations: 39.94 kB / 0.6474 GB, free: 28.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02628/1.675, allocations: 8.905 MB / 0.6561 GB, free: 20.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/1.675, allocations: 63.8 kB / 0.6562 GB, free: 20.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.675, allocations: 124 kB / 0.6563 GB, free: 20.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009703/1.685, allocations: 1.974 MB / 0.6582 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007505/1.693, allocations: 1.254 MB / 0.6594 GB, free: 18.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02931/1.722, allocations: 14.96 MB / 0.674 GB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006988/1.729, allocations: 343.4 kB / 0.6744 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/1.731, allocations: 352 kB / 0.6747 GB, free: 2.719 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (675): * Single equations (assignments): 669 * 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.001881/1.733, allocations: 0.5485 MB / 0.6752 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.734, allocations: 371.2 kB / 0.6756 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/1.747, allocations: 4.055 MB / 0.6796 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.99e-05/1.747, allocations: 27.95 kB / 0.6796 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.747, allocations: 7.938 kB / 0.6796 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.147e-05/1.748, allocations: 11.97 kB / 0.6796 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03039/1.778, allocations: 9.685 MB / 0.6891 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/1.778, allocations: 0 / 0.6891 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.781, allocations: 283.7 kB / 0.6893 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006597/1.787, allocations: 1.218 MB / 0.6905 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004592/1.788, allocations: 36 kB / 0.6905 GB, free: 2.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3773/2.165, allocations: 7.542 MB / 0.6979 GB, free: 99.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/2.165, allocations: 2.219 kB / 0.6979 GB, free: 99.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03018/2.196, allocations: 6.996 MB / 0.7047 GB, free: 99.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/2.197, allocations: 421.4 kB / 0.7052 GB, free: 98.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.198, allocations: 37.84 kB / 0.7052 GB, free: 98.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/2.202, allocations: 114.3 kB / 0.7053 GB, free: 98.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007503/2.203, allocations: 115.4 kB / 0.7054 GB, free: 98.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/2.203, allocations: 54.81 kB / 0.7055 GB, free: 98.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007374/2.21, allocations: 2.55 MB / 0.7079 GB, free: 98.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.172e-06/2.21, allocations: 0 / 0.7079 GB, free: 98.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008076/2.218, allocations: 1.108 MB / 0.709 GB, free: 98.74 MB / 458.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 (147): * Single equations (assignments): 143 * 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.01892/2.237, allocations: 7.938 MB / 0.7168 GB, free: 97.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01376/2.251, allocations: 5.604 MB / 0.7223 GB, free: 96.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.251, allocations: 0 / 0.7223 GB, free: 96.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005573/2.257, allocations: 1.992 MB / 0.7242 GB, free: 96.81 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/2.262, allocations: 0.5255 MB / 0.7247 GB, free: 96.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/2.294, allocations: 9.76 MB / 0.7342 GB, free: 94.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007104/2.301, allocations: 3.54 MB / 0.7377 GB, free: 93.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008417/2.309, allocations: 1.881 MB / 0.7395 GB, free: 93.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004715/2.314, allocations: 2.023 MB / 0.7415 GB, free: 91.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/2.314, allocations: 2.75 kB / 0.7415 GB, free: 91.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/2.554, allocations: 88.66 MB / 0.8281 GB, free: 30.48 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/2.554, allocations: 203.8 kB / 0.8283 GB, free: 30.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.638/8.192, allocations: 0 / 0.8283 GB, free: 30.26 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat