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.666/1.666, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.033e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 38.77 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4248, allocations: 86.19 MB / 350 MB, free: 3.504 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.4252, allocations: 87.95 kB / 350.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6071/1.032, allocations: 94.22 MB / 444.3 MB, free: 29.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.032, allocations: 0 / 444.3 MB, free: 29.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003234/1.033, allocations: 88 kB / 444.4 MB, free: 29.28 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.01699/1.05, allocations: 4.499 MB / 448.9 MB, free: 24.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.05, allocations: 15.97 kB / 448.9 MB, free: 24.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003241/1.053, allocations: 0.783 MB / 449.7 MB, free: 23.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04801/1.101, allocations: 6.729 MB / 456.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02128/1.122, allocations: 6.146 MB / 462.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/1.123, allocations: 332.6 kB / 462.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/1.125, allocations: 439.8 kB / 463.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/1.153, allocations: 10.42 MB / 473.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002852/1.153, allocations: 63.38 kB / 473.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/1.155, allocations: 211.8 kB / 474.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002454/1.157, allocations: 1.011 MB / 475.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/1.185, allocations: 8.545 MB / 483.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3307/1.516, allocations: 46.03 MB / 0.5172 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/1.53, allocations: 3.972 MB / 0.5211 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/1.534, allocations: 2.02 MB / 0.5231 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009298/1.535, allocations: 0.6487 MB / 0.5237 GB, free: 37.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.535, allocations: 53.12 kB / 0.5238 GB, free: 37.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 5.169e-06/1.535, allocations: 0 / 0.5238 GB, free: 37.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.08605/1.621, allocations: 18.84 MB / 0.5422 GB, free: 33.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.622, allocations: 256.1 kB / 0.5424 GB, free: 33.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008129/1.63, allocations: 3.691 MB / 0.546 GB, free: 33.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005405/1.63, allocations: 55.42 kB / 0.5461 GB, free: 33.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.633, allocations: 3.245 MB / 0.5492 GB, free: 31.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.634, allocations: 0.7956 MB / 0.55 GB, free: 31.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006701/1.635, allocations: 119.9 kB / 0.5501 GB, free: 31.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003539/1.636, allocations: 0.5556 MB / 0.5507 GB, free: 30.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005257/1.641, allocations: 2.214 MB / 0.5528 GB, free: 30.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.649, allocations: 5.738 MB / 0.5584 GB, free: 24.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008521/1.657, allocations: 3.542 MB / 0.5619 GB, free: 23.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001928/1.658, allocations: 36.5 kB / 0.5619 GB, free: 23.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0443/1.702, allocations: 9.415 MB / 0.5711 GB, free: 20.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.702, allocations: 64.03 kB / 0.5712 GB, free: 20.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002656/1.702, allocations: 124 kB / 0.5713 GB, free: 20.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/1.718, allocations: 1.984 MB / 0.5732 GB, free: 18.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009219/1.727, allocations: 1.288 MB / 0.5745 GB, free: 17.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02965/1.757, allocations: 14.96 MB / 0.5891 GB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007045/1.764, allocations: 344.5 kB / 0.5894 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.766, allocations: 357.8 kB / 0.5898 GB, free: 3.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * 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 (694): * Single equations (assignments): 688 * 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.002016/1.768, allocations: 0.5615 MB / 0.5903 GB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009911/1.769, allocations: 383 kB / 0.5907 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.784, allocations: 4.301 MB / 0.5949 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/1.784, allocations: 20 kB / 0.5949 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/1.784, allocations: 8 kB / 0.5949 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/1.785, allocations: 9.797 kB / 0.5949 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03203/1.817, allocations: 9.954 MB / 0.6046 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/1.817, allocations: 7.844 kB / 0.6047 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003075/1.82, allocations: 303.9 kB / 0.6049 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006817/1.827, allocations: 1.217 MB / 0.6061 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004857/1.827, allocations: 45.67 kB / 0.6062 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/1.846, allocations: 7.541 MB / 0.6135 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.846, allocations: 4 kB / 0.6135 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/1.867, allocations: 7.169 MB / 0.6205 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.87, allocations: 0.7302 MB / 0.6213 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009681/1.871, allocations: 36 kB / 0.6213 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.874, allocations: 115.8 kB / 0.6214 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006485/1.875, allocations: 125.1 kB / 0.6215 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/1.875, allocations: 51.98 kB / 0.6216 GB, free: 7.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006646/1.882, allocations: 2.598 MB / 0.6241 GB, free: 4.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.882, allocations: 4 kB / 0.6241 GB, free: 4.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007522/1.889, allocations: 1.138 MB / 0.6252 GB, free: 3.715 MB / 378.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.2823/2.172, allocations: 8.093 MB / 0.6331 GB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/2.185, allocations: 5.91 MB / 0.6389 GB, free: 91.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.185, allocations: 0 / 0.6389 GB, free: 91.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/2.19, allocations: 2.081 MB / 0.6409 GB, free: 91.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/2.195, allocations: 0.5247 MB / 0.6414 GB, free: 91.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/2.224, allocations: 10.06 MB / 0.6513 GB, free: 89.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006019/2.23, allocations: 3.613 MB / 0.6548 GB, free: 88.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007979/2.238, allocations: 1.929 MB / 0.6567 GB, free: 88.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004084/2.243, allocations: 2.078 MB / 0.6587 GB, free: 88.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/2.243, allocations: 0 / 0.6587 GB, free: 88.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/2.432, allocations: 91.1 MB / 0.7477 GB, free: 21.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/2.432, allocations: 204.6 kB / 0.7479 GB, free: 20.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.412/7.844, allocations: 8 kB / 0.7479 GB, free: 20.95 MB / 378.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