Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.826e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3716, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5259, allocations: 84.05 MB / 378.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/0.5263, allocations: 83.94 kB / 378.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5237/1.05, allocations: 55.85 MB / 434.2 MB, free: 90.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.05, allocations: 0 / 434.2 MB, free: 90.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001291/1.05, allocations: 46.33 kB / 434.3 MB, free: 90.94 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.009543/1.06, allocations: 2.523 MB / 436.8 MB, free: 89.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/1.06, allocations: 11.75 kB / 436.8 MB, free: 89.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/1.075, allocations: 1.967 MB / 438.8 MB, free: 89.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/1.087, allocations: 3.273 MB / 442 MB, free: 89.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/1.088, allocations: 75 kB / 442.1 MB, free: 89.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/1.089, allocations: 144.1 kB / 442.2 MB, free: 89.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009568/1.099, allocations: 3.911 MB / 446.2 MB, free: 89.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/1.113, allocations: 6.183 MB / 452.3 MB, free: 86.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/1.113, allocations: 41.47 kB / 452.4 MB, free: 86.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006667/1.114, allocations: 23.59 kB / 452.4 MB, free: 86.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001495/1.115, allocations: 0.7099 MB / 453.1 MB, free: 86.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04175/1.157, allocations: 31.96 MB / 485.1 MB, free: 60.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/1.161, allocations: 2.017 MB / 487.1 MB, free: 58.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/1.163, allocations: 0.989 MB / 488.1 MB, free: 57.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.163, allocations: 20.38 kB / 488.1 MB, free: 57.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.163, allocations: 46.06 kB / 488.1 MB, free: 57.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 5.421e-06/1.163, allocations: 0 / 488.1 MB, free: 57.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.02493/1.188, allocations: 8.179 MB / 496.3 MB, free: 49.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/1.188, allocations: 144.5 kB / 496.5 MB, free: 48.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/1.192, allocations: 2.151 MB / 498.6 MB, free: 46.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/1.193, allocations: 29.7 kB / 498.6 MB, free: 46.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/1.194, allocations: 2.12 MB / 0.489 GB, free: 44.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007283/1.195, allocations: 426.6 kB / 0.4894 GB, free: 44.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/1.196, allocations: 0 / 0.4894 GB, free: 44.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004349/1.196, allocations: 0.5476 MB / 0.49 GB, free: 43.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/1.199, allocations: 1.305 MB / 0.4912 GB, free: 42.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004976/1.204, allocations: 4.208 MB / 0.4954 GB, free: 36.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/1.21, allocations: 2.338 MB / 0.4976 GB, free: 34.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-05/1.21, allocations: 32 kB / 0.4977 GB, free: 34.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.0167/1.226, allocations: 5.477 MB / 0.503 GB, free: 28.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/1.227, allocations: 56.05 kB / 0.5031 GB, free: 28.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/1.227, allocations: 107.9 kB / 0.5032 GB, free: 28.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/1.231, allocations: 0.81 MB / 0.504 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006064/1.237, allocations: 1.041 MB / 0.505 GB, free: 26.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/1.245, allocations: 3.962 MB / 0.5089 GB, free: 22.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/1.25, allocations: 199.6 kB / 0.509 GB, free: 22.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.251, allocations: 288 kB / 0.5093 GB, free: 22.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (552): * Single equations (assignments): 548 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001249/1.253, allocations: 362.8 kB / 0.5097 GB, free: 21.77 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007092/1.26, allocations: 2.199 MB / 0.5118 GB, free: 19.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007782/1.261, allocations: 209.3 kB / 0.512 GB, free: 19.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/1.267, allocations: 1.773 MB / 0.5137 GB, free: 17.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-05/1.267, allocations: 15.94 kB / 0.5138 GB, free: 17.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.267, allocations: 4 kB / 0.5138 GB, free: 17.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/1.267, allocations: 7.984 kB / 0.5138 GB, free: 17.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.28, allocations: 4.309 MB / 0.518 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.28, allocations: 3.938 kB / 0.518 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.282, allocations: 143.7 kB / 0.5181 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/1.285, allocations: 0.6366 MB / 0.5187 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/1.286, allocations: 4 kB / 0.5187 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006855/1.292, allocations: 3.51 MB / 0.5222 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.292, allocations: 0 / 0.5222 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009065/1.302, allocations: 3.671 MB / 0.5258 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.303, allocations: 418.1 kB / 0.5262 GB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005789/1.304, allocations: 12 kB / 0.5262 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.305, allocations: 59.89 kB / 0.5262 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/1.306, allocations: 51.88 kB / 0.5263 GB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.306, allocations: 32 kB / 0.5263 GB, free: 4.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00292/1.309, allocations: 1.419 MB / 0.5277 GB, free: 3.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.723e-06/1.309, allocations: 0 / 0.5277 GB, free: 3.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005229/1.314, allocations: 0.5508 MB / 0.5282 GB, free: 2.461 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/1.324, allocations: 4.597 MB / 0.5327 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008352/1.333, allocations: 3.171 MB / 0.5358 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.333, allocations: 0 / 0.5358 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.335, allocations: 0.8877 MB / 0.5367 GB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.337, allocations: 192 kB / 0.5369 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/1.356, allocations: 5.083 MB / 0.5418 GB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/1.361, allocations: 2.232 MB / 0.544 GB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006929/1.368, allocations: 1.441 MB / 0.5454 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00312/1.371, allocations: 1.053 MB / 0.5464 GB, free: 15.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/1.371, allocations: 0 / 0.5464 GB, free: 15.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4086/1.779, allocations: 44.86 MB / 0.5902 GB, free: 105.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.78, allocations: 148.1 kB / 0.5904 GB, free: 105.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/5.626, allocations: 0 / 0.5904 GB, free: 105.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat