Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.822/1.822, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.033e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 38.77 MB / 263.9 MB, free: 9.73 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.4279, allocations: 78.99 MB / 342.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.4283, allocations: 87.94 kB / 342.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4641/0.8924, allocations: 56.75 MB / 399.7 MB, free: 73.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8924, allocations: 0 / 399.7 MB, free: 73.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.997e-05/0.8926, allocations: 44 kB / 399.7 MB, free: 73.3 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: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.008843/0.9014, allocations: 2.521 MB / 402.3 MB, free: 70.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.9015, allocations: 15.97 kB / 402.3 MB, free: 70.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001431/0.9029, allocations: 488.2 kB / 402.8 MB, free: 70.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.9178, allocations: 1.966 MB / 404.7 MB, free: 68.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.9297, allocations: 3.26 MB / 408 MB, free: 65.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.9299, allocations: 178.5 kB / 408.2 MB, free: 64.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.9311, allocations: 238.2 kB / 408.4 MB, free: 64.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.9464, allocations: 6.705 MB / 415.1 MB, free: 57.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.9466, allocations: 43.61 kB / 415.1 MB, free: 57.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006567/0.9473, allocations: 124.9 kB / 415.3 MB, free: 57.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.9487, allocations: 0.7072 MB / 416 MB, free: 56.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.9634, allocations: 5.561 MB / 421.5 MB, free: 50.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04111/1.005, allocations: 33.29 MB / 454.8 MB, free: 16.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006773/1.011, allocations: 2.278 MB / 457.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/1.013, allocations: 1.007 MB / 458.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/1.013, allocations: 11.98 kB / 458.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.013, allocations: 51.12 kB / 458.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 4.238e-06/1.013, allocations: 3.938 kB / 458.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.02533/1.039, allocations: 7.009 MB / 465.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.039, allocations: 144.5 kB / 465.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/1.044, allocations: 2.478 MB / 467.8 MB, free: 3.082 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002723/1.044, allocations: 41.7 kB / 467.8 MB, free: 3.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/1.045, allocations: 2.052 MB / 469.9 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/1.046, allocations: 442.6 kB / 470.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.046, allocations: 88 kB / 470.4 MB, free: 440 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000311/1.046, allocations: 495.5 kB / 470.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/1.05, allocations: 1.356 MB / 472.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006502/1.057, allocations: 4.104 MB / 476.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006002/1.063, allocations: 2.358 MB / 478.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.593e-05/1.063, allocations: 28 kB / 478.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01887/1.082, allocations: 5.666 MB / 484.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.744e-05/1.082, allocations: 48 kB / 484.4 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/1.082, allocations: 100 kB / 484.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/1.086, allocations: 0.8086 MB / 485.3 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.092, allocations: 0.9903 MB / 486.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009461/1.102, allocations: 4.098 MB / 490.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005252/1.107, allocations: 283.6 kB / 490.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.108, allocations: 272 kB / 491 MB, free: 10.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 (528): * Single equations (assignments): 524 * 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.001055/1.109, allocations: 446.4 kB / 491.4 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/1.11, allocations: 229 kB / 491.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006953/1.117, allocations: 1.837 MB / 493.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/1.117, allocations: 15.98 kB / 493.5 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/1.117, allocations: 7.938 kB / 493.5 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/1.117, allocations: 7.984 kB / 493.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.133, allocations: 4.793 MB / 498.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.133, allocations: 0 / 498.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.134, allocations: 139.8 kB / 498.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0038/1.138, allocations: 0.637 MB / 499.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/1.138, allocations: 16 kB / 499.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2426/1.381, allocations: 3.638 MB / 0.4909 GB, free: 92.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.381, allocations: 1.75 kB / 0.4909 GB, free: 92.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008751/1.39, allocations: 3.747 MB / 0.4946 GB, free: 92.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.391, allocations: 449.8 kB / 0.495 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/1.392, allocations: 17.94 kB / 0.4951 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.393, allocations: 71.72 kB / 0.4951 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.393, allocations: 52.66 kB / 0.4952 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.394, allocations: 32.67 kB / 0.4952 GB, free: 92.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003356/1.397, allocations: 1.713 MB / 0.4969 GB, free: 92.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.397, allocations: 0 / 0.4969 GB, free: 92.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004371/1.401, allocations: 0.6475 MB / 0.4975 GB, free: 92.2 MB / 346.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.008905/1.41, allocations: 4.678 MB / 0.5021 GB, free: 90.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006973/1.417, allocations: 3.195 MB / 0.5052 GB, free: 90.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.417, allocations: 0 / 0.5052 GB, free: 90.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.419, allocations: 0.9003 MB / 0.5061 GB, free: 90.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.421, allocations: 237.6 kB / 0.5063 GB, free: 90.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.435, allocations: 5.239 MB / 0.5114 GB, free: 88.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/1.437, allocations: 2.233 MB / 0.5136 GB, free: 87.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005343/1.443, allocations: 1.391 MB / 0.515 GB, free: 87.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/1.445, allocations: 1.044 MB / 0.516 GB, free: 86.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/1.445, allocations: 0 / 0.516 GB, free: 86.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.554, allocations: 48.25 MB / 0.5631 GB, free: 47.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.554, allocations: 186.6 kB / 0.5633 GB, free: 47.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.81/5.364, allocations: 0 / 0.5633 GB, free: 47.3 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat