Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.427e-05, allocations: 0 / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 50.41 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5742, allocations: 91.97 MB / 434.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.5746, allocations: 82.14 kB / 434.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2771/0.8517, allocations: 58.36 MB / 493.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.641e-06/0.8518, allocations: 7.922 kB / 493.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001591/0.8519, allocations: 44 kB / 493.1 MB, free: 11.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01063/0.8626, allocations: 2.525 MB / 495.6 MB, free: 9.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.8627, allocations: 15.97 kB / 495.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002328/0.865, allocations: 489.8 kB / 496.1 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.8814, allocations: 1.97 MB / 498.1 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.8954, allocations: 3.142 MB / 0.4895 GB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.8958, allocations: 184.6 kB / 0.4897 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.8975, allocations: 231.9 kB / 0.4899 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.9179, allocations: 6.711 MB / 0.4964 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/0.9181, allocations: 47.53 kB / 0.4965 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/0.9193, allocations: 119.9 kB / 0.4966 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.9213, allocations: 0.7228 MB / 0.4973 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.939, allocations: 5.559 MB / 0.5027 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3927/1.332, allocations: 33.36 MB / 0.5353 GB, free: 94.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007956/1.34, allocations: 2.274 MB / 0.5375 GB, free: 93.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/1.342, allocations: 1.022 MB / 0.5385 GB, free: 93.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/1.343, allocations: 16.27 kB / 0.5386 GB, free: 93.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.343, allocations: 37.36 kB / 0.5386 GB, free: 93.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 5.23e-06/1.343, allocations: 1.031 kB / 0.5386 GB, free: 93.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.03788/1.381, allocations: 6.977 MB / 0.5454 GB, free: 91.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.381, allocations: 140.8 kB / 0.5455 GB, free: 91.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009641/1.39, allocations: 2.482 MB / 0.548 GB, free: 91.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003662/1.391, allocations: 37.3 kB / 0.548 GB, free: 91.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002902/1.394, allocations: 2.077 MB / 0.55 GB, free: 90.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.395, allocations: 445.8 kB / 0.5505 GB, free: 90.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007229/1.396, allocations: 86.19 kB / 0.5505 GB, free: 90.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005457/1.396, allocations: 499.5 kB / 0.551 GB, free: 89.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005395/1.402, allocations: 1.356 MB / 0.5523 GB, free: 89.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008209/1.41, allocations: 4.127 MB / 0.5564 GB, free: 86.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/1.417, allocations: 2.369 MB / 0.5587 GB, free: 86.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001846/1.418, allocations: 35.08 kB / 0.5587 GB, free: 86.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.02316/1.441, allocations: 5.682 MB / 0.5643 GB, free: 85.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.441, allocations: 50.31 kB / 0.5643 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.441, allocations: 98.44 kB / 0.5644 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/1.445, allocations: 0.8043 MB / 0.5652 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006146/1.452, allocations: 0.9984 MB / 0.5662 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008747/1.46, allocations: 4.1 MB / 0.5702 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.466, allocations: 284.6 kB / 0.5704 GB, free: 83.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.468, allocations: 277 kB / 0.5707 GB, free: 83.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (531): * Single equations (assignments): 527 * 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.001731/1.469, allocations: 454.5 kB / 0.5711 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007805/1.47, allocations: 232.8 kB / 0.5714 GB, free: 82.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006843/1.477, allocations: 1.839 MB / 0.5732 GB, free: 82.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/1.477, allocations: 14.84 kB / 0.5732 GB, free: 82.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/1.477, allocations: 6.094 kB / 0.5732 GB, free: 82.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/1.477, allocations: 6.438 kB / 0.5732 GB, free: 82.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/1.493, allocations: 4.789 MB / 0.5779 GB, free: 80.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.493, allocations: 2.906 kB / 0.5779 GB, free: 80.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.495, allocations: 137.8 kB / 0.578 GB, free: 80.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/1.498, allocations: 0.6394 MB / 0.5786 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/1.499, allocations: 17.86 kB / 0.5786 GB, free: 80.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007411/1.506, allocations: 3.638 MB / 0.5822 GB, free: 78.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.506, allocations: 0 / 0.5822 GB, free: 78.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009956/1.516, allocations: 3.751 MB / 0.5858 GB, free: 77.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/1.517, allocations: 305.9 kB / 0.5861 GB, free: 76.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009211/1.518, allocations: 19.06 kB / 0.5862 GB, free: 76.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/1.521, allocations: 71.7 kB / 0.5862 GB, free: 76.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/1.521, allocations: 59.67 kB / 0.5863 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.521, allocations: 31.62 kB / 0.5863 GB, free: 76.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004345/1.526, allocations: 1.719 MB / 0.588 GB, free: 76.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.526, allocations: 0 / 0.588 GB, free: 76.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005762/1.532, allocations: 0.6452 MB / 0.5886 GB, free: 76.04 MB / 442.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.01049/1.542, allocations: 4.688 MB / 0.5932 GB, free: 73.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007801/1.55, allocations: 3.194 MB / 0.5963 GB, free: 72.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.55, allocations: 0 / 0.5963 GB, free: 72.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/1.552, allocations: 0.9111 MB / 0.5972 GB, free: 71.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.555, allocations: 232.3 kB / 0.5974 GB, free: 71.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/1.573, allocations: 5.239 MB / 0.6025 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/1.577, allocations: 2.238 MB / 0.6047 GB, free: 65.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00621/1.584, allocations: 1.405 MB / 0.6061 GB, free: 64.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/1.586, allocations: 1.047 MB / 0.6071 GB, free: 63.42 MB / 442.7 MB Notification: Performance of SimCode: time 2.685e-06/1.586, allocations: 0 / 0.6071 GB, free: 63.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.703, allocations: 48.51 MB / 0.6545 GB, free: 18.69 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/1.704, allocations: 182.8 kB / 0.6547 GB, free: 18.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/5.746, allocations: 0 / 0.6547 GB, free: 18.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat