Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.657e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09832, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5384, allocations: 97.6 MB / 414.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.5387, allocations: 93.19 kB / 414.7 MB, free: 6.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4031/0.9419, allocations: 94.84 MB / 0.4976 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.942, allocations: 0 / 0.4976 GB, free: 14.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003674/0.9423, allocations: 92 kB / 0.4977 GB, free: 14.27 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01933/0.9617, allocations: 4.503 MB / 0.5021 GB, free: 9.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.9618, allocations: 8.031 kB / 0.5021 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003781/0.9655, allocations: 0.7948 MB / 0.5029 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05151/1.017, allocations: 6.725 MB / 0.5094 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3189/1.336, allocations: 6.174 MB / 0.5155 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004764/1.337, allocations: 326.9 kB / 0.5158 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/1.339, allocations: 442.7 kB / 0.5162 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0322/1.371, allocations: 10.39 MB / 0.5264 GB, free: 90.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003005/1.372, allocations: 64.14 kB / 0.5264 GB, free: 90.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001641/1.373, allocations: 210.7 kB / 0.5266 GB, free: 90.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/1.376, allocations: 1.008 MB / 0.5276 GB, free: 90.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/1.4, allocations: 8.387 MB / 0.5358 GB, free: 90.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06769/1.468, allocations: 46.16 MB / 0.5809 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/1.482, allocations: 3.954 MB / 0.5847 GB, free: 58.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/1.486, allocations: 2.013 MB / 0.5867 GB, free: 57.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008776/1.487, allocations: 0.6537 MB / 0.5873 GB, free: 57.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.487, allocations: 51.38 kB / 0.5874 GB, free: 57.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=175): time 5.731e-06/1.487, allocations: 0 / 0.5874 GB, free: 57.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=210): time 0.08688/1.574, allocations: 18.85 MB / 0.6058 GB, free: 50.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/1.574, allocations: 256.3 kB / 0.606 GB, free: 50.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008396/1.583, allocations: 3.727 MB / 0.6097 GB, free: 48.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005436/1.583, allocations: 54.48 kB / 0.6097 GB, free: 48.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002801/1.586, allocations: 3.254 MB / 0.6129 GB, free: 45.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.587, allocations: 0.796 MB / 0.6137 GB, free: 44.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006936/1.588, allocations: 120.9 kB / 0.6138 GB, free: 44.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003536/1.588, allocations: 0.5595 MB / 0.6144 GB, free: 44.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.593, allocations: 2.213 MB / 0.6165 GB, free: 42.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/1.601, allocations: 5.726 MB / 0.6221 GB, free: 35.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007497/1.608, allocations: 3.546 MB / 0.6256 GB, free: 32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.608, allocations: 36 kB / 0.6256 GB, free: 31.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02689/1.635, allocations: 9.106 MB / 0.6345 GB, free: 24.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/1.635, allocations: 60 kB / 0.6346 GB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.636, allocations: 128 kB / 0.6347 GB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009732/1.645, allocations: 1.973 MB / 0.6366 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007678/1.653, allocations: 1.302 MB / 0.6379 GB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/1.682, allocations: 14.96 MB / 0.6525 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/1.689, allocations: 347.4 kB / 0.6528 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.691, allocations: 358.3 kB / 0.6532 GB, free: 7.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (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 (697): * Single equations (assignments): 691 * 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.001377/1.692, allocations: 0.5617 MB / 0.6537 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009685/1.693, allocations: 390.9 kB / 0.6541 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.706, allocations: 4.168 MB / 0.6581 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/1.706, allocations: 20.55 kB / 0.6582 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/1.706, allocations: 11.95 kB / 0.6582 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-05/1.706, allocations: 10.17 kB / 0.6582 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/1.737, allocations: 9.989 MB / 0.6679 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/1.737, allocations: 0 / 0.6679 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003066/1.74, allocations: 303.6 kB / 0.6682 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006664/1.747, allocations: 1.208 MB / 0.6694 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004809/1.747, allocations: 36 kB / 0.6694 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/1.766, allocations: 7.552 MB / 0.6768 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.766, allocations: 4 kB / 0.6768 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3166/2.083, allocations: 7.164 MB / 0.6838 GB, free: 96.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002925/2.086, allocations: 0.7265 MB / 0.6845 GB, free: 96.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/2.087, allocations: 34.33 kB / 0.6846 GB, free: 96.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/2.091, allocations: 120.3 kB / 0.6847 GB, free: 96.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/2.092, allocations: 127.1 kB / 0.6848 GB, free: 96.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/2.092, allocations: 52.97 kB / 0.6849 GB, free: 96.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007961/2.1, allocations: 2.615 MB / 0.6874 GB, free: 96.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.1, allocations: 1.203 kB / 0.6874 GB, free: 96.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008245/2.108, allocations: 1.142 MB / 0.6885 GB, free: 96.62 MB / 442.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.01927/2.128, allocations: 8.101 MB / 0.6964 GB, free: 95.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0128/2.14, allocations: 5.714 MB / 0.702 GB, free: 94.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/2.14, allocations: 0 / 0.702 GB, free: 94.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005225/2.146, allocations: 2.047 MB / 0.704 GB, free: 94.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/2.15, allocations: 0.5274 MB / 0.7045 GB, free: 94.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/2.183, allocations: 10.08 MB / 0.7144 GB, free: 92.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007212/2.19, allocations: 3.627 MB / 0.7179 GB, free: 92.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008518/2.198, allocations: 1.933 MB / 0.7198 GB, free: 92.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004647/2.203, allocations: 2.088 MB / 0.7218 GB, free: 92.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/2.203, allocations: 6.906 kB / 0.7218 GB, free: 92.03 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1957/2.399, allocations: 90.81 MB / 0.8105 GB, free: 30.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/2.399, allocations: 199.7 kB / 0.8107 GB, free: 30.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.787/8.186, allocations: 0 / 0.8107 GB, free: 30.48 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat