Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.832/1.832, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.976e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 38.78 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.4137, allocations: 80.93 MB / 344.8 MB, free: 8.754 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.4141, allocations: 87.94 kB / 344.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5327/0.9468, allocations: 82.47 MB / 427.4 MB, free: 46.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.9469, allocations: 0 / 427.4 MB, free: 46.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002169/0.9471, allocations: 72 kB / 427.4 MB, free: 46.05 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: 1298 * Number of variables: 1298 Notification: Performance of Generate backend data structure: time 0.01468/0.9618, allocations: 3.96 MB / 431.4 MB, free: 42.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9619, allocations: 12.03 kB / 431.4 MB, free: 42.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/0.964, allocations: 0.6516 MB / 432.1 MB, free: 41.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04817/1.012, allocations: 6.621 MB / 438.7 MB, free: 34.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/1.032, allocations: 5.82 MB / 444.5 MB, free: 28.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/1.032, allocations: 267 kB / 444.8 MB, free: 28.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/1.034, allocations: 359.7 kB / 445.1 MB, free: 28.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/1.056, allocations: 8.986 MB / 454.1 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/1.056, allocations: 59.52 kB / 454.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009884/1.057, allocations: 171.9 kB / 454.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/1.059, allocations: 0.8884 MB / 455.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/1.08, allocations: 7.323 MB / 462.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3763/1.456, allocations: 42.18 MB / 0.4929 GB, free: 74.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/1.476, allocations: 3.709 MB / 0.4965 GB, free: 73.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005258/1.481, allocations: 1.941 MB / 0.4984 GB, free: 73.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/1.482, allocations: 333.7 kB / 0.4987 GB, free: 73.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/1.482, allocations: 54.12 kB / 0.4988 GB, free: 73.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 6.392e-06/1.482, allocations: 0 / 0.4988 GB, free: 73.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=189): time 0.08173/1.564, allocations: 17.19 MB / 0.5156 GB, free: 70.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.564, allocations: 254.6 kB / 0.5158 GB, free: 70.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/1.571, allocations: 3.424 MB / 0.5191 GB, free: 69.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004984/1.571, allocations: 54.95 kB / 0.5192 GB, free: 69.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002391/1.574, allocations: 2.819 MB / 0.522 GB, free: 68.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.575, allocations: 0.7225 MB / 0.5227 GB, free: 68.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/1.575, allocations: 111.6 kB / 0.5228 GB, free: 68.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003282/1.576, allocations: 0.5294 MB / 0.5233 GB, free: 67.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/1.58, allocations: 2.04 MB / 0.5253 GB, free: 66.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006239/1.586, allocations: 5.222 MB / 0.5304 GB, free: 61.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/1.593, allocations: 3.265 MB / 0.5336 GB, free: 61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.571e-05/1.593, allocations: 35.62 kB / 0.5336 GB, free: 61 MB / 346.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.022/1.615, allocations: 7.994 MB / 0.5414 GB, free: 58.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/1.615, allocations: 53.47 kB / 0.5415 GB, free: 58.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.615, allocations: 111.4 kB / 0.5416 GB, free: 58.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006289/1.622, allocations: 1.385 MB / 0.5429 GB, free: 58.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007352/1.629, allocations: 1.226 MB / 0.5441 GB, free: 58.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/1.646, allocations: 8.401 MB / 0.5523 GB, free: 50.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006517/1.653, allocations: 313.4 kB / 0.5526 GB, free: 50.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.654, allocations: 331.1 kB / 0.5529 GB, free: 50.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 27 (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 (650): * Single equations (assignments): 646 * 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 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.655, allocations: 0.5098 MB / 0.5534 GB, free: 49.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/1.656, allocations: 356.9 kB / 0.5538 GB, free: 49.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.668, allocations: 3.883 MB / 0.5576 GB, free: 46.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/1.668, allocations: 22.72 kB / 0.5576 GB, free: 46.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.668, allocations: 11.75 kB / 0.5576 GB, free: 46.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/1.668, allocations: 13.09 kB / 0.5576 GB, free: 46.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/1.691, allocations: 8.885 MB / 0.5663 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.691, allocations: 0 / 0.5663 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/1.694, allocations: 263.4 kB / 0.5665 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005928/1.7, allocations: 1.209 MB / 0.5677 GB, free: 37.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/1.7, allocations: 33.78 kB / 0.5677 GB, free: 37.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/1.716, allocations: 7.548 MB / 0.5751 GB, free: 31.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.716, allocations: 10.12 kB / 0.5751 GB, free: 31.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.732, allocations: 6.761 MB / 0.5817 GB, free: 25.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/1.734, allocations: 0.6722 MB / 0.5824 GB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006671/1.735, allocations: 35.2 kB / 0.5824 GB, free: 24.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/1.737, allocations: 116.2 kB / 0.5825 GB, free: 24.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/1.738, allocations: 105.2 kB / 0.5826 GB, free: 24.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.738, allocations: 51.06 kB / 0.5827 GB, free: 24.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00491/1.743, allocations: 2.42 MB / 0.585 GB, free: 22 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.743, allocations: 0 / 0.585 GB, free: 22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006317/1.749, allocations: 0.9905 MB / 0.586 GB, free: 21.01 MB / 346.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 (135): * Single equations (assignments): 131 * 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.01678/1.766, allocations: 7.698 MB / 0.5935 GB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.778, allocations: 4.944 MB / 0.5984 GB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.778, allocations: 0 / 0.5984 GB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00522/1.783, allocations: 1.92 MB / 0.6002 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/1.787, allocations: 456.1 kB / 0.6007 GB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/1.813, allocations: 8.788 MB / 0.6092 GB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005966/1.819, allocations: 3.165 MB / 0.6123 GB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008265/1.827, allocations: 1.82 MB / 0.6141 GB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004288/1.832, allocations: 1.761 MB / 0.6158 GB, free: 6.406 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/1.832, allocations: 0 / 0.6158 GB, free: 6.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4663/2.298, allocations: 78.48 MB / 0.6925 GB, free: 50.13 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/2.298, allocations: 193 kB / 0.6927 GB, free: 49.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.112/7.411, allocations: 0 / 0.6927 GB, free: 49.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat