Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.942e-05, allocations: 4 kB / 292.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/0.7109, allocations: 98.74 MB / 441.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.7113, allocations: 89.19 kB / 442 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3958/1.107, allocations: 93.67 MB / 0.5231 GB, free: 1.688 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.107, allocations: 0 / 0.5231 GB, free: 1.688 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000397/1.108, allocations: 87.98 kB / 0.5232 GB, free: 1.602 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.3231/1.431, allocations: 4.395 MB / 0.5275 GB, free: 95.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.431, allocations: 10.27 kB / 0.5275 GB, free: 95.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003986/1.435, allocations: 0.7647 MB / 0.5282 GB, free: 95.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05131/1.486, allocations: 6.709 MB / 0.5348 GB, free: 95.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02412/1.51, allocations: 5.812 MB / 0.5405 GB, free: 95.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005712/1.511, allocations: 318.3 kB / 0.5408 GB, free: 95.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/1.514, allocations: 430.1 kB / 0.5412 GB, free: 95.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/1.545, allocations: 10.09 MB / 0.551 GB, free: 92.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003496/1.545, allocations: 62.55 kB / 0.5511 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001918/1.547, allocations: 208.6 kB / 0.5513 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/1.549, allocations: 0.9738 MB / 0.5522 GB, free: 92.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/1.573, allocations: 8.112 MB / 0.5602 GB, free: 92.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06952/1.643, allocations: 45.14 MB / 0.6042 GB, free: 60.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/1.662, allocations: 3.837 MB / 0.608 GB, free: 59.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01297/1.675, allocations: 1.968 MB / 0.6099 GB, free: 58.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.677, allocations: 0.6487 MB / 0.6105 GB, free: 57.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/1.677, allocations: 58.62 kB / 0.6106 GB, free: 57.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 9.047e-06/1.677, allocations: 3.281 kB / 0.6106 GB, free: 57.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.1214/1.798, allocations: 18.45 MB / 0.6286 GB, free: 47.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.798, allocations: 256.6 kB / 0.6289 GB, free: 47.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008777/1.807, allocations: 3.622 MB / 0.6324 GB, free: 44.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005914/1.808, allocations: 61.64 kB / 0.6325 GB, free: 44.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002919/1.811, allocations: 3.17 MB / 0.6356 GB, free: 41.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.812, allocations: 0.7641 MB / 0.6363 GB, free: 40.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008354/1.813, allocations: 116 kB / 0.6364 GB, free: 40.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004351/1.813, allocations: 0.5516 MB / 0.6369 GB, free: 40.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005364/1.819, allocations: 2.153 MB / 0.639 GB, free: 38.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007711/1.827, allocations: 5.591 MB / 0.6445 GB, free: 31.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007618/1.834, allocations: 3.467 MB / 0.6479 GB, free: 28.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.834, allocations: 36 kB / 0.6479 GB, free: 28.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02742/1.862, allocations: 8.903 MB / 0.6566 GB, free: 20.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/1.862, allocations: 63.95 kB / 0.6567 GB, free: 20.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/1.862, allocations: 120 kB / 0.6568 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009916/1.872, allocations: 1.963 MB / 0.6587 GB, free: 19.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007613/1.88, allocations: 1.256 MB / 0.6599 GB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02988/1.91, allocations: 14.97 MB / 0.6746 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007277/1.917, allocations: 339.4 kB / 0.6749 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.919, allocations: 355.4 kB / 0.6752 GB, free: 2.57 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.001776/1.92, allocations: 0.5566 MB / 0.6758 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.921, allocations: 371.2 kB / 0.6761 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/1.935, allocations: 4.048 MB / 0.6801 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/1.935, allocations: 31.7 kB / 0.6801 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/1.935, allocations: 8 kB / 0.6801 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-05/1.936, allocations: 7.969 kB / 0.6801 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/1.967, allocations: 9.687 MB / 0.6896 GB, free: 3.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/1.967, allocations: 4 kB / 0.6896 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/1.97, allocations: 275.6 kB / 0.6899 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006633/1.977, allocations: 1.226 MB / 0.691 GB, free: 2.293 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004401/1.977, allocations: 28 kB / 0.6911 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3426/2.32, allocations: 7.539 MB / 0.6984 GB, free: 99.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/2.32, allocations: 6.031 kB / 0.6984 GB, free: 99.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/2.34, allocations: 6.995 MB / 0.7053 GB, free: 98.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/2.341, allocations: 428.5 kB / 0.7057 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/2.343, allocations: 34.56 kB / 0.7057 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/2.346, allocations: 120.5 kB / 0.7058 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000644/2.347, allocations: 118 kB / 0.7059 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/2.347, allocations: 53.59 kB / 0.706 GB, free: 98.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007289/2.354, allocations: 2.546 MB / 0.7085 GB, free: 98.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.12e-07/2.354, allocations: 0 / 0.7085 GB, free: 98.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008073/2.362, allocations: 1.113 MB / 0.7096 GB, free: 98.59 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.01914/2.382, allocations: 7.928 MB / 0.7173 GB, free: 97.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0131/2.395, allocations: 5.596 MB / 0.7228 GB, free: 96.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/2.395, allocations: 0 / 0.7228 GB, free: 96.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005429/2.4, allocations: 1.993 MB / 0.7247 GB, free: 96.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/2.405, allocations: 0.5296 MB / 0.7252 GB, free: 96.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/2.436, allocations: 9.752 MB / 0.7348 GB, free: 94.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007133/2.444, allocations: 3.536 MB / 0.7382 GB, free: 93.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008541/2.452, allocations: 1.883 MB / 0.7401 GB, free: 93.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005125/2.457, allocations: 2.024 MB / 0.742 GB, free: 91.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.793e-06/2.457, allocations: 0 / 0.742 GB, free: 91.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/2.669, allocations: 88.67 MB / 0.8286 GB, free: 30.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/2.669, allocations: 203.8 kB / 0.8288 GB, free: 29.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.052/8.721, allocations: 0 / 0.8288 GB, free: 29.98 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat