Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.718/1.718, allocations: 171.3 MB / 178.4 MB, free: 148 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.093e-05, allocations: 4 kB / 219.6 MB, free: 6.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2564, allocations: 38.77 MB / 258.4 MB, free: 12.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.4048, allocations: 85.52 MB / 343.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.4052, allocations: 79.95 kB / 344 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5995/1.005, allocations: 92.42 MB / 436.4 MB, free: 39.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.245e-06/1.005, allocations: 0 / 436.4 MB, free: 39.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003194/1.005, allocations: 91.98 kB / 436.5 MB, free: 39.17 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.01719/1.022, allocations: 4.492 MB / 441 MB, free: 34.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.022, allocations: 12.03 kB / 441 MB, free: 34.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04688/1.069, allocations: 6.725 MB / 447.7 MB, free: 27.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/1.091, allocations: 6.146 MB / 453.8 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/1.091, allocations: 147.9 kB / 454 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/1.093, allocations: 263.9 kB / 454.2 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01443/1.108, allocations: 6.194 MB / 460.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/1.129, allocations: 9.439 MB / 469.9 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/1.129, allocations: 67.38 kB / 469.9 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/1.131, allocations: 28 kB / 470 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001967/1.133, allocations: 1.011 MB / 471 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3303/1.463, allocations: 44.05 MB / 0.503 GB, free: 50.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/1.469, allocations: 3.197 MB / 0.5061 GB, free: 50.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/1.472, allocations: 1.983 MB / 0.508 GB, free: 50 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/1.473, allocations: 0.6503 MB / 0.5087 GB, free: 49.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.473, allocations: 49.53 kB / 0.5087 GB, free: 49.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 5.08e-06/1.473, allocations: 0 / 0.5087 GB, free: 49.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.061/1.534, allocations: 18.36 MB / 0.5266 GB, free: 46.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/1.534, allocations: 252.7 kB / 0.5269 GB, free: 46.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006383/1.54, allocations: 3.237 MB / 0.53 GB, free: 45.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004993/1.541, allocations: 29.64 kB / 0.5301 GB, free: 45.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002619/1.544, allocations: 3.301 MB / 0.5333 GB, free: 44.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.545, allocations: 0.7721 MB / 0.534 GB, free: 43.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000634/1.545, allocations: 5.328 kB / 0.534 GB, free: 43.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003784/1.546, allocations: 0.5662 MB / 0.5346 GB, free: 43.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.551, allocations: 2.135 MB / 0.5367 GB, free: 42.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007028/1.558, allocations: 5.796 MB / 0.5423 GB, free: 36.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00805/1.566, allocations: 3.487 MB / 0.5457 GB, free: 35.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/1.566, allocations: 39.19 kB / 0.5458 GB, free: 35.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.03928/1.605, allocations: 8.768 MB / 0.5543 GB, free: 33.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/1.605, allocations: 58.19 kB / 0.5544 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/1.606, allocations: 132.8 kB / 0.5545 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009472/1.615, allocations: 1.951 MB / 0.5564 GB, free: 32.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00761/1.623, allocations: 1.344 MB / 0.5577 GB, free: 31.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/1.651, allocations: 14.12 MB / 0.5715 GB, free: 18.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.662, allocations: 235.7 kB / 0.5718 GB, free: 18.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/1.664, allocations: 378.9 kB / 0.5721 GB, free: 18.24 MB / 346.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.001617/1.665, allocations: 426.9 kB / 0.5725 GB, free: 17.82 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01699/1.682, allocations: 4.254 MB / 0.5767 GB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.684, allocations: 359 kB / 0.577 GB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.7, allocations: 3.995 MB / 0.5809 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/1.7, allocations: 24 kB / 0.5809 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.7, allocations: 4 kB / 0.581 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.421e-05/1.7, allocations: 14.64 kB / 0.581 GB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/1.732, allocations: 9.001 MB / 0.5898 GB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.045e-05/1.732, allocations: 4 kB / 0.5898 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004308/1.736, allocations: 301.6 kB / 0.59 GB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008288/1.744, allocations: 1.185 MB / 0.5912 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000465/1.745, allocations: 11.14 kB / 0.5912 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.763, allocations: 7.139 MB / 0.5982 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.763, allocations: 3.938 kB / 0.5982 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.78, allocations: 6.988 MB / 0.605 GB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/1.783, allocations: 0.6913 MB / 0.6057 GB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007891/1.784, allocations: 4 kB / 0.6057 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.786, allocations: 92.06 kB / 0.6058 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005459/1.787, allocations: 120.8 kB / 0.6059 GB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/1.787, allocations: 63.38 kB / 0.606 GB, free: 5.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0049/1.792, allocations: 2.196 MB / 0.6081 GB, free: 3.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.792, allocations: 3.844 kB / 0.6081 GB, free: 3.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007574/1.8, allocations: 0.9791 MB / 0.6091 GB, free: 2.477 MB / 362.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.0187/1.818, allocations: 7.887 MB / 0.6168 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01569/1.834, allocations: 5.767 MB / 0.6224 GB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.834, allocations: 0 / 0.6224 GB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00597/1.84, allocations: 2.01 MB / 0.6244 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.845, allocations: 450.7 kB / 0.6248 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/1.88, allocations: 9.799 MB / 0.6344 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008815/1.889, allocations: 3.62 MB / 0.6379 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009885/1.899, allocations: 1.958 MB / 0.6398 GB, free: 2.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005643/1.904, allocations: 2.065 MB / 0.6418 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/1.904, allocations: 0 / 0.6418 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4795/2.384, allocations: 84.91 MB / 0.7247 GB, free: 69.81 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/2.384, allocations: 166.5 kB / 0.7249 GB, free: 69.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.165/7.55, allocations: 0 / 0.7249 GB, free: 69.61 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat