Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.061e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09349, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.521, allocations: 91.95 MB / 391.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5213, allocations: 91.62 kB / 392 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3754/0.8966, allocations: 94.28 MB / 486.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8967, allocations: 0 / 486.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003482/0.8971, allocations: 92 kB / 486.4 MB, free: 13.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.0188/0.9159, allocations: 4.495 MB / 490.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.916, allocations: 11.97 kB / 490.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003681/0.9196, allocations: 0.7863 MB / 491.7 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05081/0.9705, allocations: 6.733 MB / 498.4 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02418/0.9948, allocations: 6.15 MB / 0.4927 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.9953, allocations: 335.8 kB / 0.493 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/0.998, allocations: 443.7 kB / 0.4935 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/1.031, allocations: 10.36 MB / 0.5036 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/1.032, allocations: 67.41 kB / 0.5036 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/1.034, allocations: 212.9 kB / 0.5038 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/1.036, allocations: 1.011 MB / 0.5048 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02751/1.064, allocations: 8.381 MB / 0.513 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.36/1.424, allocations: 46.05 MB / 0.558 GB, free: 53.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.438, allocations: 3.944 MB / 0.5618 GB, free: 52.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00389/1.442, allocations: 2.02 MB / 0.5638 GB, free: 52.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/1.443, allocations: 0.6531 MB / 0.5644 GB, free: 51.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.443, allocations: 54.95 kB / 0.5645 GB, free: 51.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 6.041e-06/1.443, allocations: 0 / 0.5645 GB, free: 51.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.08754/1.531, allocations: 18.84 MB / 0.5829 GB, free: 48.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.531, allocations: 256.3 kB / 0.5831 GB, free: 48.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008508/1.539, allocations: 3.686 MB / 0.5867 GB, free: 48.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005681/1.54, allocations: 56.89 kB / 0.5868 GB, free: 48.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002825/1.543, allocations: 3.131 MB / 0.5899 GB, free: 46.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.544, allocations: 0.7963 MB / 0.5906 GB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008037/1.545, allocations: 118 kB / 0.5907 GB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004257/1.546, allocations: 0.5648 MB / 0.5913 GB, free: 45.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005404/1.551, allocations: 2.201 MB / 0.5934 GB, free: 44.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008165/1.559, allocations: 5.708 MB / 0.599 GB, free: 39.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007849/1.567, allocations: 3.541 MB / 0.6025 GB, free: 38.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/1.567, allocations: 38.38 kB / 0.6025 GB, free: 38.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02786/1.595, allocations: 8.927 MB / 0.6112 GB, free: 35.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.595, allocations: 66.72 kB / 0.6113 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/1.596, allocations: 121.9 kB / 0.6114 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/1.605, allocations: 1.968 MB / 0.6133 GB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00795/1.613, allocations: 1.297 MB / 0.6146 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/1.643, allocations: 14.97 MB / 0.6292 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007317/1.65, allocations: 346.2 kB / 0.6296 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/1.652, allocations: 363.5 kB / 0.6299 GB, free: 26.45 MB / 410.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.00132/1.653, allocations: 0.5592 MB / 0.6304 GB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.654, allocations: 382.7 kB / 0.6308 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.667, allocations: 4.149 MB / 0.6349 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/1.667, allocations: 25.31 kB / 0.6349 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.667, allocations: 11.47 kB / 0.6349 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-05/1.667, allocations: 6.891 kB / 0.6349 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02972/1.697, allocations: 9.954 MB / 0.6446 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-05/1.697, allocations: 0 / 0.6446 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/1.7, allocations: 304.2 kB / 0.6449 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005976/1.706, allocations: 1.22 MB / 0.6461 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004496/1.706, allocations: 40.44 kB / 0.6461 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/1.722, allocations: 7.552 MB / 0.6535 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.722, allocations: 7.469 kB / 0.6535 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/1.739, allocations: 7.159 MB / 0.6605 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.742, allocations: 0.7247 MB / 0.6612 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000796/1.743, allocations: 32.55 kB / 0.6613 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/1.746, allocations: 122.5 kB / 0.6614 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/1.746, allocations: 126.3 kB / 0.6615 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.746, allocations: 48 kB / 0.6615 GB, free: 15.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006341/1.753, allocations: 2.597 MB / 0.6641 GB, free: 12.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.753, allocations: 4 kB / 0.6641 GB, free: 12.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007854/1.761, allocations: 1.143 MB / 0.6652 GB, free: 11.66 MB / 426.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.0204/1.781, allocations: 8.089 MB / 0.6731 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3001/2.081, allocations: 5.716 MB / 0.6787 GB, free: 94.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.081, allocations: 4.125 kB / 0.6787 GB, free: 94.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006551/2.088, allocations: 2.043 MB / 0.6807 GB, free: 94.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004722/2.093, allocations: 0.5263 MB / 0.6812 GB, free: 94.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03476/2.127, allocations: 10.57 MB / 0.6915 GB, free: 92.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006181/2.134, allocations: 3.62 MB / 0.695 GB, free: 92.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005/2.139, allocations: 2.125 MB / 0.6971 GB, free: 92.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/2.139, allocations: 0 / 0.6971 GB, free: 92.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.584/6.723, allocations: 125.8 MB / 0.82 GB, free: 13 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat